43#ifndef vtkXMLMultiBlockDataReader_h
44#define vtkXMLMultiBlockDataReader_h
46#include "vtkIOXMLModule.h"
52VTK_ABI_NAMESPACE_BEGIN
74 vtkGetMacro(AssemblyTag,
int);
114 const char* filePath,
unsigned int& dataSetIndex)
override;
118 const char* filePath,
unsigned int& dataSetIndex);
132 const std::string& filePath)
override;
141 const char* filePath,
unsigned int& dataSetIndex,
unsigned int& compositeIndex);
143 bool IsBlockSelected(
unsigned int compositeIndex);
147 std::set<std::string> Selectors;
148 std::vector<unsigned int> SelectedCompositeIds;
149 bool DistributePiecesInMultiPieces;
abstract superclass for composite (multi-block or AMR) datasets
hierarchical representation to use with vtkPartitionedDataSetCollection
a simple class to control print indentation
Allocate and hold a VTK object.
vtkXMLCompositeDataReader()
Represents an XML element and those nested inside.
void SetSelector(const char *selector)
API to set selectors.
void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex) override
static vtkXMLMultiBlockDataReader * New()
int GetNumberOfSelectors() const
API to access selectors.
void ClearSelectors()
API to set selectors.
vtkGetNewMacro(Assembly, vtkDataAssembly)
Get the data full data assembly associated with the input.
void SyncCompositeDataArraySelections(vtkCompositeDataSet *composite, vtkXMLDataElement *element, const std::string &filePath) override
Recursively synchronize the data array selection of the reader for the file specified in the XML elem...
vtkXMLMultiBlockDataReader()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetSelector(int index) const
API to access selectors.
bool AddSelector(const char *selector)
API to set selectors.
void PrepareToCreateMetaData(vtkXMLDataElement *ePrimary) override
Prepare to create the meta-data from the composite dataset from the file.
void CreateMetaData(vtkXMLDataElement *ePrimary) override
Read the meta-data from the Multiblock from the file.
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
~vtkXMLMultiBlockDataReader() override
const char * GetDataSetName() override
Get the name of the data set being read.
virtual void ReadVersion0(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)