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;
149 virtual void Write(
void);
157 return m_PasteIORegion;
162 itkSetMacro(NumberOfStreamDivisions,
unsigned int);
163 itkGetConstReferenceMacro(NumberOfStreamDivisions,
unsigned int);
168 virtual void Update()
178 virtual void UpdateLargestPossibleRegion()
180 m_PasteIORegion =
ImageIORegion(TInputImage::ImageDimension);
181 m_UserSpecifiedIORegion =
false;
186 itkSetMacro(UseCompression,
bool);
187 itkGetConstReferenceMacro(UseCompression,
bool);
188 itkBooleanMacro(UseCompression);
197 itkSetMacro(UseInputMetaDataDictionary,
bool);
198 itkGetConstReferenceMacro(UseInputMetaDataDictionary,
bool);
199 itkBooleanMacro(UseInputMetaDataDictionary);
203 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