IGSTK
|
This class represents a cylinder object. More...
#include <igstkCylinderObject.h>
Public Member Functions | |
double | GetRadius () const |
Get the radius of the Cylinder. | |
void | SetHeight (double height) |
Set the height of the Cylinder. | |
double | GetHeight () const |
Get the height of the Cylinder. | |
![]() | |
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 |
Protected Member Functions | |
CylinderObject (void) | |
~CylinderObject (void) | |
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 | |
![]() | |
typedef Object | Self |
General Typedefs. | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
typedef ::itk::SmartPointer < const Self > | ConstPointer |
typedef igstk::Logger | LoggerType |
![]() | |
static Pointer | New (void) |
![]() | |
igstkStandardClassTraitsMacro(SpatialObject, Object) public typedef SpatialObjectType::BoundingBoxType | BoundingBoxType |
Macro with standard traits declarations. |
This class represents a cylinder object.
The parameters of the object are the height of the object, and the radius. Default representation axis is X.
Definition at line 37 of file igstkCylinderObject.h.
|
protected |
|
protected |
double igstk::CylinderObject::GetRadius | ( | ) | const |
Get the radius of the Cylinder.
void igstk::CylinderObject::SetHeight | ( | double | height | ) |
Set the height of the Cylinder.
double igstk::CylinderObject::GetHeight | ( | ) | const |
Get the height of the Cylinder.
|
protectedvirtual |
Print object information.
Reimplemented from igstk::SpatialObject.