Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkPNMWriter Class Reference

Writes PNM (portable any map) files. More...

#include <vtkPNMWriter.h>

Inheritance diagram for vtkPNMWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkPNMWriter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

vtkPNMWriter * New ()
int IsTypeOf (const char *type)
vtkPNMWriter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkPNMWriter ()
 ~vtkPNMWriter ()
 vtkPNMWriter (const vtkPNMWriter &)
void operator= (const vtkPNMWriter &)
virtual void WriteFile (ofstream *file, vtkImageData *data, int extent[6])
virtual void WriteFileHeader (ofstream *, vtkImageData *)

Detailed Description

Writes PNM (portable any map) files.

Date:
2000/12/10 20:09:13
Revision:
1.13
Thanks:
Thanks to C. Charles Law who developed this class.
vtkPNMWriter writes PNM file. The data type of the file is unsigned char regardless of the input type.
Examples:
vtkPNMWriter (examples)


Member Function Documentation

virtual const char* vtkPNMWriter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

virtual int vtkPNMWriter::IsA const char *    type [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.

int vtkPNMWriter::IsTypeOf const char *    type [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.

vtkPNMWriter* vtkPNMWriter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageWriter.

vtkPNMWriter* vtkPNMWriter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:30:58 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002