24 #ifndef vtkXMLMultiBlockDataReader_h
25 #define vtkXMLMultiBlockDataReader_h
27 #include "vtkIOXMLModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
55 vtkGetMacro(AssemblyTag,
int);
70 bool AddSelector(
const char* selector);
71 void ClearSelectors();
72 void SetSelector(
const char* selector);
79 int GetNumberOfSelectors()
const;
80 const char* GetSelector(
int index)
const;
95 const char* filePath,
unsigned int& dataSetIndex)
override;
99 const char* filePath,
unsigned int& dataSetIndex);
122 const char* filePath,
unsigned int& dataSetIndex,
unsigned int& compositeIndex);
124 bool IsBlockSelected(
unsigned int compositeIndex);
128 std::set<std::string> Selectors;
129 std::vector<unsigned int> SelectedCompositeIds;
130 bool DistributePiecesInMultiPieces;
133 VTK_ABI_NAMESPACE_END
Represents an XML element and those nested inside.
Reader for multi-group datasets.
virtual void PrepareToCreateMetaData(vtkXMLDataElement *ePrimary)
Prepare to create the meta-data from the composite dataset from the file.
virtual void SyncCompositeDataArraySelections(vtkCompositeDataSet *composite, vtkXMLDataElement *element, const std::string &filePath)=0
Recursively synchronize the data array selection of the reader for the file specified in the XML elem...
abstract superclass for composite (multi-block or AMR) datasets
const char * GetDataSetName() override
Get the name of the data set being read.
a simple class to control print indentation
Reader for multi-block datasets.
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
virtual void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)=0
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
hierarchical representation to use with vtkPartitionedDataSetCollection
virtual void CreateMetaData(vtkXMLDataElement *ePrimary)=0
Create the meta-data from the composite dataset from the file.