18 #ifndef itkSpatialObjectWriter_h
19 #define itkSpatialObjectWriter_h
32 template <
unsigned int VDimension = 3,
33 typename PixelType =
unsigned char,
34 typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
68 itkSetStringMacro(FileName);
71 itkGetStringMacro(FileName);
77 m_SpatialObject = input;
80 itkSetMacro(BinaryPoints,
bool);
81 itkGetConstMacro(BinaryPoints,
bool);
82 itkBooleanMacro(BinaryPoints);
90 SetMetaIOVersion(
unsigned int ver);
92 GetMetaIOVersion(
void)
const;
95 SetTransformPrecision(
unsigned int precision);
98 GetTransformPrecision();
101 itkSetMacro(WriteImagesInSeparateFile,
bool);
102 itkGetConstMacro(WriteImagesInSeparateFile,
bool);
103 itkBooleanMacro(WriteImagesInSeparateFile);
108 RegisterMetaConverter(
const char * metaTypeName,
109 const char * spatialObjectTypeName,
110 MetaConverterBaseType * converter);
113 std::string m_FileName{};
114 bool m_BinaryPoints{};
115 bool m_WriteImagesInSeparateFile{};
127 #ifndef ITK_MANUAL_INSTANTIATION
128 # include "itkSpatialObjectWriter.hxx"
131 #endif // itkSpatialObjectWriter_h