vtkXMLCompositeDataReader Class Reference

#include <vtkXMLCompositeDataReader.h>

Inheritance diagram for vtkXMLCompositeDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLCompositeDataReader:

Collaboration graph
[legend]

List of all members.


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 38 of file vtkXMLCompositeDataReader.h.


Public Types

typedef vtkXMLReader Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Member Typedef Documentation


Constructor & Destructor Documentation

vtkXMLCompositeDataReader::vtkXMLCompositeDataReader (  )  [protected]

vtkXMLCompositeDataReader::~vtkXMLCompositeDataReader (  )  [protected]


Member Function Documentation

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

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.

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

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 vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.

vtkCompositeDataSet* vtkXMLCompositeDataReader::GetOutput (  ) 

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

vtkCompositeDataSet* vtkXMLCompositeDataReader::GetOutput ( int   ) 

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

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

vtkXMLDataElement* vtkXMLCompositeDataReader::GetPrimaryElement (  )  [protected]

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

Reimplemented from vtkXMLReader.

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

Reimplemented from vtkXMLReader.

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 vtkXMLHierarchicalBoxDataReader, and vtkXMLMultiBlockDataReader.

virtual vtkExecutive* vtkXMLCompositeDataReader::CreateDefaultExecutive (  )  [protected, virtual]

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]

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

Reimplemented from vtkXMLReader.

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]

unsigned int vtkXMLCompositeDataReader::CountLeaves ( vtkXMLDataElement elem  )  [protected]

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 102 of file vtkXMLCompositeDataReader.h.


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

Generated on Sat Dec 27 14:00:14 2008 for VTK by  doxygen 1.5.6