VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkSelectionNode.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkSelectionNode.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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
=========================================================================*/
51
#ifndef __vtkSelectionNode_h
52
#define __vtkSelectionNode_h
53
54
#include "
vtkObject.h
"
55
56
//BTX
57
class
vtkAbstractArray
;
58
class
vtkDataSetAttributes
;
59
class
vtkInformation
;
60
class
vtkInformationDoubleKey
;
61
class
vtkInformationIntegerKey
;
62
class
vtkInformationObjectBaseKey
;
63
class
vtkProp
;
64
class
vtkTable
;
65
//ETX
66
67
class
VTK_FILTERING_EXPORT
vtkSelectionNode
:
public
vtkObject
68
{
69
public
:
70
vtkTypeMacro(
vtkSelectionNode
,
vtkObject
);
71
void
PrintSelf
(ostream& os,
vtkIndent
indent);
72
static
vtkSelectionNode
*
New
();
73
75
virtual
void
Initialize();
76
78
79
virtual
void
SetSelectionList(
vtkAbstractArray
*);
80
virtual
vtkAbstractArray
* GetSelectionList();
82
84
85
virtual
void
SetSelectionData(
vtkDataSetAttributes
*
data
);
86
vtkGetObjectMacro(SelectionData,
vtkDataSetAttributes
);
88
90
91
vtkGetObjectMacro(Properties,
vtkInformation
);
93
95
virtual
void
DeepCopy(
vtkSelectionNode
* src);
96
100
virtual
void
ShallowCopy(
vtkSelectionNode
* src);
101
103
unsigned
long
GetMTime
();
104
105
// vtkSelectionNode specific keys follow:
107
120
static
vtkInformationIntegerKey
* CONTENT_TYPE();
121
//BTX
122
enum
SelectionContent
123
{
124
SELECTIONS
,
// Deprecated.
125
GLOBALIDS
,
126
PEDIGREEIDS
,
127
VALUES
,
128
INDICES
,
129
FRUSTUM
,
130
LOCATIONS
,
131
THRESHOLDS
,
132
BLOCKS
,
// used to select blocks within a composite dataset.
133
QUERY
134
};
135
//ETX
137
139
141
virtual
void
SetContentType(
int
type
);
142
virtual
int
GetContentType();
144
146
150
static
vtkInformationIntegerKey
* FIELD_TYPE();
151
//BTX
152
enum
SelectionField
153
{
154
CELL
,
155
POINT
,
156
FIELD
,
157
VERTEX
,
158
EDGE
,
159
ROW
160
};
161
//ETX
163
165
167
virtual
void
SetFieldType(
int
type
);
168
virtual
int
GetFieldType();
170
172
173
vtkSetStringMacro(QueryString);
174
vtkGetStringMacro(QueryString);
176
179
static
vtkInformationDoubleKey
* EPSILON();
180
184
static
vtkInformationIntegerKey
* CONTAINING_CELLS();
185
190
static
vtkInformationIntegerKey
* COMPONENT_NUMBER();
191
193
static
vtkInformationIntegerKey
* INVERSE();
194
197
static
vtkInformationIntegerKey
* PIXEL_COUNT();
198
200
static
vtkInformationObjectBaseKey
* SOURCE();
201
204
static
vtkInformationIntegerKey
* SOURCE_ID();
205
207
static
vtkInformationObjectBaseKey
* PROP();
208
211
static
vtkInformationIntegerKey
* PROP_ID();
212
214
static
vtkInformationIntegerKey
* PROCESS_ID();
215
217
static
vtkInformationIntegerKey
* COMPOSITE_INDEX();
218
220
221
static
vtkInformationIntegerKey
* HIERARCHICAL_LEVEL();
222
static
vtkInformationIntegerKey
* HIERARCHICAL_INDEX();
224
228
static
vtkInformationIntegerKey
* INDEXED_VERTICES();
229
232
void
UnionSelectionList(
vtkSelectionNode
* other);
233
237
void
SubtractSelectionList(
vtkSelectionNode
* other);
238
241
bool
EqualProperties(
vtkSelectionNode
* other,
bool
fullcompare=
true
);
242
243
//BTX
244
protected
:
245
vtkSelectionNode
();
246
~
vtkSelectionNode
();
247
248
vtkInformation
*
Properties
;
249
vtkDataSetAttributes
*
SelectionData
;
250
char
*
QueryString
;
251
252
private
:
253
vtkSelectionNode
(
const
vtkSelectionNode
&);
// Not implemented.
254
void
operator=(
const
vtkSelectionNode
&);
// Not implemented.
255
//ETX
256
};
257
258
#endif
Generated on Tue Jan 8 2013 05:45:26 for VTK by
1.8.1.2