#include <vtkPNMReader.h>
Inheritance diagram for vtkPNMReader:
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.
Definition at line 42 of file vtkPNMReader.h.
Public Types | |
typedef vtkImageReader | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
int | CanReadFile (const char *fname) |
virtual const char * | GetFileExtensions () |
virtual const char * | GetDescriptiveName () |
Static Public Member Functions | |
static vtkPNMReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkPNMReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPNMReader () | |
~vtkPNMReader () | |
void | ExecuteInformation () |
|
Reimplemented from vtkImageReader. Definition at line 46 of file vtkPNMReader.h. |
|
Definition at line 67 of file vtkPNMReader.h. |
|
Definition at line 68 of file vtkPNMReader.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkImageReader. |
|
Reimplemented from vtkImageReader. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageReader. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageReader. |
|
Reimplemented from vtkImageReader. |
|
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 vtkImageReader. |
|
|
|
.pnm .pgm .ppm Reimplemented from vtkImageReader2. Definition at line 52 of file vtkPNMReader.h. |
|
PNM Reimplemented from vtkImageReader2. Definition at line 60 of file vtkPNMReader.h. |
|
Reimplemented from vtkImageReader2. |