18#ifndef itkMetaSceneConverter_h
19#define itkMetaSceneConverter_h
45template <
unsigned int VDimension = 3,
46 typename PixelType =
unsigned char,
47 typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
79 itkSetMacro(MetaIOVersion,
unsigned int);
80 itkGetConstMacro(MetaIOVersion,
unsigned int);
90 const std::string & fileName,
91 unsigned int depth = SpatialObjectType::MaximumDepth,
92 const std::string & soName =
"");
98 itkSetMacro(BinaryPoints,
bool);
99 itkGetConstMacro(BinaryPoints,
bool);
100 itkBooleanMacro(BinaryPoints);
104 itkSetMacro(TransformPrecision,
unsigned int);
105 itkGetMacro(TransformPrecision,
unsigned int);
109 itkSetMacro(WriteImagesInSeparateFile,
bool);
110 itkGetConstMacro(WriteImagesInSeparateFile,
bool);
111 itkBooleanMacro(WriteImagesInSeparateFile);
122 const std::string & spatialObjectTypeName,
131 unsigned int depth = SpatialObjectType::MaximumDepth,
132 const std::string & name =
"");
146 template <
typename TConverter>
152 converter->SetMetaIOVersion(m_MetaIOVersion);
153 converter->SetWriteImagesInSeparateFile(this->m_WriteImagesInSeparateFile);
154 return converter->SpatialObjectToMetaObject(so);
156 template <
typename TConverter>
161 converter->SetMetaIOVersion(m_MetaIOVersion);
162 return converter->MetaObjectToSpatialObject(mo);
171 bool m_BinaryPoints{};
172 bool m_WriteImagesInSeparateFile{};
173 unsigned int m_TransformPrecision{};
175 unsigned int m_MetaIOVersion{ 0 };
179#ifndef ITK_MANUAL_INSTANTIATION
180# include "itkMetaSceneConverter.hxx"
Light weight base class for most itk classes.
Base class for most ITK classes.
Implementation of the composite pattern.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....