Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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)

Definition at line 60 of file vtkPNMWriter.h.


Constructor & Destructor Documentation

vtkPNMWriter::vtkPNMWriter   [inline, protected]
 

Definition at line 67 of file vtkPNMWriter.h.

vtkPNMWriter::~vtkPNMWriter   [inline, protected]
 

Definition at line 68 of file vtkPNMWriter.h.

vtkPNMWriter::vtkPNMWriter const vtkPNMWriter &    [inline, protected]
 

Definition at line 69 of file vtkPNMWriter.h.


Member Function Documentation

vtkPNMWriter* vtkPNMWriter::New   [static]
 

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

Reimplemented from vtkImageWriter.

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.

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.

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.

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.

void vtkPNMWriter::operator= const vtkPNMWriter &    [inline, protected]
 

Definition at line 70 of file vtkPNMWriter.h.

virtual void vtkPNMWriter::WriteFile ofstream *    file,
vtkImageData   data,
int    extent[6]
[protected, virtual]
 

Reimplemented from vtkImageWriter.

virtual void vtkPNMWriter::WriteFileHeader ofstream *   ,
vtkImageData  
[protected, virtual]
 

Reimplemented from vtkImageWriter.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:57:23 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001