26 #ifndef vtkPNGWriter_h 27 #define vtkPNGWriter_h 29 #include "vtkIOImageModule.h" 45 void Write() VTK_OVERRIDE;
55 vtkSetClampMacro(CompressionLevel,
int, 0, 9);
56 vtkGetMacro(CompressionLevel,
int);
64 vtkGetMacro(WriteToMemory,
unsigned int);
74 vtkGetObjectMacro(Result, vtkUnsignedCharArray);
84 void AddText(const
char*
key, const
char*
value);
89 static const
char* TITLE;
90 static const
char* AUTHOR;
91 static const
char* DESCRIPTION;
92 static const
char* COPYRIGHT;
93 static const
char* CREATION_TIME;
94 static const
char* SOFTWARE;
95 static const
char* DISCLAIMER;
96 static const
char* WARNING;
97 static const
char* SOURCE;
98 static const
char* COMMENT;
103 ~vtkPNGWriter() VTK_OVERRIDE;
106 int CompressionLevel;
107 vtkUnsignedCharArray *Result;
110 vtkInternals* Internals;
114 vtkPNGWriter(const vtkPNGWriter&) VTK_DELETE_FUNCTION;
115 void operator=(const vtkPNGWriter&) VTK_DELETE_FUNCTION;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual void Write()
The main interface which triggers the writer to start.
static vtkImageWriter * New()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of unsigned char
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.