#include <vtkDataSetReader.h>
Inheritance diagram for vtkDataSetReader:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkDataSet * | GetOutput () |
vtkDataSet * | GetOutput (int idx) |
vtkPolyData * | GetPolyDataOutput () |
vtkStructuredPoints * | GetStructuredPointsOutput () |
vtkStructuredGrid * | GetStructuredGridOutput () |
vtkUnstructuredGrid * | GetUnstructuredGridOutput () |
vtkRectilinearGrid * | GetRectilinearGridOutput () |
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 | |
vtkDataReader * | Reader |
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.
|
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. |
|
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. |
|
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.) |
|
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. |
|
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. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkDataReader. |
|
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. |
|
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. |
|
If there is no output, execute anyway. Execute creates an output. Reimplemented from vtkSource. |