VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkPolyDataSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPolyDataSource.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
=========================================================================*/
28
#ifndef __vtkPolyDataSource_h
29
#define __vtkPolyDataSource_h
30
31
#include "
vtkSource.h
"
32
33
class
vtkPolyData
;
34
35
class
VTK_FILTERING_EXPORT
vtkPolyDataSource
:
public
vtkSource
36
{
37
public
:
38
vtkTypeMacro(
vtkPolyDataSource
,
vtkSource
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
vtkPolyData
*
GetOutput
();
44
vtkPolyData
*
GetOutput
(
int
idx);
45
void
SetOutput(
vtkPolyData
*output);
47
48
protected
:
49
vtkPolyDataSource
();
50
~vtkPolyDataSource
() {};
51
52
// Update extent of PolyData is specified in pieces.
53
// Since all DataObjects should be able to set UpdateExent as pieces,
54
// just copy output->UpdateExtent all Inputs.
55
void
ComputeInputUpdateExtents
(
vtkDataObject
*output);
56
57
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
58
59
private
:
60
vtkPolyDataSource
(
const
vtkPolyDataSource
&);
// Not implemented.
61
void
operator=(
const
vtkPolyDataSource
&);
// Not implemented.
62
};
63
64
#endif
65
66
67
68
69
Generated on Fri Aug 2 2013 12:19:48 for VTK by
1.8.4