18 #ifndef __itkSceneSpatialObject_h
19 #define __itkSceneSpatialObject_h
37 template<
unsigned int TSpaceDimension = 3 >
75 char *name = ITK_NULLPTR);
80 char *name = ITK_NULLPTR);
127 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "itkSceneSpatialObject.hxx"
138 #endif // __SceneSpatialObject_h
void AddSpatialObject(SpatialObject< TSpaceDimension > *pointer)
SpatialObject< TSpaceDimension > SpatialObjectType
Superclass::Pointer SuperclassPointer
void operator=(const Self &)
Light weight base class for most itk classes.
virtual ModifiedTimeType GetMTime(void) const ITK_OVERRIDE
unsigned int GetNumberOfObjects(unsigned int depth=MaximumDepth, char *name=ITK_NULLPTR)
void SetParentId(int parentid)
unsigned long ModifiedTimeType
ObjectListType * GetObjects(unsigned int depth=MaximumDepth, char *name=ITK_NULLPTR)
void SetObjects(ObjectListType &children)
SpatialObjectType::Pointer SpatialObjectPointer
a SceneSpatialObject has a list of SpatialObjects
void RemoveSpatialObject(SpatialObject< TSpaceDimension > *object)
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
SceneSpatialObject< TSpaceDimension > Self
virtual ~SceneSpatialObject()
Implementation of the composite pattern.
std::list< SpatialObjectPointer > ObjectListType
static const unsigned int MaximumDepth
SpatialObject< TSpaceDimension > * GetObjectById(int Id)
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
SpatialObject< TSpaceDimension > ObjectType
Base class for most ITK classes.
bool CheckIdValidity(void)
SmartPointer< Self > Pointer