18 #ifndef __itkImageFileWriter_h
19 #define __itkImageFileWriter_h
40 const char *message =
"Error in IO",
41 const char *loc =
"Unknown"):
47 const char *message =
"Error in IO",
48 const char *loc =
"Unknown"):
84 template<
class TInputImage >
107 using Superclass::SetInput;
115 itkSetStringMacro(FileName);
116 itkGetStringMacro(FileName);
131 if ( this->m_ImageIO != io )
134 this->m_ImageIO = io;
136 m_FactorySpecifiedImageIO =
false;
148 virtual void Write(
void);
156 return m_PasteIORegion;
161 itkSetMacro(NumberOfStreamDivisions,
unsigned int);
162 itkGetConstReferenceMacro(NumberOfStreamDivisions,
unsigned int);
167 virtual void Update()
177 virtual void UpdateLargestPossibleRegion()
179 m_PasteIORegion =
ImageIORegion(TInputImage::ImageDimension);
180 m_UserSpecifiedIORegion =
false;
185 itkSetMacro(UseCompression,
bool);
186 itkGetConstReferenceMacro(UseCompression,
bool);
187 itkBooleanMacro(UseCompression);
196 itkSetMacro(UseInputMetaDataDictionary,
bool);
197 itkGetConstReferenceMacro(UseInputMetaDataDictionary,
bool);
198 itkBooleanMacro(UseInputMetaDataDictionary);
204 void PrintSelf(std::ostream & os,
Indent indent)
const;
207 void GenerateData(
void);
211 void operator=(
const Self &);
232 #ifndef ITK_MANUAL_INSTANTIATION
233 #include "itkImageFileWriter.hxx"
236 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
237 #include "itkImageIOFactoryRegisterManager.h"
240 #endif // __itkImageFileWriter_h