IGSTK
|
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. | |
![]() | |
igstkLoadedObjectEventMacro (BoundingBoxEvent, IGSTKEvent, BoundingBoxType) | |
void | RequestGetBounds () |
void | RequestGetBounds () const |
![]() | |
virtual const char * | GetNameOfClass () const |
void | SetLogger (LoggerType *logger) |
Connect the Logger for this class. | |
void | RemoveObserver (unsigned long tag) const |
Public Attributes | |
igstkStandardClassTraitsMacro(TubeObject, SpatialObject) public typedef TubeSpatialObjectType::TubePointType | PointType |
Macro with standard traits declarations. | |
![]() | |
igstkStandardClassTraitsMacro(SpatialObject, Object) public typedef SpatialObjectType::BoundingBoxType | BoundingBoxType |
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. | |
![]() | |
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(). | |
SpatialObjectType * | GetInternalSpatialObject () const |
Returns the ITK spatial object that is contained inside this IGSTK spatial object. | |
![]() | |
LoggerType * | GetLogger () const |
Object (void) | |
Constructor is protected in order to enforce the use of the New() operator. | |
virtual | ~Object (void) |
void | RegisterObservedObject (const ::igstk::Object *object, unsigned long tag) |
Register observed objects in an internal array so that they can be disconnected upon destruction. | |
void | RemoveFromObservedObjects () |
Remove observers that this object may have connected to other objects. |
Additional Inherited Members | |
![]() | |
static Pointer | New (void) |
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.
|
protected |
The TubeReaderToTubeSpatialObject class is declared as a friend in order to be able to set the input mesh.
Constructor
|
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.
|
protectedvirtual |
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.