18 #ifndef __igstkBoxObject_h
19 #define __igstkBoxObject_h
23 #include <itkGroupSpatialObject.h>
24 #include <itkFixedArray.h>
51 typedef itk::FixedArray<double,3> ArrayType;
54 void SetSize(
double x,
double y,
double z);
80 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
85 typedef itk::GroupSpatialObject<3> BoxSpatialObjectType;
87 BoxSpatialObjectType::Pointer m_BoxSpatialObject;
94 #endif // __igstkBoxObject_h
#define igstkGetMacro(name, type)
Get built-in type.
This class represents a Box object.
Geometrical abstraction of physical objects present in the surgical scene.
double GetSizeY() const
Get size of the Y axis.
Base class for all the IGSTK classes.
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
double GetSizeX() const
Get size of the X axis.
void operator=(const Self &)
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
double GetSizeZ() const
Get size of the Z axis.
virtual void SetSize(ArrayType _arg)
Set the size given an array.
#define igstkSetMacro(name, type)
Set built-in type.