24#ifndef vtkXMLPartitionedDataSetCollectionReader_h
25#define vtkXMLPartitionedDataSetCollectionReader_h
27#include "vtkIOXMLModule.h"
33VTK_ABI_NAMESPACE_BEGIN
55 vtkGetMacro(AssemblyTag,
int);
90 const char* filePath,
unsigned int& dataSetIndex)
override;
111 const std::string& filePath)
override;
130 std::set<std::string> Selectors;
131 std::vector<unsigned int> SelectedCompositeIds;
abstract superclass for composite (multi-block or AMR) datasets
hierarchical representation to use with vtkPartitionedDataSetCollection
general representation of visualization data
a simple class to control print indentation
Allocate and hold a VTK object.
vtkXMLCompositeDataReader()
Represents an XML element and those nested inside.
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...
virtual int GetNumberOfSelectors() const
API to access selectors.
virtual bool AddSelector(const char *selector)
API to set selectors.
const char * GetDataSetName() override
Get the name of the data set being read.
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex) override
virtual void SetSelector(const char *selector)
API to set selectors.
vtkXMLPartitionedDataSetCollectionReader()
virtual const char * GetSelector(int index) const
API to access selectors.
~vtkXMLPartitionedDataSetCollectionReader() override
virtual const char * GetXMLPartitionsName()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void CreateMetaData(vtkXMLDataElement *ePrimary) override
Create the meta-data from the partitioned dataset collection from the file.
virtual const char * GetXMLPartitionIndexName()
virtual bool CanReadDataObject(vtkDataObject *dataObject)
Given the data object class, return whether it is allowed.
vtkGetNewMacro(Assembly, vtkDataAssembly)
Get the data full data assembly associated with the input.
virtual void ClearSelectors()
API to set selectors.
virtual bool IsBlockSelected(unsigned int compositeIndex)
Given the composite id, this method tells if the block should be read.
static vtkXMLPartitionedDataSetCollectionReader * New()