VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkXMLMultiBlockDataReader Class Reference

Reader for multi-block datasets. More...

#include <vtkXMLMultiBlockDataReader.h>

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

List of all members.

Public Types

typedef vtkXMLCompositeDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLMultiBlockDataReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkXMLMultiBlockDataReaderNew ()
static int IsTypeOf (const char *type)
static vtkXMLMultiBlockDataReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLMultiBlockDataReader ()
 ~vtkXMLMultiBlockDataReader ()
virtual void ReadComposite (vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)
virtual void ReadVersion0 (vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)
virtual const char * GetDataSetName ()
virtual int FillOutputPortInformation (int, vtkInformation *info)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillMetaData (vtkCompositeDataSet *metadata, vtkXMLDataElement *element, unsigned int &dataSetIndex)

Detailed Description

Reader for multi-block datasets.

vtkXMLMultiBlockDataReader reads the VTK XML multi-block data file format. XML multi-block data files are meta-files that point to a list of serial VTK XML files. When reading in parallel, it will distribute sub-blocks among processor. If the number of sub-blocks is less than the number of processors, some processors will not have any sub-blocks for that block. If the number of sub-blocks is larger than the number of processors, each processor will possibly have more than 1 sub-block.

Tests:
vtkXMLMultiBlockDataReader (Tests)

Definition at line 39 of file vtkXMLMultiBlockDataReader.h.


Member Typedef Documentation

Reimplemented from vtkXMLCompositeDataReader.

Reimplemented in vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

Definition at line 43 of file vtkXMLMultiBlockDataReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

Reimplemented in vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

static int vtkXMLMultiBlockDataReader::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 vtkXMLCompositeDataReader.

Reimplemented in vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

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

Reimplemented in vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

virtual vtkObjectBase* vtkXMLMultiBlockDataReader::NewInstanceInternal ( ) const [protected, virtual]
void vtkXMLMultiBlockDataReader::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 vtkXMLCompositeDataReader.

Reimplemented in vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

virtual void vtkXMLMultiBlockDataReader::ReadComposite ( vtkXMLDataElement element,
vtkCompositeDataSet composite,
const char *  filePath,
unsigned int dataSetIndex 
) [protected, virtual]
virtual void vtkXMLMultiBlockDataReader::ReadVersion0 ( vtkXMLDataElement element,
vtkCompositeDataSet composite,
const char *  filePath,
unsigned int dataSetIndex 
) [protected, virtual]
virtual const char* vtkXMLMultiBlockDataReader::GetDataSetName ( ) [protected, virtual]
virtual int vtkXMLMultiBlockDataReader::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 vtkXMLCompositeDataReader.

Reimplemented from vtkXMLCompositeDataReader.

virtual int vtkXMLMultiBlockDataReader::FillMetaData ( vtkCompositeDataSet metadata,
vtkXMLDataElement element,
unsigned int dataSetIndex 
) [protected, virtual]

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