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);
205 void PrintSelf(std::ostream & os,
Indent indent)
const;
208 void GenerateData(
void);
212 void operator=(
const Self &);
233 #ifndef ITK_MANUAL_INSTANTIATION
234 #include "itkImageFileWriter.hxx"
237 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
238 #include "itkImageIOFactoryRegisterManager.h"
241 #endif // __itkImageFileWriter_h