#include <vtkXMLCompositeDataReader.h>
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) |
vtkCompositeDataSet * | GetOutput () |
vtkCompositeDataSet * | GetOutput (int) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkXMLCompositeDataReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkXMLCompositeDataReader () | |
~vtkXMLCompositeDataReader () | |
virtual const char * | GetDataSetName () |
vtkXMLDataElement * | GetPrimaryElement () |
virtual void | ReadXMLData () |
virtual int | ReadPrimaryElement (vtkXMLDataElement *ePrimary) |
virtual void | SetupEmptyOutput () |
virtual int | FillOutputPortInformation (int, vtkInformation *info) |
virtual vtkExecutive * | CreateDefaultExecutive () |
vtkXMLReader * | GetReaderOfType (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 vtkDataSet * | ReadDataset (vtkXMLDataElement *xmlElem, const char *filePath) |
unsigned int | CountLeaves (vtkXMLDataElement *elem) |
int | ShouldReadDataSet (unsigned int datasetIndex) |
virtual int | CanReadFileVersion (int major, int vtkNotUsed(minor)) |
Reimplemented from vtkXMLReader.
Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.
Definition at line 41 of file vtkXMLCompositeDataReader.h.
vtkXMLCompositeDataReader::vtkXMLCompositeDataReader | ( | ) | [protected] |
vtkXMLCompositeDataReader::~vtkXMLCompositeDataReader | ( | ) | [protected] |
virtual const char* vtkXMLCompositeDataReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkXMLReader.
Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.
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 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkXMLReader.
Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.
static vtkXMLCompositeDataReader* vtkXMLCompositeDataReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkXMLReader.
Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.
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] |
Implements vtkXMLReader.
Reimplemented in vtkXMLHierarchicalBoxDataReader, vtkXMLHierarchicalDataReader, vtkXMLMultiBlockDataReader, and vtkXMLMultiGroupDataReader.
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] |
Implemented in vtkXMLHierarchicalBoxDataReader, and vtkXMLMultiBlockDataReader.
virtual vtkDataSet* vtkXMLCompositeDataReader::ReadDataset | ( | vtkXMLDataElement * | xmlElem, | |
const char * | filePath | |||
) | [protected, virtual] |
Reimplemented in vtkXMLHierarchicalBoxDataReader.
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.