VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkSelection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkSelection.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
=========================================================================*/
33
#ifndef __vtkSelection_h
34
#define __vtkSelection_h
35
36
#include "
vtkDataObject.h
"
37
38
//BTX
39
class
vtkSelectionNode
;
40
struct
vtkSelectionInternals;
41
//ETX
42
43
class
VTK_FILTERING_EXPORT
vtkSelection
:
public
vtkDataObject
44
{
45
public
:
46
vtkTypeMacro(
vtkSelection
,
vtkDataObject
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
static
vtkSelection
*
New
();
49
51
virtual
void
Initialize
();
52
54
virtual
int
GetDataObjectType
() {
return
VTK_SELECTION
;}
55
58
unsigned
int
GetNumberOfNodes();
59
62
virtual
vtkSelectionNode
* GetNode(
unsigned
int
idx);
63
65
virtual
void
AddNode(
vtkSelectionNode
*);
66
68
69
virtual
void
RemoveNode(
unsigned
int
idx);
70
virtual
void
RemoveNode(
vtkSelectionNode
*);
71
virtual
void
RemoveAllNodes();
73
75
virtual
void
DeepCopy
(
vtkDataObject
* src);
76
79
virtual
void
ShallowCopy
(
vtkDataObject
* src);
80
84
virtual
void
Union(
vtkSelection
* selection);
85
89
virtual
void
Union(
vtkSelectionNode
* node);
90
92
unsigned
long
GetMTime
();
93
95
96
virtual
void
Dump();
97
//BTX
98
virtual
void
Dump(ostream& os);
99
//ETX
101
103
104
static
vtkSelection
*
GetData
(
vtkInformation
*
info
);
105
static
vtkSelection
*
GetData
(
vtkInformationVector
* v,
int
i=0);
107
108
//BTX
109
protected
:
110
vtkSelection
();
111
~
vtkSelection
();
112
113
private
:
114
vtkSelection
(
const
vtkSelection
&);
// Not implemented.
115
void
operator=(
const
vtkSelection
&);
// Not implemented.
116
117
vtkSelectionInternals* Internal;
118
//ETX
119
};
120
121
#endif
Generated on Sun Sep 9 2012 13:03:29 for VTK by
1.8.1.2