IGSTK
|
Geometrical abstraction of physical objects present in the surgical scene. More...
#include <igstkSpatialObject.h>
Public Member Functions | |
igstkLoadedObjectEventMacro (BoundingBoxEvent, IGSTKEvent, BoundingBoxType) | |
void | RequestGetBounds () |
void | RequestGetBounds () const |
Public Attributes | |
igstkStandardClassTraitsMacro(SpatialObject, Object) public typedef SpatialObjectType::BoundingBoxType | BoundingBoxType |
Macro with standard traits declarations. | |
Protected Member Functions | |
SpatialObject (void) | |
The constructor of this class is declared protected to enforce the use of SmartPointers syntax when instantiating objects of this class. | |
~SpatialObject (void) | |
The destructor should be overriden in derived classes that allocate memory for member variables. | |
void | RequestSetInternalSpatialObject (SpatialObjectType *object) |
Replacement for RequestSetSpatialObject(). | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. | |
SpatialObjectType * | GetInternalSpatialObject () const |
Returns the ITK spatial object that is contained inside this IGSTK spatial object. |
Geometrical abstraction of physical objects present in the surgical scene.
This class is intended to describe objects in the surgical scenario. Subclasses of this class will be used for representing, for example, surgical instruments such as needles, catheters and guide wires; as well as pre-operative and intra-operative images.
This class encapsulates an ITK spatial object with the goal of restricting access to functionalities that are not essential for IGS applications, or to functionalities thay may present risks and unnecessary flexibility. This is an abstract class, you should use the derived classes that represent specific shapes.
Definition at line 57 of file igstkSpatialObject.h.
igstk::SpatialObject::SpatialObject | ( | void | ) | [protected] |
The constructor of this class is declared protected to enforce the use of SmartPointers syntax when instantiating objects of this class.
This constructor will be called indirectly by the ::New() method. It will initialize the internal state machine of this class.
igstk::SpatialObject::~SpatialObject | ( | void | ) | [protected] |
The destructor should be overriden in derived classes that allocate memory for member variables.
igstk::SpatialObject::igstkLoadedObjectEventMacro | ( | BoundingBoxEvent | , |
IGSTKEvent | , | ||
BoundingBoxType | |||
) |
void igstk::SpatialObject::RequestGetBounds | ( | ) |
void igstk::SpatialObject::RequestGetBounds | ( | ) | const |
void igstk::SpatialObject::RequestSetInternalSpatialObject | ( | SpatialObjectType * | object | ) | [protected] |
Replacement for RequestSetSpatialObject().
Internal is added to the name to clarify that this is used with the ITK spatial object as argument
virtual void igstk::SpatialObject::PrintSelf | ( | std::ostream & | os, |
itk::Indent | indent | ||
) | const [protected, virtual] |
Print the object information in a stream.
Reimplemented from igstk::Object.
Reimplemented in igstk::AxesObject, igstk::BoxObject, igstk::ConeObject, igstk::CrossHairSpatialObject, igstk::CTImageSpatialObject, igstk::CylinderObject, igstk::EllipsoidObject, igstk::GroupObject, igstk::ImageSpatialObject< TPixelType, TDimension >, igstk::MeshObject, igstk::MRImageSpatialObject, igstk::PETImageSpatialObject, igstk::ReslicerPlaneSpatialObject, igstk::ToolProjectionSpatialObject, igstk::TubeObject, igstk::UltrasoundProbeObject, igstk::USImageObject, igstk::ImageSpatialObject< unsigned short, 3 >, igstk::ImageSpatialObject< float, 3 >, igstk::ImageSpatialObject< unsigned char, 3 >, and igstk::ImageSpatialObject< signed short, 3 >.
SpatialObjectType* igstk::SpatialObject::GetInternalSpatialObject | ( | ) | const [protected] |
Returns the ITK spatial object that is contained inside this IGSTK spatial object.
igstkStandardClassTraitsMacro ( SpatialObject, Object ) public typedef SpatialObjectType::BoundingBoxType igstk::SpatialObject::BoundingBoxType |
Macro with standard traits declarations.
Typedefs
Reimplemented in igstk::CrossHairSpatialObject.
Definition at line 63 of file igstkSpatialObject.h.