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.
void SetParentId(int parentid)
virtual void PrintSelf(std::ostream &os, Indent indent) const override
unsigned int GetNumberOfObjects(unsigned int depth=MaximumDepth, char *name=nullptr)
unsigned long ModifiedTimeType
void SetObjects(ObjectListType &children)
SpatialObjectType::Pointer SpatialObjectPointer
a SceneSpatialObject has a list of SpatialObjects
void RemoveSpatialObject(SpatialObject< TSpaceDimension > *object)
SceneSpatialObject< TSpaceDimension > Self
virtual ~SceneSpatialObject()
Implementation of the composite pattern.
std::list< SpatialObjectPointer > ObjectListType
static const unsigned int MaximumDepth
ObjectListType * GetObjects(unsigned int depth=MaximumDepth, char *name=nullptr)
SpatialObject< TSpaceDimension > * GetObjectById(int Id)
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
SpatialObject< TSpaceDimension > ObjectType
Base class for most ITK classes.
virtual ModifiedTimeType GetMTime(void) const override
SmartPointer< Self > Pointer