VTK  9.5.20250805
vtkXMLPartitionedDataSetCollectionReader.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
24#ifndef vtkXMLPartitionedDataSetCollectionReader_h
25#define vtkXMLPartitionedDataSetCollectionReader_h
26
27#include "vtkIOXMLModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
32
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
40protected:
43
44 // Read the XML element for the subtree of a the composite dataset.
45 // dataSetIndex is used to rank the leaf nodes in an inorder traversal.
47 const char* filePath, unsigned int& dataSetIndex) override;
48
49 // Get the name of the data set being read.
50 const char* GetDataSetName() override;
51
52 int FillOutputPortInformation(int, vtkInformation* info) override;
53
54private:
57 void operator=(const vtkXMLPartitionedDataSetCollectionReader&) = delete;
58};
59
60VTK_ABI_NAMESPACE_END
61#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.
Reader for multi-group datasets.
Represents an XML element and those nested inside.
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkXMLPartitionedDataSetCollectionReader * New()