VTK
vtkDataSetReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetReader.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 =========================================================================*/
39 #ifndef vtkDataSetReader_h
40 #define vtkDataSetReader_h
41 
42 #include "vtkIOLegacyModule.h" // For export macro
43 #include "vtkDataReader.h"
44 
45 class vtkDataSet;
46 class vtkPolyData;
47 class vtkRectilinearGrid;
48 class vtkStructuredGrid;
51 
53 {
54 public:
55  static vtkDataSetReader *New();
57  void PrintSelf(ostream& os, vtkIndent indent);
58 
60 
62  vtkDataSet *GetOutput(int idx);
64 
66 
77 
80  virtual int ReadOutputType();
81 
82 protected:
85 
95 
96 private:
97  vtkDataSetReader(const vtkDataSetReader&); // Not implemented.
98  void operator=(const vtkDataSetReader&); // Not implemented.
99 };
100 
101 #endif
vtkStructuredPoints
A subclass of ImageData.
Definition: vtkStructuredPoints.h:39
vtkDataReader
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:49
vtkRectilinearGrid
a dataset that is topologically regular with variable spacing in the three coordinate directions
Definition: vtkRectilinearGrid.h:56
vtkDataSetReader::GetOutput
vtkDataSet * GetOutput()
vtkDataSetReader::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
VTKIOLEGACY_EXPORT
#define VTKIOLEGACY_EXPORT
Definition: vtkIOLegacyModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDataSetReader::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
vtkDataSetReader::GetOutput
vtkDataSet * GetOutput(int idx)
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:63
vtkDataSetReader::GetRectilinearGridOutput
vtkRectilinearGrid * GetRectilinearGridOutput()
vtkIOLegacyModule.h
vtkDataSetReader::vtkDataSetReader
vtkDataSetReader()
vtkDataSetReader::FillOutputPortInformation
virtual int FillOutputPortInformation(int, vtkInformation *)
vtkDataSetReader
class to read any type of vtk dataset
Definition: vtkDataSetReader.h:53
vtkDataReader.h
vtkDataSetReader::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataSetReader::New
static vtkDataSetReader * New()
vtkDataSetReader::GetStructuredGridOutput
vtkStructuredGrid * GetStructuredGridOutput()
vtkDataSetReader::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkDataSetReader::ReadOutputType
virtual int ReadOutputType()
vtkDataSetReader::GetStructuredPointsOutput
vtkStructuredPoints * GetStructuredPointsOutput()
vtkDataSetReader::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput()
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkDataSetReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:82
vtkDataSetReader::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataSetReader::~vtkDataSetReader
~vtkDataSetReader()