VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkDataSetToDataSetFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDataSetToDataSetFilter.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
=========================================================================*/
40
#ifndef __vtkDataSetToDataSetFilter_h
41
#define __vtkDataSetToDataSetFilter_h
42
43
#include "
vtkDataSetSource.h
"
44
45
class
vtkDataSet
;
46
class
vtkPolyData
;
47
class
vtkRectilinearGrid
;
48
class
vtkStructuredGrid
;
49
class
vtkStructuredPoints
;
50
class
vtkUnstructuredGrid
;
51
52
class
VTK_FILTERING_EXPORT
vtkDataSetToDataSetFilter
:
public
vtkDataSetSource
53
{
54
55
public
:
56
vtkTypeMacro(
vtkDataSetToDataSetFilter
,
vtkDataSetSource
);
57
void
PrintSelf
(ostream& os,
vtkIndent
indent);
58
60
void
SetInput(
vtkDataSet
*input);
61
63
65
vtkDataSet
*
GetOutput
();
66
vtkDataSet
*
GetOutput
(
int
idx);
68
70
virtual
vtkPolyData
*GetPolyDataOutput();
71
73
virtual
vtkStructuredPoints
*GetStructuredPointsOutput();
74
76
virtual
vtkStructuredGrid
*GetStructuredGridOutput();
77
79
virtual
vtkUnstructuredGrid
*GetUnstructuredGridOutput();
80
82
virtual
vtkRectilinearGrid
*GetRectilinearGridOutput();
83
85
vtkDataSet
*GetInput();
86
88
virtual
void
ComputeInputUpdateExtents
(
vtkDataObject
*output );
89
91
95
virtual
int
ProcessRequest
(
vtkInformation
*,
96
vtkInformationVector
**,
97
vtkInformationVector
*);
99
100
protected
:
101
vtkDataSetToDataSetFilter
();
102
~
vtkDataSetToDataSetFilter
();
103
104
void
ExecuteInformation
();
105
106
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*);
107
108
// This is called by the superclass.
109
// This is the method you should override.
110
virtual
int
RequestDataObject(
vtkInformation
* request,
111
vtkInformationVector
** inputVector,
112
vtkInformationVector
* outputVector);
113
114
private
:
115
vtkDataSetToDataSetFilter
(
const
vtkDataSetToDataSetFilter
&);
// Not implemented.
116
void
operator=(
const
vtkDataSetToDataSetFilter
&);
// Not implemented.
117
};
118
119
#endif
120
121
122
Generated on Sun Sep 9 2012 13:03:28 for VTK by
1.8.1.2