VTK  9.0.1
vtkCompositeDataReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositeDataReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
25 #ifndef vtkCompositeDataReader_h
26 #define vtkCompositeDataReader_h
27 
28 #include "vtkDataReader.h"
29 #include "vtkIOLegacyModule.h" // For export macro
30 
36 class vtkOverlappingAMR;
39 
40 class VTKIOLEGACY_EXPORT vtkCompositeDataReader : public vtkDataReader
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
55 
59  int ReadMeshSimple(const std::string& fname, vtkDataObject* output) override;
60 
61 protected:
64 
65  vtkDataObject* CreateOutput(vtkDataObject* currentOutput) override;
66 
68 
73 
82 
83 private:
85  void operator=(const vtkCompositeDataReader&) = delete;
86 };
87 
88 #endif
read vtkCompositeDataSet data file.
bool ReadCompositeData(vtkHierarchicalBoxDataSet *)
int ReadMeshSimple(const std::string &fname, vtkDataObject *output) override
Actual reading happens here.
bool ReadCompositeData(vtkMultiBlockDataSet *)
vtkCompositeDataSet * GetOutput()
Get the output of this reader.
bool ReadCompositeData(vtkOverlappingAMR *)
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
bool ReadCompositeData(vtkPartitionedDataSet *)
static vtkCompositeDataReader * New()
vtkCompositeDataSet * GetOutput(int idx)
bool ReadCompositeData(vtkMultiPieceDataSet *)
bool ReadCompositeData(vtkPartitionedDataSetCollection *)
int ReadOutputType()
Read the output type information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkCompositeDataReader() override
vtkDataObject * ReadChild()
void SetOutput(vtkCompositeDataSet *output)
bool ReadCompositeData(vtkNonOverlappingAMR *)
vtkDataObject * CreateOutput(vtkDataObject *currentOutput) override
This can be overridden by a subclass to create an output that is determined by the file being read.
abstract superclass for composite (multi-block or AMR) datasets
general representation of visualization data
Definition: vtkDataObject.h:60
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:55
Backwards compatibility class.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store vtkAlgorithm input/output information.
Composite dataset that organizes datasets into blocks.
composite dataset to encapsulates pieces of dataset.
A concrete instance of vtkUniformGridAMR to store uniform grids at different levels of resolution tha...
hierarchical dataset of vtkUniformGrids
Composite dataset that groups datasets as a collection.
composite dataset to encapsulates a dataset consisting of partitions.
@ string
Definition: vtkX3D.h:496