18 #ifndef __igstkMeshResliceObjectRepresentation_h
19 #define __igstkMeshResliceObjectRepresentation_h
87 virtual
void PrintSelf( std::ostream& os, itk::Indent indent ) const;
107 igstkObserverMacro( ReslicerPlaneCenter,
108 ReslicerPlaneType::ReslicerPlaneCenterEvent,
109 ReslicerPlaneType::VectorType);
111 ReslicerPlaneCenterObserver::
Pointer m_ReslicerPlaneCenterObserver;
113 igstkObserverMacro( ReslicerPlaneNormal,
114 ReslicerPlaneType::ReslicerPlaneNormalEvent,
115 ReslicerPlaneType::VectorType);
117 ReslicerPlaneNormalObserver::
Pointer m_ReslicerPlaneNormalObserver;
120 virtual
void UpdateRepresentationProcessing();
124 void SetMeshObjectProcessing();
130 void SetReslicePlaneSpatialObjectProcessing();
135 igstkDeclareInputMacro( ValidMeshObject );
136 igstkDeclareInputMacro( NullMeshObject );
137 igstkDeclareInputMacro( ValidReslicePlaneSpatialObject );
138 igstkDeclareInputMacro( InValidReslicePlaneSpatialObject );
140 igstkDeclareInputMacro( EmptyImageSpatialObject );
144 igstkDeclareStateMacro( NullMeshObject );
145 igstkDeclareStateMacro( ValidMeshObject );
146 igstkDeclareStateMacro( ValidReslicePlaneSpatialObject );
153 ReslicerPlanePointerType m_ReslicePlaneSpatialObjectToBeSet;
154 ReslicerPlanePointerType m_ReslicePlaneSpatialObject;
159 vtkProperty* m_ContourProperty;
167 #endif // __igstkMeshResliceObjectRepresentation_h
Implements the 3-dimensional mesh structure.
#define igstkGetMacro(name, type)
Get built-in type.
void RequestSetMeshObject(const MeshObjectType *MeshObject)
Connect this representation class to the spatial object.
ReslicerPlaneType::VectorType VectorType
ReslicerPlaneType::Pointer ReslicerPlanePointerType
void CreateActors()
Create the VTK actors.
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
This class represents a Mesh object.
::itk::SmartPointer< Self > Pointer
void SetLineWidth(double LineWidth)
Set/Get line width.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
Pointer Copy() const
Return a copy of the current object representation.
igstkStandardClassTraitsMacro(MeshResliceObjectRepresentation, ObjectRepresentation) public typedef MeshObjectType::PointType PointType
Macro with standard traits declarations.
void RequestSetReslicePlaneSpatialObject(const ReslicerPlaneType *planeSpatialObject)
Sets the reslicer plane.
::itk::SmartPointer< const Self > ConstPointer
An abstract base class for all the igstk representation objects.
virtual bool VerifyTimeStamp() const
Verify time stamp.
This class generates reslicing plane equation.
void SetVisibility(bool visibility)
Sets visibility.