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

vtkPNMReader Class Reference

read pnm (i.e., portable anymap) files. More...

#include <vtkPNMReader.h>

Inheritance diagram for vtkPNMReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPNMReader:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

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

Protected Methods

 vtkPNMReader ()
 ~vtkPNMReader ()
 vtkPNMReader (const vtkPNMReader &)
void operator= (const vtkPNMReader &)
void ExecuteInformation ()

Detailed Description

read pnm (i.e., portable anymap) files.

Date:
2000/12/10 20:09:13
Revision:
1.11

vtkPNMReader is a source object that reads pnm (portable anymap) files. This includes .pbm (bitmap), .pgm (grayscale), and .ppm (pixmap) files. (Currently this object only reads binary versions of these files.)

PNMReader creates structured point datasets. The dimension of the dataset depends upon the number of files read. Reading a single file results in a 2D image, while reading more than one file results in a 3D volume.

To read a volume, files must be of the form "FileName.<number>" (e.g., foo.ppm.0, foo.ppm.1, ...). You must also specify the DataExtent. The fifth and sixth values of the DataExtent specify the beginning and ending files to read.

Examples:
vtkPNMReader (examples)

Definition at line 71 of file vtkPNMReader.h.


Constructor & Destructor Documentation

vtkPNMReader::vtkPNMReader   [inline, protected]
 

Definition at line 78 of file vtkPNMReader.h.

vtkPNMReader::~vtkPNMReader   [inline, protected]
 

Definition at line 79 of file vtkPNMReader.h.

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

Definition at line 80 of file vtkPNMReader.h.


Member Function Documentation

vtkPNMReader* vtkPNMReader::New   [static]
 

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

Reimplemented from vtkImageReader.

virtual const char* vtkPNMReader::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 vtkImageReader.

int vtkPNMReader::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 vtkImageReader.

virtual int vtkPNMReader::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 vtkImageReader.

vtkPNMReader* vtkPNMReader::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 vtkImageReader.

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

Definition at line 81 of file vtkPNMReader.h.

void vtkPNMReader::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkImageReader.


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