VTK
|
Writes PNM (portable any map) files. More...
#include <vtkPNMWriter.h>
Public Types | |
typedef vtkImageWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPNMWriter * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkPNMWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPNMWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPNMWriter () | |
~vtkPNMWriter () | |
virtual void | WriteFile (ofstream *file, vtkImageData *data, int extent[6], int wExt[6]) |
virtual void | WriteFileHeader (ofstream *, vtkImageData *, int wExt[6]) |
Writes PNM (portable any map) files.
vtkPNMWriter writes PNM file. The data type of the file is unsigned char regardless of the input type.
Definition at line 31 of file vtkPNMWriter.h.
Reimplemented from vtkImageWriter.
Definition at line 35 of file vtkPNMWriter.h.
vtkPNMWriter::vtkPNMWriter | ( | ) | [inline, protected] |
Definition at line 39 of file vtkPNMWriter.h.
vtkPNMWriter::~vtkPNMWriter | ( | ) | [inline, protected] |
Definition at line 40 of file vtkPNMWriter.h.
static vtkPNMWriter* vtkPNMWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageWriter.
static int vtkPNMWriter::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 vtkPNMWriter::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 vtkPNMWriter* vtkPNMWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageWriter.
virtual vtkObjectBase* vtkPNMWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageWriter.
vtkPNMWriter* vtkPNMWriter::NewInstance | ( | ) | const |
Reimplemented from vtkImageWriter.
virtual void vtkPNMWriter::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 vtkPNMWriter::WriteFile | ( | ofstream * | file, |
vtkImageData * | data, | ||
int | extent[6], | ||
int | wExt[6] | ||
) | [protected, virtual] |
Reimplemented from vtkImageWriter.
virtual void vtkPNMWriter::WriteFileHeader | ( | ofstream * | , |
vtkImageData * | , | ||
int | wExt[6] | ||
) | [protected, virtual] |
Reimplemented from vtkImageWriter.