18 #ifndef __igstkTubeObject_h
19 #define __igstkTubeObject_h
23 #include <itkTubeSpatialObject.h>
30 class TubeReaderToTubeSpatialObject;
55 typedef TubeSpatialObjectType::TubePointType
PointType;
86 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
94 TubeSpatialObjectType::Pointer m_TubeSpatialObject;
100 #endif // __igstkTubeObject_h
void Clear(void)
Remove all the points in the list.
~TubeObject(void)
Destructor.
#define igstkFriendClassMacro(type)
Create a Macro for friend class.
unsigned int GetNumberOfPoints(void) const
Return the number of points in the tube.
itk::TubeSpatialObject< 3 > TubeSpatialObjectType
Macro with standard traits declarations.
Geometrical abstraction of physical objects present in the surgical scene.
const PointListType GetPoints() const
Return the internal list of points.
#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 Tube object.
This class is intended to make the connection between the TubeReader and its output, the TubeSpatialObject.
TubeSpatialObjectType::TubePointType PointType
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
TubeSpatialObjectType::PointListType PointListType
const PointType * GetPoint(unsigned int pointId) const
Return a given point.
TubeObject(void)
The TubeReaderToTubeSpatialObject class is declared as a friend in order to be able to set the input ...
void AddPoint(PointType &point)
Add a point to the tube.