VTK
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=========================================================================*/
28#ifndef vtkCompositeDataReader_h
29#define vtkCompositeDataReader_h
30
31#include "vtkIOLegacyModule.h" // For export macro
32#include "vtkDataReader.h"
33
40
41class VTKIOLEGACY_EXPORT vtkCompositeDataReader : public vtkDataReader
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent);
47
49
56
57protected:
60
63
64 // Override ProcessRequest to handle request data object event
67
68 // Since the Outputs[0] has the same UpdateExtent format
69 // as the generic DataObject we can copy the UpdateExtent
70 // as a default behavior.
73
74 // Create output (a directed or undirected graph).
77
79
84
91
92private:
93 vtkCompositeDataReader(const vtkCompositeDataReader&) VTK_DELETE_FUNCTION;
94 void operator=(const vtkCompositeDataReader&) VTK_DELETE_FUNCTION;
95
96};
97
98#endif
read vtkCompositeDataSet data file.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObject * ReadChild()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool ReadCompositeData(vtkHierarchicalBoxDataSet *)
bool ReadCompositeData(vtkMultiBlockDataSet *)
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
bool ReadCompositeData(vtkOverlappingAMR *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
bool ReadCompositeData(vtkMultiPieceDataSet *)
virtual int FillOutputPortInformation(int, vtkInformation *)
Fill the output port information objects for this algorithm.
static vtkCompositeDataReader * New()
vtkCompositeDataSet * GetOutput()
Get the output of this reader.
vtkCompositeDataSet * GetOutput(int idx)
int ReadOutputType()
Read the output type information.
void SetOutput(vtkCompositeDataSet *output)
bool ReadCompositeData(vtkNonOverlappingAMR *)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
abstract superclass for composite (multi-block or AMR) datasets
general representation of visualization data
Definition: vtkDataObject.h:65
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:50
Backwards compatibility class.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
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