18 #ifndef __igstkCrossHairObjectRepresentation_h
19 #define __igstkCrossHairObjectRepresentation_h
79 virtual
void PrintSelf( std::ostream& os, itk::Indent indent ) const;
91 void operator=(const Self&);
94 virtual
void UpdateRepresentationProcessing();
98 void SetCrossHairObjectProcessing();
105 igstkObserverMacro( CrossHairPosition, PointEvent,
106 igstk::EventHelperType::PointType );
108 CrossHairPositionObserver::
Pointer m_CrossHairPositionObserver;
112 double m_ImageBounds[6];
114 vtkLineSource* m_LineSourceX;
115 vtkLineSource* m_LineSourceY;
116 vtkLineSource* m_LineSourceZ;
118 vtkProperty* m_LineProperty;
123 igstkDeclareInputMacro( ValidCrossHairObject );
124 igstkDeclareInputMacro( NullCrossHairObject );
127 igstkDeclareStateMacro( NullCrossHairObject );
128 igstkDeclareStateMacro( ValidCrossHairObject );
129 igstkDeclareStateMacro( ValidReslicePlaneSpatialObject );
131 CrossHairPointerType m_CrossHairSpatialObjectToAdd;
132 CrossHairPointerType m_CrossHairSpatialObject;
140 #endif // __igstkCrossHairObjectRepresentation_h
void RequestSetCrossHairObject(const CrossHairType *crossHairObject)
Connect this representation class to the spatial object.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
#define igstkGetMacro(name, type)
Get built-in type.
Base class for all the IGSTK classes.
virtual void SetVisibility(bool visible)
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
This class provides a visual representation of a CrossHairSpatialObject.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
This class represents a cross hair spatial object.
::itk::SmartPointer< Self > Pointer
virtual bool VerifyTimeStamp() const
Verify time stamp.
void SetLineWidth(double LineWidth)
Set/Get line width.
CrossHairType::PointType PointType
igstkStandardClassTraitsMacro(CrossHairObjectRepresentation, ObjectRepresentation) public typedef CrossHairType::Pointer CrossHairPointerType
Macro with standard traits declarations.
Pointer Copy() const
Return a copy of the current object representation.
An abstract base class for all the igstk representation objects.
void CreateActors()
Create the VTK actors.