VTK  9.7.20261008
vtkXMLPartitionedDataSetReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3// SPDX-License-Identifier: BSD-3-Clause
20
21#ifndef vtkXMLPartitionedDataSetReader_h
22#define vtkXMLPartitionedDataSetReader_h
23
24#include "vtkIOXMLModule.h" // For export macro
25#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
27
28VTK_ABI_NAMESPACE_BEGIN
30
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39protected:
42
43 // Get the name of the data set being read.
44 const char* GetDataSetName() override;
45
46 // Read the XML element for the subtree of a composite dataset.
47 // dataSetIndex is used to rank the leaf nodes in an inorder traversal.
49 const char* filePath, unsigned int& dataSetIndex) override;
50
51 int FillOutputPortInformation(int, vtkInformation* info) override;
52
56 void CreateMetaData(vtkXMLDataElement* ePrimary) override;
57
63 const std::string& filePath) override;
64
65private:
67 void operator=(const vtkXMLPartitionedDataSetReader&) = delete;
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Composite dataset that organizes datasets into blocks.
Represents an XML element and those nested inside.
static vtkXMLPartitionedDataSetReader * New()
void CreateMetaData(vtkXMLDataElement *ePrimary) override
Create the meta-data from the partitioned dataset collection from the file.
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
~vtkXMLPartitionedDataSetReader() override
const char * GetDataSetName() override
Get the name of the data set being read.
void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex) override
#define VTK_MARSHALAUTO