18 #ifndef itkSpatialObjectReader_h
19 #define itkSpatialObjectReader_h
33 template <
unsigned int VDimension = 3,
34 typename PixelType =
unsigned char,
35 typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
68 itkSetStringMacro(FileName);
71 itkGetStringMacro(FileName);
77 return m_SpatialObject;
86 if (m_Group ==
nullptr)
88 if (m_SpatialObject->GetTypeName() ==
"GroupSpatialObject")
90 m_Group = static_cast<GroupType *>(m_SpatialObject.GetPointer());
95 m_Group->AddChild(m_SpatialObject);
106 return m_MetaToSpatialConverter->GetEvent();
112 m_MetaToSpatialConverter->SetEvent(event);
117 RegisterMetaConverter(
const char * metaTypeName,
118 const char * spatialObjectTypeName,
119 MetaConverterBaseType * converter);
136 #ifndef ITK_MANUAL_INSTANTIATION
137 # include "itkSpatialObjectReader.hxx"
140 #endif // itkSpatialObjectReader_h