VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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 "
vtkDataReader.h
"
40
41
class
vtkPolyData
;
42
43
class
VTK_IO_EXPORT
vtkPolyDataReader
:
public
vtkDataReader
44
{
45
public
:
46
static
vtkPolyDataReader
*
New
();
47
vtkTypeMacro(
vtkPolyDataReader
,
vtkDataReader
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
52
vtkPolyData
*GetOutput();
53
vtkPolyData
*GetOutput(
int
idx);
54
void
SetOutput(
vtkPolyData
*output);
56
57
protected
:
58
vtkPolyDataReader
();
59
~
vtkPolyDataReader
();
60
61
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
62
vtkInformationVector
*);
63
64
// Update extent of PolyData is specified in pieces.
65
// Since all DataObjects should be able to set UpdateExent as pieces,
66
// just copy output->UpdateExtent all Inputs.
67
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
68
vtkInformationVector
*);
69
70
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
71
72
private
:
73
vtkPolyDataReader
(
const
vtkPolyDataReader
&);
// Not implemented.
74
void
operator=(
const
vtkPolyDataReader
&);
// Not implemented.
75
};
76
77
#endif
78
79
Generated on Wed May 30 2012 13:22:18 for VTK by
1.8.1