13 #ifndef mitkImageWriter_h
14 #define mitkImageWriter_h
35 itkFactorylessNewMacro(
Self);
45 void SetFileName(
const char *fileName)
override;
46 virtual void SetFileName(
const std::string &fileName);
51 itkGetStringMacro(FileName);
58 virtual void SetExtension(
const char *extension);
59 virtual void SetExtension(
const std::string &extension);
66 itkGetStringMacro(Extension);
71 void SetDefaultExtension();
76 itkSetStringMacro(FilePrefix);
81 itkGetStringMacro(FilePrefix);
86 itkSetStringMacro(FilePattern);
91 itkGetStringMacro(FilePattern);
101 std::vector<std::string> GetPossibleFileExtensions()
override;
103 std::string GetSupportedBaseData()
const override;
108 std::string GetFileExtension()
override;
113 bool CanWriteDataType(
DataNode *)
override;
118 std::string GetWritenMIMEType()
override;
120 using Superclass::SetInput;
132 const char *GetDefaultFilename()
override;
133 const char *GetFileDialogPattern()
override;
134 const char *GetDefaultExtension()
override;
138 void SetUseCompression(
bool useCompression);
151 void GenerateData()
override;
153 virtual void WriteByITK(
mitk::Image *image,
const std::string &fileName);