VTK
vtkXMLPartitionedDataSetCollectionReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkXMLPartitionedDataSetCollectionReader.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkXMLPartitionedDataSetCollectionReader_h
30 #define vtkXMLPartitionedDataSetCollectionReader_h
31 
32 #include "vtkIOXMLModule.h" // For export macro
34 
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
44 protected:
47 
48  // Read the XML element for the subtree of a the composite dataset.
49  // dataSetIndex is used to rank the leaf nodes in an inorder traversal.
50  void ReadComposite(vtkXMLDataElement* element, vtkCompositeDataSet* composite,
51  const char* filePath, unsigned int& dataSetIndex) override;
52 
53  // Get the name of the data set being read.
54  const char* GetDataSetName() override;
55 
56  int FillOutputPortInformation(int, vtkInformation* info) override;
57 
58 private:
61  void operator=(const vtkXMLPartitionedDataSetCollectionReader&) = delete;
62 };
63 
64 #endif
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:45
vtkCompositeDataSet
abstract superclass for composite (multi-block or AMR) datasets
Definition: vtkCompositeDataSet.h:45
vtkXMLCompositeDataReader
Reader for multi-group datasets.
Definition: vtkXMLCompositeDataReader.h:41
vtkXMLCompositeDataReader.h
vtkXMLCompositeDataReader::ReadComposite
virtual void ReadComposite(vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)=0
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkXMLDataElement
Represents an XML element and those nested inside.
Definition: vtkXMLDataElement.h:36
vtkXMLCompositeDataReader::GetDataSetName
const char * GetDataSetName() override
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:64
vtkX3D::info
Definition: vtkX3D.h:382
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkXMLCompositeDataReader::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkXMLPartitionedDataSetCollectionReader
Reader for partitioned dataset collections.
Definition: vtkXMLPartitionedDataSetCollectionReader.h:37
vtkXMLCompositeDataReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.