VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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 "
vtkDataReader.h
"
43
44
class
vtkDataSet
;
45
class
vtkPolyData
;
46
class
vtkRectilinearGrid
;
47
class
vtkStructuredGrid
;
48
class
vtkStructuredPoints
;
49
class
vtkUnstructuredGrid
;
50
51
class
VTK_IO_EXPORT
vtkDataSetReader
:
public
vtkDataReader
52
{
53
public
:
54
static
vtkDataSetReader
*
New
();
55
vtkTypeMacro(
vtkDataSetReader
,
vtkDataReader
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
59
60
vtkDataSet
*GetOutput();
61
vtkDataSet
*GetOutput(
int
idx);
63
65
70
vtkPolyData
*GetPolyDataOutput();
71
vtkStructuredPoints
*GetStructuredPointsOutput();
72
vtkStructuredGrid
*GetStructuredGridOutput();
73
vtkUnstructuredGrid
*GetUnstructuredGridOutput();
74
vtkRectilinearGrid
*GetRectilinearGridOutput();
76
79
virtual
int
ReadOutputType();
80
81
protected
:
82
vtkDataSetReader
();
83
~
vtkDataSetReader
();
84
85
virtual
int
ProcessRequest
(
vtkInformation
*,
vtkInformationVector
**,
86
vtkInformationVector
*);
87
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
88
vtkInformationVector
*);
89
virtual
int
RequestDataObject(
vtkInformation
*,
vtkInformationVector
**,
90
vtkInformationVector
*);
91
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
92
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
93
vtkInformationVector
*);
94
95
private
:
96
vtkDataSetReader
(
const
vtkDataSetReader
&);
// Not implemented.
97
void
operator=(
const
vtkDataSetReader
&);
// Not implemented.
98
};
99
100
#endif
101
102
Generated on Thu Mar 13 2014 08:10:20 for VTK by
1.8.1.2