This class represents a Tube object. More...
#include <igstkTubeObject.h>
Public Types | |
typedef TubeSpatialObjectType::PointListType | PointListType |
Public Member Functions | |
void | AddPoint (PointType &point) |
Add a point to the tube. | |
unsigned int | GetNumberOfPoints (void) const |
Return the number of points in the tube. | |
const PointType * | GetPoint (unsigned int pointId) const |
Return a given point. | |
const PointListType | GetPoints () const |
Return the internal list of points. | |
void | Clear (void) |
Remove all the points in the list. | |
Public Attributes | |
igstkStandardClassTraitsMacro(TubeObject, SpatialObject) public typedef TubeSpatialObjectType::TubePointType | PointType |
Macro with standard traits declarations. | |
Protected Member Functions | |
TubeObject (void) | |
The TubeReaderToTubeSpatialObject class is declared as a friend in order to be able to set the input mesh. | |
~TubeObject (void) | |
Destructor. | |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. |
This class represents a Tube object.
The tube is basically defined by a set of points representing its centerline. Each point as a position and an associated radius value.
Definition at line 42 of file igstkTubeObject.h.
typedef TubeSpatialObjectType::PointListType igstk::TubeObject::PointListType |
Definition at line 56 of file igstkTubeObject.h.
igstk::TubeObject::TubeObject | ( | void | ) | [protected] |
The TubeReaderToTubeSpatialObject class is declared as a friend in order to be able to set the input mesh.
Constructor
igstk::TubeObject::~TubeObject | ( | void | ) | [protected] |
Destructor.
void igstk::TubeObject::AddPoint | ( | PointType & | point | ) |
Add a point to the tube.
unsigned int igstk::TubeObject::GetNumberOfPoints | ( | void | ) | const |
Return the number of points in the tube.
const PointType* igstk::TubeObject::GetPoint | ( | unsigned int | pointId | ) | const |
Return a given point.
const PointListType igstk::TubeObject::GetPoints | ( | ) | const |
Return the internal list of points.
void igstk::TubeObject::Clear | ( | void | ) |
Remove all the points in the list.
virtual void igstk::TubeObject::PrintSelf | ( | std::ostream & | os, | |
itk::Indent | indent | |||
) | const [protected, virtual] |
Print object information.
Reimplemented from igstk::SpatialObject.
igstkStandardClassTraitsMacro ( TubeObject, SpatialObject ) public typedef TubeSpatialObjectType::TubePointType igstk::TubeObject::PointType |
Macro with standard traits declarations.
Internal typedef
Definition at line 49 of file igstkTubeObject.h.