32 #ifndef vtkPNGWriter_h 33 #define vtkPNGWriter_h 35 #include "vtkIOImageModule.h" 51 void Write() VTK_OVERRIDE;
61 vtkSetClampMacro(CompressionLevel,
int, 0, 9);
62 vtkGetMacro(CompressionLevel,
int);
70 vtkGetMacro(WriteToMemory,
unsigned int);
80 vtkGetObjectMacro(Result, vtkUnsignedCharArray);
90 void AddText(const
char*
key, const
char*
value);
95 static const
char* TITLE;
96 static const
char* AUTHOR;
97 static const
char* DESCRIPTION;
98 static const
char* COPYRIGHT;
99 static const
char* CREATION_TIME;
100 static const
char* SOFTWARE;
101 static const
char* DISCLAIMER;
102 static const
char* WARNING;
103 static const
char* SOURCE;
104 static const
char* COMMENT;
109 ~vtkPNGWriter() VTK_OVERRIDE;
112 int CompressionLevel;
113 vtkUnsignedCharArray *Result;
116 vtkInternals* Internals;
120 vtkPNGWriter(const vtkPNGWriter&) VTK_DELETE_FUNCTION;
121 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.