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

vtkPolyDataReader Class Reference

read vtk polygonal data file. More...

#include <vtkPolyDataReader.h>

Inheritance diagram for vtkPolyDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPolyDataReader:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkPolyDataGetOutput ()
vtkPolyDataGetOutput (int idx)
void SetOutput (vtkPolyData *output)

Static Public Methods

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

Protected Methods

 vtkPolyDataReader ()
 ~vtkPolyDataReader ()
 vtkPolyDataReader (const vtkPolyDataReader &)
void operator= (const vtkPolyDataReader &)
void Execute ()
void ComputeInputUpdateExtents (vtkDataObject *output)

Protected Attributes

int ExecutePiece
int ExecuteNumberOfPieces
int ExecuteGhostLevel

Detailed Description

read vtk polygonal data file.

Date:
2000/12/10 20:08:47
Revision:
1.24

vtkPolyDataReader is a source object that reads ASCII or binary polygonal data files in vtk format (see text for format details). The output of this reader is a single vtkPolyData data object. The superclass of this class, vtkDataReader, provides many methods for controlling the reading of the data file, see vtkDataReader for more information.

Warning:
Binary files written on one system may not be readable on other systems.
See also:
vtkPolyData vtkDataReader
Examples:
vtkPolyDataReader (examples)


Member Function Documentation

void vtkPolyDataReader::ComputeInputUpdateExtents vtkDataObject   output [protected, virtual]
 

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkSource.

virtual const char* vtkPolyDataReader::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 vtkDataReader.

vtkPolyData* vtkPolyDataReader::GetOutput  
 

Get the output of this reader.

virtual int vtkPolyDataReader::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 vtkDataReader.

int vtkPolyDataReader::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 vtkDataReader.

vtkPolyDataReader* vtkPolyDataReader::New   [static]
 

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

Reimplemented from vtkDataReader.

void vtkPolyDataReader::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 vtkDataReader.

vtkPolyDataReader* vtkPolyDataReader::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 vtkDataReader.


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