18#ifndef itkSpatialObjectWriter_h
19#define itkSpatialObjectWriter_h
32template <
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);
101 itkSetMacro(WriteImagesInSeparateFile,
bool);
102 itkGetConstMacro(WriteImagesInSeparateFile,
bool);
103 itkBooleanMacro(WriteImagesInSeparateFile);
109 const char * spatialObjectTypeName,
113 std::string m_FileName{};
114 bool m_BinaryPoints{};
115 bool m_WriteImagesInSeparateFile{};
127#ifndef ITK_MANUAL_INSTANTIATION
128# include "itkSpatialObjectWriter.hxx"
Light weight base class for most itk classes.
Base class for most ITK classes.
typename SpatialObjectType::ConstPointer SpatialObjectConstPointer
~SpatialObjectWriter() override=default
unsigned int GetTransformPrecision()
void SetInput(const SpatialObjectType *input)
void SetTransformPrecision(unsigned int precision)
typename SpatialObjectType::Pointer SpatialObjectPointer
void RegisterMetaConverter(const char *metaTypeName, const char *spatialObjectTypeName, MetaConverterBaseType *converter)
unsigned int GetMetaIOVersion(void) const
void SetMetaIOVersion(unsigned int ver)
Implementation of the composite pattern.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....