VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Geometry
vtkPolyDataReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPolyDataReader.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 __vtkPolyDataReader_h
37
#define __vtkPolyDataReader_h
38
39
#include "vtkIOGeometryModule.h"
// For export macro
40
#include "
vtkDataReader.h
"
41
42
class
vtkPolyData
;
43
44
class
VTKIOGEOMETRY_EXPORT
vtkPolyDataReader
:
public
vtkDataReader
45
{
46
public
:
47
static
vtkPolyDataReader
*
New
();
48
vtkTypeMacro(
vtkPolyDataReader
,
vtkDataReader
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
53
vtkPolyData
*GetOutput();
54
vtkPolyData
*GetOutput(
int
idx);
55
void
SetOutput(
vtkPolyData
*output);
57
58
protected
:
59
vtkPolyDataReader
();
60
~
vtkPolyDataReader
();
61
62
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
63
vtkInformationVector
*);
64
65
// Update extent of PolyData is specified in pieces.
66
// Since all DataObjects should be able to set UpdateExent as pieces,
67
// just copy output->UpdateExtent all Inputs.
68
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
69
vtkInformationVector
*);
70
71
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
72
73
private
:
74
vtkPolyDataReader
(
const
vtkPolyDataReader
&);
// Not implemented.
75
void
operator=(
const
vtkPolyDataReader
&);
// Not implemented.
76
};
77
78
#endif
79
80
Generated on Thu May 24 2012 22:22:29 for VTK by
1.8.1