VTK
|
Writes PNG files. More...
#include <vtkPNGWriter.h>
Public Types | |
typedef vtkImageWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPNGWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Write () |
virtual void | SetWriteToMemory (unsigned int) |
virtual unsigned int | GetWriteToMemory () |
virtual void | WriteToMemoryOn () |
virtual void | WriteToMemoryOff () |
virtual void | SetResult (vtkUnsignedCharArray *) |
virtual vtkUnsignedCharArray * | GetResult () |
Static Public Member Functions | |
static vtkPNGWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPNGWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPNGWriter () | |
~vtkPNGWriter () | |
void | WriteSlice (vtkImageData *data, int *uExtent) |
Protected Attributes | |
unsigned int | WriteToMemory |
vtkUnsignedCharArray * | Result |
FILE * | TempFP |
Writes PNG files.
vtkPNGWriter writes PNG files. It supports 1 to 4 component data of unsigned char or unsigned short
Definition at line 40 of file vtkPNGWriter.h.
Reimplemented from vtkImageWriter.
Definition at line 44 of file vtkPNGWriter.h.
vtkPNGWriter::vtkPNGWriter | ( | ) | [protected] |
vtkPNGWriter::~vtkPNGWriter | ( | ) | [protected] |
static vtkPNGWriter* vtkPNGWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageWriter.
static int vtkPNGWriter::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageWriter.
virtual int vtkPNGWriter::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageWriter.
static vtkPNGWriter* vtkPNGWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageWriter.
virtual vtkObjectBase* vtkPNGWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageWriter.
vtkPNGWriter* vtkPNGWriter::NewInstance | ( | ) | const |
Reimplemented from vtkImageWriter.
void vtkPNGWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageWriter.
virtual void vtkPNGWriter::Write | ( | ) | [virtual] |
The main interface which triggers the writer to start.
Reimplemented from vtkImageWriter.
virtual void vtkPNGWriter::SetWriteToMemory | ( | unsigned | int | ) | [virtual] |
Write the image to memory (a vtkUnsignedCharArray)
virtual unsigned int vtkPNGWriter::GetWriteToMemory | ( | ) | [virtual] |
Write the image to memory (a vtkUnsignedCharArray)
virtual void vtkPNGWriter::WriteToMemoryOn | ( | ) | [virtual] |
Write the image to memory (a vtkUnsignedCharArray)
virtual void vtkPNGWriter::WriteToMemoryOff | ( | ) | [virtual] |
Write the image to memory (a vtkUnsignedCharArray)
virtual void vtkPNGWriter::SetResult | ( | vtkUnsignedCharArray * | ) | [virtual] |
When writing to memory this is the result, it will be NULL until the data is written the first time
virtual vtkUnsignedCharArray* vtkPNGWriter::GetResult | ( | ) | [virtual] |
When writing to memory this is the result, it will be NULL until the data is written the first time
void vtkPNGWriter::WriteSlice | ( | vtkImageData * | data, |
int * | uExtent | ||
) | [protected] |
unsigned int vtkPNGWriter::WriteToMemory [protected] |
Definition at line 69 of file vtkPNGWriter.h.
vtkUnsignedCharArray* vtkPNGWriter::Result [protected] |
Definition at line 70 of file vtkPNGWriter.h.
FILE* vtkPNGWriter::TempFP [protected] |
Definition at line 71 of file vtkPNGWriter.h.