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
};
134
//ETX
136
138
140
virtual
void
SetContentType(
int
type);
141
virtual
int
GetContentType();
143
145
149
static
vtkInformationIntegerKey
* FIELD_TYPE();
150
//BTX
151
enum
SelectionField
152
{
153
CELL
,
154
POINT
,
155
FIELD
,
156
VERTEX
,
157
EDGE
,
158
ROW
159
};
160
//ETX
162
164
166
virtual
void
SetFieldType(
int
type);
167
virtual
int
GetFieldType();
169
171
173
virtual
void
SetSelectedProp(
vtkProp
* prop);
174
virtual
vtkProp
* GetSelectedProp();
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
236
bool
EqualProperties(
vtkSelectionNode
* other,
bool
fullcompare=
true
);
237
238
//BTX
239
protected
:
240
vtkSelectionNode
();
241
~
vtkSelectionNode
();
242
243
vtkInformation
*
Properties
;
244
vtkDataSetAttributes
*
SelectionData
;
245
246
private
:
247
vtkSelectionNode
(
const
vtkSelectionNode
&);
// Not implemented.
248
void
operator=(
const
vtkSelectionNode
&);
// Not implemented.
249
//ETX
250
};
251
252
#endif
Generated on Sun Sep 15 2013 03:44:23 for VTK by
1.8.4