18 #ifndef itkSceneSpatialObject_h 19 #define itkSceneSpatialObject_h 37 template<
unsigned int TSpaceDimension = 3 >
75 char *name = ITK_NULLPTR);
80 char *name = ITK_NULLPTR);
114 void operator=(
const Self &) ITK_DELETE_FUNCTION;
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
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual ModifiedTimeType GetMTime(void) const override
void operator=(const Self &) ITK_DELETE_FUNCTION
void SetParentId(int parentid)
unsigned int GetNumberOfObjects(unsigned int depth=MaximumDepth, char *name=nullptr)
unsigned long ModifiedTimeType
void SetObjects(ObjectListType &children)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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.
SmartPointer< Self > Pointer