18 #ifndef __igstkSpatialObject_h
19 #define __igstkSpatialObject_h
22 #include "itkSpatialObject.h"
97 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
106 SpatialObjectType::Pointer m_SpatialObject;
107 SpatialObjectType::Pointer m_SpatialObjectToBeSet;
109 void ReportBoundsProcessing();
110 void ReportBoundsNotAvailableProcessing();
113 igstkDeclareInputMacro( InternalSpatialObjectNull );
114 igstkDeclareInputMacro( InternalSpatialObjectValid );
115 igstkDeclareInputMacro( RequestBounds );
118 igstkDeclareStateMacro( Initial );
119 igstkDeclareStateMacro( Ready );
122 void SetInternalSpatialObjectProcessing();
126 void ReportSpatialObjectNullProcessing();
130 igstkCoordinateSystemClassInterfaceMacro();
147 #endif // __igstkSpatialObject_h
igstkLoadedObjectEventMacro(SpatialObjectModifiedEvent, IGSTKEvent, SpatialObject)
Event to be invoked when the state of the SpatialObject changes.
Geometrical abstraction of physical objects present in the surgical scene.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print the object information in a stream.
Base class for all the IGSTK classes.
void RequestSetInternalSpatialObject(SpatialObjectType *object)
Replacement for RequestSetSpatialObject().
igstkEventMacro(AuroraTrackerToolEvent, StringEvent)
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
itk::SpatialObject< 3 > SpatialObjectType
Macro with standard traits declarations.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
SpatialObject(void)
The constructor of this class is declared protected to enforce the use of SmartPointers syntax when i...
SpatialObjectType::BoundingBoxType BoundingBoxType
~SpatialObject(void)
The destructor should be overriden in derived classes that allocate memory for member variables...
igstkLoadedObjectEventMacro(BoundingBoxEvent, IGSTKEvent, BoundingBoxType)
SpatialObjectType * GetInternalSpatialObject() const
Returns the ITK spatial object that is contained inside this IGSTK spatial object.