VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkUnstructuredGridReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkUnstructuredGridReader.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
=========================================================================*/
36
#ifndef __vtkUnstructuredGridReader_h
37
#define __vtkUnstructuredGridReader_h
38
39
#include "
vtkDataReader.h
"
40
41
class
vtkUnstructuredGrid
;
42
43
class
VTK_IO_EXPORT
vtkUnstructuredGridReader
:
public
vtkDataReader
44
{
45
public
:
46
static
vtkUnstructuredGridReader
*
New
();
47
vtkTypeMacro(
vtkUnstructuredGridReader
,
vtkDataReader
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
52
vtkUnstructuredGrid
*GetOutput();
53
vtkUnstructuredGrid
*GetOutput(
int
idx);
54
void
SetOutput(
vtkUnstructuredGrid
*output);
56
57
protected
:
58
vtkUnstructuredGridReader
();
59
~
vtkUnstructuredGridReader
();
60
61
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
62
vtkInformationVector
*);
63
64
// Since the Outputs[0] has the same UpdateExtent format
65
// as the generic DataObject we can copy the UpdateExtent
66
// as a default behavior.
67
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
68
vtkInformationVector
*);
69
70
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
71
private
:
72
vtkUnstructuredGridReader
(
const
vtkUnstructuredGridReader
&);
// Not implemented.
73
void
operator=(
const
vtkUnstructuredGridReader
&);
// Not implemented.
74
};
75
76
#endif
77
78
Generated on Thu Mar 13 2014 08:10:23 for VTK by
1.8.1.2