VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkExtractSelection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelection.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
=========================================================================*/
33
#ifndef __vtkExtractSelection_h
34
#define __vtkExtractSelection_h
35
36
#include "
vtkExtractSelectionBase.h
"
37
38
class
vtkExtractSelectedBlock
;
39
class
vtkExtractSelectedFrustum
;
40
class
vtkExtractSelectedIds
;
41
class
vtkExtractSelectedLocations
;
42
class
vtkExtractSelectedRows
;
43
class
vtkExtractSelectedThresholds
;
44
class
vtkProbeSelectedLocations
;
45
class
vtkSelection
;
46
class
vtkSelectionNode
;
47
48
class
VTK_GRAPHICS_EXPORT
vtkExtractSelection
:
public
vtkExtractSelectionBase
49
{
50
public
:
51
static
vtkExtractSelection
*
New
();
52
vtkTypeMacro(
vtkExtractSelection
,
vtkExtractSelectionBase
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
56
59
vtkSetMacro(ShowBounds,
int
);
60
vtkGetMacro(ShowBounds,
int
);
61
vtkBooleanMacro(ShowBounds,
int
);
63
65
68
vtkSetMacro(UseProbeForLocations,
int
);
69
vtkGetMacro(UseProbeForLocations,
int
);
70
vtkBooleanMacro(UseProbeForLocations,
int
);
72
73
protected
:
74
vtkExtractSelection
();
75
~
vtkExtractSelection
();
76
77
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
78
79
//sets up empty output dataset
80
virtual
int
RequestDataObject
(
vtkInformation
* request,
81
vtkInformationVector
** inputVector,
82
vtkInformationVector
* outputVector);
83
84
// runs the algorithm and fills the output with results
85
virtual
int
RequestData
(
vtkInformation
*,
86
vtkInformationVector
**,
87
vtkInformationVector
*);
88
89
// used for composite, non-hierarhical input.
90
vtkDataObject
* RequestDataInternal(
91
unsigned
int
composite_index,
92
vtkDataObject
* non_composite_input,
vtkSelection
* sel,
93
vtkInformation
* outInfo);
94
95
// Used for hierarchical input.
96
vtkDataObject
* RequestDataInternal(
97
unsigned
int
composite_index,
98
unsigned
int
level
,
99
unsigned
int
index
,
100
vtkDataObject
* non_composite_input,
vtkSelection
* sel,
101
vtkInformation
* outInfo);
102
103
104
// called for non-composite input or for a block in a composite dataset.
105
vtkDataObject
* RequestDataFromBlock(
vtkDataObject
* input,
106
vtkSelectionNode
* sel,
vtkInformation
* outInfo);
107
108
vtkExtractSelectedBlock
*
BlockFilter
;
109
vtkExtractSelectedFrustum
*
FrustumFilter
;
110
vtkExtractSelectedIds
*
IdsFilter
;
111
vtkExtractSelectedLocations
*
LocationsFilter
;
112
vtkExtractSelectedRows
*
RowsFilter
;
113
vtkExtractSelectedThresholds
*
ThresholdsFilter
;
114
vtkProbeSelectedLocations
*
ProbeFilter
;
115
116
int
UseProbeForLocations
;
117
int
ShowBounds
;
118
private
:
119
vtkExtractSelection
(
const
vtkExtractSelection
&);
// Not implemented.
120
void
operator=(
const
vtkExtractSelection
&);
// Not implemented.
121
};
122
123
#endif
Generated on Wed May 30 2012 13:21:59 for VTK by
1.8.1