vtkPolyDataReader Class Reference

#include <vtkPolyDataReader.h>

Inheritance diagram for vtkPolyDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPolyDataReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

read vtk polygonal data file

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)
Tests:
vtkPolyDataReader (Tests)

Definition at line 43 of file vtkPolyDataReader.h.


Public Types

typedef vtkDataReader Superclass

Public Member Functions

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 Member Functions

static vtkPolyDataReaderNew ()
static int IsTypeOf (const char *type)
static vtkPolyDataReaderSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPolyDataReader ()
 ~vtkPolyDataReader ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillOutputPortInformation (int, vtkInformation *)

Member Typedef Documentation

Reimplemented from vtkDataReader.

Definition at line 47 of file vtkPolyDataReader.h.


Constructor & Destructor Documentation

vtkPolyDataReader::vtkPolyDataReader (  )  [protected]

vtkPolyDataReader::~vtkPolyDataReader (  )  [protected]


Member Function Documentation

static vtkPolyDataReader* vtkPolyDataReader::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataReader.

virtual const char* vtkPolyDataReader::GetClassName (  )  [virtual]

Reimplemented from vtkDataReader.

static int vtkPolyDataReader::IsTypeOf ( const char *  name  )  [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.

virtual int vtkPolyDataReader::IsA ( const char *  name  )  [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.

static vtkPolyDataReader* vtkPolyDataReader::SafeDownCast ( vtkObject o  )  [static]

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.

vtkPolyData* vtkPolyDataReader::GetOutput (  ) 

Get the output of this reader.

vtkPolyData* vtkPolyDataReader::GetOutput ( int  idx  ) 

Get the output of this reader.

void vtkPolyDataReader::SetOutput ( vtkPolyData output  ) 

Get the output of this reader.

int vtkPolyDataReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataReader.

int vtkPolyDataReader::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataReader.

int vtkPolyDataReader::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:57:03 2011 for VTK by  doxygen 1.5.6