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>>
80 const std::string & fileName,
81 unsigned int depth = SpatialObjectType::MaximumDepth,
82 const std::string & soName =
"");
88 itkSetMacro(BinaryPoints,
bool);
89 itkGetConstMacro(BinaryPoints,
bool);
90 itkBooleanMacro(BinaryPoints);
94 itkSetMacro(TransformPrecision,
unsigned int);
95 itkGetMacro(TransformPrecision,
unsigned int);
99 itkSetMacro(WriteImagesInSeparateFile,
bool);
100 itkGetConstMacro(WriteImagesInSeparateFile,
bool);
101 itkBooleanMacro(WriteImagesInSeparateFile);
112 const std::string & spatialObjectTypeName,
121 unsigned int depth = SpatialObjectType::MaximumDepth,
122 const std::string & name =
"");
136 template <
typename TConverter>
142 converter->SetWriteImagesInSeparateFile(this->m_WriteImagesInSeparateFile);
143 return converter->SpatialObjectToMetaObject(so);
145 template <
typename TConverter>
150 return converter->MetaObjectToSpatialObject(mo);
158 double m_Orientation[100]{};
159 double m_Position[10]{};
160 double m_CenterOfRotation[10]{};
163 bool m_BinaryPoints{};
164 bool m_WriteImagesInSeparateFile{};
165 unsigned int m_TransformPrecision{};
170#ifndef ITK_MANUAL_INSTANTIATION
171# 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....