IGSTK
Public Types | Public Member Functions | Protected Member Functions | List of all members
igstk::CylinderObject Class Reference

This class represents a cylinder object. More...

#include <igstkCylinderObject.h>

Inheritance diagram for igstk::CylinderObject:
Inheritance graph
[legend]
Collaboration diagram for igstk::CylinderObject:
Collaboration graph
[legend]

Public Types

typedef itk::CylinderSpatialObject CylinderSpatialObjectType
 Macro with standard traits declarations. More...
 
- Public Types inherited from igstk::SpatialObject
typedef itk::SpatialObject< 3 > SpatialObjectType
 Macro with standard traits declarations. More...
 
typedef
SpatialObjectType::BoundingBoxType 
BoundingBoxType
 
- Public Types inherited from igstk::Object
typedef Object Self
 General Typedefs. More...
 
typedef ::itk::Object Superclass
 
typedef ::itk::SmartPointer< SelfPointer
 
typedef ::itk::SmartPointer
< const Self
ConstPointer
 
typedef igstk::Logger LoggerType
 

Public Member Functions

void SetRadius (double radius)
 Set the radius of the Cylinder. More...
 
double GetRadius () const
 Get the radius of the Cylinder. More...
 
void SetHeight (double height)
 Set the height of the Cylinder. More...
 
double GetHeight () const
 Get the height of the Cylinder. More...
 
- Public Member Functions inherited from igstk::SpatialObject
 igstkLoadedObjectEventMacro (BoundingBoxEvent, IGSTKEvent, BoundingBoxType)
 
void RequestGetBounds ()
 
void RequestGetBounds () const
 
- Public Member Functions inherited from igstk::Object
virtual const char * GetNameOfClass () const
 
void SetLogger (LoggerType *logger)
 Connect the Logger for this class. More...
 
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. More...
 
- Protected Member Functions inherited from igstk::SpatialObject
 SpatialObject (void)
 The constructor of this class is declared protected to enforce the use of SmartPointers syntax when instantiating objects of this class. More...
 
 ~SpatialObject (void)
 The destructor should be overriden in derived classes that allocate memory for member variables. More...
 
void RequestSetInternalSpatialObject (SpatialObjectType *object)
 Replacement for RequestSetSpatialObject(). More...
 
SpatialObjectTypeGetInternalSpatialObject () const
 Returns the ITK spatial object that is contained inside this IGSTK spatial object. More...
 
- Protected Member Functions inherited from igstk::Object
LoggerTypeGetLogger () const
 
 Object (void)
 Constructor is protected in order to enforce the use of the New() operator. More...
 
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. More...
 
void RemoveFromObservedObjects ()
 Remove observers that this object may have connected to other objects. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from igstk::Object
static Pointer New (void)
 

Detailed Description

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.

Member Typedef Documentation

typedef itk::CylinderSpatialObject igstk::CylinderObject::CylinderSpatialObjectType

Macro with standard traits declarations.

Typedefs

Definition at line 49 of file igstkCylinderObject.h.

Constructor & Destructor Documentation

igstk::CylinderObject::CylinderObject ( void  )
protected
igstk::CylinderObject::~CylinderObject ( void  )
protected

Member Function Documentation

void igstk::CylinderObject::SetRadius ( double  radius)

Set the radius of the Cylinder.

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.

virtual void igstk::CylinderObject::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Print object information.

Reimplemented from igstk::SpatialObject.


The documentation for this class was generated from the following file: