VTK
vtkXMLGenericDataObjectReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLGenericDataObjectReader.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=========================================================================*/
29#ifndef vtkXMLGenericDataObjectReader_h
30#define vtkXMLGenericDataObjectReader_h
31
32#include "vtkIOXMLModule.h" // For export macro
33#include "vtkXMLDataReader.h"
34
36class vtkHyperOctree;
38class vtkImageData;
39class vtkPolyData;
43
44class VTKIOXML_EXPORT vtkXMLGenericDataObjectReader : public vtkXMLDataReader
45{
46public:
48 void PrintSelf(ostream& os, vtkIndent indent);
50
52
58
60
76
81
86
91
96 virtual int ReadOutputType(const char *name, bool &parallel);
97
98protected:
101
105 const char* GetDataSetName();
106
107
113 vtkInformationVector **inputVector,
114 vtkInformationVector *outputVector);
115
119
120 vtkXMLReader *Reader; // actual reader
121
122private:
124 void operator=(const vtkXMLGenericDataObjectReader&) VTK_DELETE_FUNCTION;
125};
126
127#endif
general representation of visualization data
Definition: vtkDataObject.h:65
Backwards compatibility class.
A dataset structured as a tree where each node has exactly 2^n children.
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
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.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
a dataset that is topologically regular with variable spacing in the three coordinate directions
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
Superclass for VTK XML file readers.
Read any type of vtk data object.
vtkDataObject * GetOutput(int idx)
static vtkXMLGenericDataObjectReader * New()
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int ReadOutputType(const char *name, bool &parallel)
This method can be used to find out the type of output expected without needing to read the whole fil...
vtkImageData * GetImageDataOutput()
vtkIdType GetNumberOfPoints()
Overridden method.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMultiBlockDataSet * GetMultiBlockDataSetOutput()
vtkPolyData * GetPolyDataOutput()
vtkHyperOctree * GetHyperOctreeOutput()
vtkStructuredGrid * GetStructuredGridOutput()
vtkIdType GetNumberOfCells()
Overridden method.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkHierarchicalBoxDataSet * GetHierarchicalBoxDataSetOutput()
Get the output as various concrete types.
virtual int FillOutputPortInformation(int, vtkInformation *)
Fill the output port information objects for this algorithm.
const char * GetDataSetName()
Overridden method.
vtkRectilinearGrid * GetRectilinearGridOutput()
vtkUnstructuredGrid * GetUnstructuredGridOutput()
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetupEmptyOutput()
Overridden method.
vtkDataObject * GetOutput()
Get the reader's output.
Superclass for VTK's XML format readers.
Definition: vtkXMLReader.h:44
@ name
Definition: vtkX3D.h:219
int vtkIdType
Definition: vtkType.h:287