14 #ifndef __itkCastVectorImageFileWriter_h 15 #define __itkCastVectorImageFileWriter_h 17 #include "itkProcessObject.h" 18 #include "itkImageIOBase.h" 19 #include "itkExceptionObject.h" 21 #include "itkImageIORegion.h" 32 template <
class TInputImage>
57 using Superclass::SetInput;
58 void SetInput(
const InputImageType *input);
59 const InputImageType * GetInput(
void);
60 const InputImageType * GetInput(
unsigned int idx);
63 itkSetStringMacro(FileName);
64 itkGetStringMacro(FileName);
78 if (this->m_ImageIO != io)
83 m_FactorySpecifiedImageIO =
false;
85 itkGetObjectMacro(ImageIO,ImageIOBase);
94 virtual void Write(
void);
98 void SetIORegion(
const ImageIORegion & region);
101 return m_PasteIORegion;
107 itkSetMacro(NumberOfStreamDivisions,
unsigned int);
108 itkGetConstReferenceMacro(NumberOfStreamDivisions,
unsigned int);
119 itkSetMacro(UseCompression,
bool);
120 itkGetConstReferenceMacro(UseCompression,
bool);
121 itkBooleanMacro(UseCompression);
129 itkSetMacro(UseInputMetaDataDictionary,
bool);
130 itkGetConstReferenceMacro(UseInputMetaDataDictionary,
bool);
131 itkBooleanMacro(UseInputMetaDataDictionary);
134 itkSetEnumMacro(ComponentType, IOComponentType);
135 itkGetEnumMacro(ComponentType, IOComponentType);
140 void PrintSelf(std::ostream& os, Indent indent)
const ITK_OVERRIDE;
147 void operator=(
const Self&);
172 #if !defined(ITK_MANUAL_INSTANTIATION) && !defined(__itkCastVectorImageFileWriter_hxx) 176 #endif // __itkCastVectorImageFileWriter_h IOComponentType m_ComponentType
Writes image data, after casting, to a single file.
ImageIOBase::Pointer m_ImageIO
bool m_FactorySpecifiedImageIO
ImageIORegion m_PasteIORegion
ImageIOBase::IOComponentType IOComponentType
bool m_UserSpecifiedImageIO
SmartPointer< Self > Pointer
const ImageIORegion & GetIORegion(void) const
bool m_UserSpecifiedIORegion
unsigned int m_NumberOfStreamDivisions
InputImageType::RegionType InputImageRegionType
bool m_UseInputMetaDataDictionary
SmartPointer< const Self > ConstPointer
InputImageType::PixelType InputImagePixelType
virtual void Update() ITK_OVERRIDE
InputImageType::Pointer InputImagePointer
CastVectorImageFileWriter Self
TInputImage InputImageType
void SetImageIO(ImageIOBase *io)