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

vtkDataSetReader Class Reference

class to read any type of vtk dataset. More...

#include <vtkDataSetReader.h>

Inheritance diagram for vtkDataSetReader:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetReader:

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)
vtkDataSetGetOutput ()
vtkDataSetGetOutput (int idx)
vtkPolyDataGetPolyDataOutput ()
vtkStructuredPointsGetStructuredPointsOutput ()
vtkStructuredGridGetStructuredGridOutput ()
vtkUnstructuredGridGetUnstructuredGridOutput ()
vtkRectilinearGridGetRectilinearGridOutput ()
void Update ()

Static Public Methods

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

Protected Methods

 vtkDataSetReader ()
 ~vtkDataSetReader ()
 vtkDataSetReader (const vtkDataSetReader &)
void operator= (const vtkDataSetReader &)
void Execute ()

Protected Attributes

vtkDataReaderReader

Detailed Description

class to read any type of vtk dataset.

Date:
2000/12/10 20:08:34
Revision:
1.44

vtkDataSetReader is a class that provides instance variables and methods to read any type of dataset in Visualization Toolkit (vtk) format. The output type of this class will vary depending upon the type of data file. Convenience methods are provided to keep the data as a particular type. (See text for format description details). 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:
vtkDataReader vtkPolyDataReader vtkRectilinearGridReader vtkStructuredPointsReader vtkStructuredGridReader vtkUnstructuredGridReader
Examples:
vtkDataSetReader (examples)

Definition at line 74 of file vtkDataSetReader.h.


Constructor & Destructor Documentation

vtkDataSetReader::vtkDataSetReader   [protected]
 

vtkDataSetReader::~vtkDataSetReader   [protected]
 

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

Definition at line 105 of file vtkDataSetReader.h.


Member Function Documentation

vtkDataSetReader* vtkDataSetReader::New   [static]
 

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

Reimplemented from vtkDataReader.

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

int vtkDataSetReader::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.

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

vtkDataSetReader* vtkDataSetReader::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.

void vtkDataSetReader::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.

vtkDataSet* vtkDataSetReader::GetOutput  
 

Get the output of this source as a general vtkDataSet. Since we need to know the type of the data, the FileName must be set before GetOutput is applied.

vtkDataSet* vtkDataSetReader::GetOutput int    idx [inline]
 

Reimplemented from vtkSource.

Definition at line 85 of file vtkDataSetReader.h.

vtkPolyData* vtkDataSetReader::GetPolyDataOutput  
 

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

vtkStructuredPoints* vtkDataSetReader::GetStructuredPointsOutput  
 

vtkStructuredGrid* vtkDataSetReader::GetStructuredGridOutput  
 

vtkUnstructuredGrid* vtkDataSetReader::GetUnstructuredGridOutput  
 

vtkRectilinearGrid* vtkDataSetReader::GetRectilinearGridOutput  
 

void vtkDataSetReader::Update   [virtual]
 

If there is no output, execute anyway. Execute creates an output.

Reimplemented from vtkSource.

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

Definition at line 106 of file vtkDataSetReader.h.

void vtkDataSetReader::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

vtkDataReader* vtkDataSetReader::Reader [protected]
 

Definition at line 109 of file vtkDataSetReader.h.


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