18 #ifndef __itkMetaSceneConverter_h
19 #define __itkMetaSceneConverter_h
21 #include "metaScene.h"
41 template<
unsigned int NDimensions,
42 typename PixelType =
unsigned char,
43 typename TMeshTraits =
44 DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >
70 char *spatialObjectTypeName = ITK_NULLPTR);
99 const char *spatialObjectTypeName,
104 char *name = ITK_NULLPTR);
116 template <
typename TConverter>
119 typename TConverter::Pointer converter = TConverter::New();
122 return converter->SpatialObjectToMetaObject(so.
GetPointer());
124 template <
typename TConverter>
127 typename TConverter::Pointer converter = TConverter::New();
128 return converter->MetaObjectToSpatialObject(mo);
146 #ifndef ITK_MANUAL_INSTANTIATION
147 #include "itkMetaSceneConverter.hxx"
ObjectType * GetPointer() const
a SceneSpatialObject has a list of SpatialObjects
Implementation of the composite pattern.