29 #ifndef vtkXMLCompositeDataReader_h
30 #define vtkXMLCompositeDataReader_h
32 #include "vtkIOXMLModule.h"
39 struct vtkXMLCompositeDataReaderInternals;
65 vtkSetClampMacro(PieceDistribution,
int,
Block, Interleave);
66 vtkGetMacro(PieceDistribution,
int);
119 const char* filePath,
unsigned int& dataSetIndex) = 0;
143 int PieceDistribution;
145 vtkXMLCompositeDataReaderInternals* Internal;
abstract superclass for composite (multi-block or AMR) datasets
general representation of visualization data
abstract class to specify dataset behavior
Superclass for all pipeline executives in VTK.
a simple class to control print indentation
Reader for multi-group datasets.
std::string GetFilePath()
void AddChild(vtkCompositeDataSet *parent, vtkDataObject *child, vtkXMLDataElement *childXML)
bool DataSetIsValidForInterleaveStrategy(unsigned int datasetIndex)
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkCompositeDataSet * GetOutput(int)
void SetupEmptyOutput() override
virtual void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)=0
vtkXMLReader * GetReaderForFile(const std::string &filename)
vtkXMLReader * GetReaderOfType(const char *type)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetDataSetName() override
vtkXMLDataElement * GetPrimaryElement()
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual vtkDataSet * ReadDataset(vtkXMLDataElement *xmlElem, const char *filePath)
unsigned int CountLeaves(vtkXMLDataElement *elem)
bool DataSetIsValidForBlockStrategy(unsigned int datasetIndex)
void ReadXMLData() override
void SyncDataArraySelections(vtkXMLReader *accum, vtkXMLDataElement *xmlElem, const std::string &filePath)
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
std::string GetFileNameFromXML(vtkXMLDataElement *xmlElem, const std::string &filePath)
virtual vtkDataObject * ReadDataObject(vtkXMLDataElement *xmlElem, const char *filePath)
vtkCompositeDataSet * GetOutput()
Get the output data object for a port on this algorithm.
~vtkXMLCompositeDataReader() override
int ShouldReadDataSet(unsigned int datasetIndex)
Given the inorder index for a leaf node, this method tells if the current process should read the dat...
vtkXMLCompositeDataReader()
Represents an XML element and those nested inside.
Superclass for VTK's XML format readers.