VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkXMLGenericDataObjectReader Class Reference

Read any type of vtk data object. More...

#include <vtkXMLGenericDataObjectReader.h>

Inheritance diagram for vtkXMLGenericDataObjectReader:
Inheritance graph
[legend]
Collaboration diagram for vtkXMLGenericDataObjectReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkXMLDataReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkIdType GetNumberOfPoints ()
vtkIdType GetNumberOfCells ()
void SetupEmptyOutput ()
virtual int ReadOutputType (const char *name, bool &parallel)
vtkDataObjectGetOutput ()
vtkDataObjectGetOutput (int idx)
vtkHierarchicalBoxDataSetGetHierarchicalBoxDataSetOutput ()
vtkHyperOctreeGetHyperOctreeOutput ()
vtkImageDataGetImageDataOutput ()
vtkMultiBlockDataSetGetMultiBlockDataSetOutput ()
vtkPolyDataGetPolyDataOutput ()
vtkRectilinearGridGetRectilinearGridOutput ()
vtkStructuredGridGetStructuredGridOutput ()
vtkUnstructuredGridGetUnstructuredGridOutput ()

Static Public Member Functions

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

Protected Member Functions

 vtkXMLGenericDataObjectReader ()
 ~vtkXMLGenericDataObjectReader ()
const char * GetDataSetName ()
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation (int, vtkInformation *)

Protected Attributes

vtkXMLReaderReader

Detailed Description

Read any type of vtk data object.

vtkXMLGenericDataObjectReader reads any type of vtk data object encoded in XML format.

See also:
vtkGenericDataObjectReader
Tests:
vtkXMLGenericDataObjectReader (Tests)

Definition at line 42 of file vtkXMLGenericDataObjectReader.h.


Member Typedef Documentation

Reimplemented from vtkXMLDataReader.

Definition at line 45 of file vtkXMLGenericDataObjectReader.h.


Constructor & Destructor Documentation

vtkXMLGenericDataObjectReader::vtkXMLGenericDataObjectReader ( ) [protected]
vtkXMLGenericDataObjectReader::~vtkXMLGenericDataObjectReader ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkXMLDataReader.

static int vtkXMLGenericDataObjectReader::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 vtkXMLDataReader.

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

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

Reimplemented from vtkXMLDataReader.

void vtkXMLGenericDataObjectReader::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 vtkXMLDataReader.

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

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

Reimplemented from vtkAlgorithm.

vtkDataObject* vtkXMLGenericDataObjectReader::GetOutput ( )

Get the reader's output.

vtkDataObject* vtkXMLGenericDataObjectReader::GetOutput ( int  idx)

Get the reader's output.

vtkHierarchicalBoxDataSet* vtkXMLGenericDataObjectReader::GetHierarchicalBoxDataSetOutput ( )

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.)

vtkHyperOctree* vtkXMLGenericDataObjectReader::GetHyperOctreeOutput ( )

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.)

vtkImageData* vtkXMLGenericDataObjectReader::GetImageDataOutput ( )

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.)

vtkMultiBlockDataSet* vtkXMLGenericDataObjectReader::GetMultiBlockDataSetOutput ( )

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.)

vtkPolyData* vtkXMLGenericDataObjectReader::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.)

vtkRectilinearGrid* vtkXMLGenericDataObjectReader::GetRectilinearGridOutput ( )

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.)

vtkStructuredGrid* vtkXMLGenericDataObjectReader::GetStructuredGridOutput ( )

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.)

vtkUnstructuredGrid* vtkXMLGenericDataObjectReader::GetUnstructuredGridOutput ( )

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.)

vtkIdType vtkXMLGenericDataObjectReader::GetNumberOfPoints ( ) [virtual]

Overridden method.

Implements vtkXMLDataReader.

vtkIdType vtkXMLGenericDataObjectReader::GetNumberOfCells ( ) [virtual]

Overridden method.

Implements vtkXMLDataReader.

void vtkXMLGenericDataObjectReader::SetupEmptyOutput ( ) [virtual]

Overridden method. Not Used. Delegated.

Implements vtkXMLReader.

virtual int vtkXMLGenericDataObjectReader::ReadOutputType ( const char *  name,
bool &  parallel 
) [virtual]

This method can be used to find out the type of output expected without needing to read the whole file.

const char* vtkXMLGenericDataObjectReader::GetDataSetName ( ) [protected, virtual]

Overridden method. Not used. Return "vtkDataObject".

Implements vtkXMLReader.

virtual int vtkXMLGenericDataObjectReader::RequestDataObject ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]
virtual int vtkXMLGenericDataObjectReader::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkXMLReader.

virtual int vtkXMLGenericDataObjectReader::RequestUpdateExtent ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]
virtual int vtkXMLGenericDataObjectReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkXMLReader.

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


Member Data Documentation

Definition at line 104 of file vtkXMLGenericDataObjectReader.h.


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