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);
91 itkSetMacro(WriteImagesInSeparateFile,
bool);
92 itkGetConstMacro(WriteImagesInSeparateFile,
bool);
93 itkBooleanMacro(WriteImagesInSeparateFile);
99 const char * spatialObjectTypeName,
103 std::string m_FileName{};
104 bool m_BinaryPoints{};
105 bool m_WriteImagesInSeparateFile{};
117#ifndef ITK_MANUAL_INSTANTIATION
118# 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)
Implementation of the composite pattern.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....