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

Reader for multi-group datasets. More...

#include <vtkXMLCompositeDataReader.h>

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

List of all members.

Public Types

typedef vtkXMLReader Superclass

Public Member Functions

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

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLCompositeDataReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLCompositeDataReader ()
 ~vtkXMLCompositeDataReader ()
virtual const char * GetDataSetName ()
vtkXMLDataElementGetPrimaryElement ()
virtual void ReadXMLData ()
virtual int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
virtual void SetupEmptyOutput ()
virtual int FillOutputPortInformation (int, vtkInformation *info)
virtual vtkExecutiveCreateDefaultExecutive ()
vtkXMLReaderGetReaderOfType (const char *type)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void AddChild (vtkCompositeDataSet *parent, vtkDataObject *child, vtkXMLDataElement *childXML)
virtual void ReadComposite (vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)=0
virtual vtkDataSetReadDataset (vtkXMLDataElement *xmlElem, const char *filePath)
unsigned int CountLeaves (vtkXMLDataElement *elem)
int ShouldReadDataSet (unsigned int datasetIndex)
virtual int CanReadFileVersion (int major, int vtkNotUsed(minor))

Detailed Description

Reader for multi-group datasets.

vtkXMLCompositeDataReader reads the VTK XML multi-group data file format. XML multi-group 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 group. If the number of sub-blocks is larger than the number of processors, each processor will possibly have more than 1 sub-block.

Definition at line 41 of file vtkXMLCompositeDataReader.h.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHierarchicalBoxDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

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

Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHierarchicalBoxDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

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

Reimplemented in vtkXMLUniformGridAMRReader, vtkXMLHierarchicalBoxDataReader, vtkXMLMultiBlockDataReader, vtkXMLHierarchicalDataReader, and vtkXMLMultiGroupDataReader.

Get the output data object for a port on this algorithm.

Get the output data object for a port on this algorithm.

virtual const char* vtkXMLCompositeDataReader::GetDataSetName ( ) [protected, virtual]
virtual void vtkXMLCompositeDataReader::ReadXMLData ( ) [protected, virtual]

Reimplemented from vtkXMLReader.

virtual int vtkXMLCompositeDataReader::ReadPrimaryElement ( vtkXMLDataElement ePrimary) [protected, virtual]

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLUniformGridAMRReader.

virtual void vtkXMLCompositeDataReader::SetupEmptyOutput ( ) [protected, virtual]

Implements vtkXMLReader.

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

Reimplemented in vtkXMLMultiBlockDataReader.

Create a default executive. If the DefaultExecutivePrototype is set, a copy of it is created in CreateDefaultExecutive() using NewInstance(). Otherwise, vtkStreamingDemandDrivenPipeline is created.

Reimplemented from vtkAlgorithm.

vtkXMLReader* vtkXMLCompositeDataReader::GetReaderOfType ( const char *  type) [protected]

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLUniformGridAMRReader, and vtkXMLMultiBlockDataReader.

void vtkXMLCompositeDataReader::AddChild ( vtkCompositeDataSet parent,
vtkDataObject child,
vtkXMLDataElement childXML 
) [protected]
virtual void vtkXMLCompositeDataReader::ReadComposite ( vtkXMLDataElement element,
vtkCompositeDataSet composite,
const char *  filePath,
unsigned int dataSetIndex 
) [protected, pure virtual]
virtual vtkDataSet* vtkXMLCompositeDataReader::ReadDataset ( vtkXMLDataElement xmlElem,
const char *  filePath 
) [protected, virtual]

Reimplemented in vtkXMLUniformGridAMRReader.

int vtkXMLCompositeDataReader::ShouldReadDataSet ( unsigned int  datasetIndex) [protected]

Given the inorder index for a leaf node, this method tells if the current process should read the dataset.

virtual int vtkXMLCompositeDataReader::CanReadFileVersion ( int  major,
int   vtkNotUsedminor 
) [inline, protected, virtual]

Test if the reader can read a file with the given version number.

Definition at line 105 of file vtkXMLCompositeDataReader.h.


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