IGSTK
|
This class represents a Box object. More...
#include <igstkBoxObject.h>
Public Member Functions | |
virtual void | SetSize (ArrayType _arg) |
Set the size given an array. More... | |
virtual ArrayType | GetSize () |
Get the size as an array. More... | |
double | GetSizeX () const |
Get size of the X axis. More... | |
double | GetSizeY () const |
Get size of the Y axis. More... | |
double | GetSizeZ () const |
Get size of the Z axis. More... | |
![]() | |
igstkLoadedObjectEventMacro (BoundingBoxEvent, IGSTKEvent, BoundingBoxType) | |
void | RequestGetBounds () |
void | RequestGetBounds () const |
![]() | |
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 | |
BoxObject (void) | |
~BoxObject (void) | |
BoxObject (const Self &) | |
void | operator= (const Self &) |
virtual void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print object information. More... | |
![]() | |
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... | |
SpatialObjectType * | GetInternalSpatialObject () const |
Returns the ITK spatial object that is contained inside this IGSTK spatial object. More... | |
![]() | |
LoggerType * | GetLogger () 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 | |
![]() | |
typedef Object | Self |
General Typedefs. More... | |
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. More... | |
This class represents a Box object.
The parameters of the object are the height of the object, and the radius. Default representation axis is Z.
Definition at line 39 of file igstkBoxObject.h.
|
protected |
|
protected |
|
protected |
|
virtual |
Set the size given an array.
|
virtual |
Get the size as an array.
double igstk::BoxObject::GetSizeX | ( | ) | const |
Get size of the X axis.
double igstk::BoxObject::GetSizeY | ( | ) | const |
Get size of the Y axis.
double igstk::BoxObject::GetSizeZ | ( | ) | const |
Get size of the Z axis.
|
protected |
|
protectedvirtual |
Print object information.
Reimplemented from igstk::SpatialObject.