Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
c
f
g
i
l
m
n
p
q
r
s
t
v
w
+
Functions
c
g
l
m
n
p
q
r
s
t
v
+
Variables
_
l
m
q
v
Typedefs
Enumerations
+
Enumerator
a
c
g
l
m
n
p
q
r
s
t
v
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
2
3
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
g
i
l
m
n
p
q
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Related Functions
:
a
b
c
d
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
+
Typedefs
b
c
g
i
k
m
n
o
p
q
s
u
v
z
Enumerations
+
Enumerator
c
k
v
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Remoting
Views
vtk2DWidgetRepresentation.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef vtk2DWidgetRepresentation_h
4
#define vtk2DWidgetRepresentation_h
5
6
#include "
vtkContextItem.h
"
// needed for vtkWeakPOinter<vtkContextItem>
7
#include "
vtkDataRepresentation.h
"
8
#include "
vtkRemotingViewsModule.h
"
// needed for exports
9
#include "
vtkWeakPointer.h
"
// needed for WeakPointer
10
11
class
vtkPVContextView
;
12
21
class
VTKREMOTINGVIEWS_EXPORT
vtk2DWidgetRepresentation
:
public
vtkDataRepresentation
22
{
23
public
:
24
static
vtk2DWidgetRepresentation
*
New
();
25
vtkTypeMacro(
vtk2DWidgetRepresentation
,
vtkDataRepresentation
);
26
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
27
29
32
vtkSetMacro(ContextItem,
vtkContextItem
*);
33
virtual
vtkContextItem
*
GetContextItem
()
const
{
return
this->ContextItem; };
35
37
40
vtkSetMacro(Enabled,
bool
);
41
vtkGetMacro(Enabled,
bool
);
42
vtkBooleanMacro(Enabled,
bool
);
44
45
protected
:
46
vtk2DWidgetRepresentation
();
47
~
vtk2DWidgetRepresentation
()
override
;
48
54
bool
AddToView
(
vtkView
* view)
override
;
55
61
bool
RemoveFromView
(
vtkView
* view)
override
;
62
63
vtkWeakPointer<vtkContextItem>
ContextItem
;
64
vtkWeakPointer<vtkPVContextView>
View
;
65
bool
Enabled =
false
;
66
67
private
:
68
vtk2DWidgetRepresentation
(
const
vtk2DWidgetRepresentation
&) =
delete
;
69
void
operator=
(
const
vtk2DWidgetRepresentation
&) =
delete
;
70
};
71
72
#endif
VTKREMOTINGVIEWS_EXPORT
#define VTKREMOTINGVIEWS_EXPORT
Definition:
vtkRemotingViewsModule.h:15
vtkContextItem
vtk2DWidgetRepresentation::GetContextItem
virtual vtkContextItem * GetContextItem() const
Get/Set the representation.
Definition:
vtk2DWidgetRepresentation.h:33
vtkDataRepresentation::AddToView
virtual bool AddToView(vtkView *vtkNotUsed(view))
vtkIndent
vtkDataRepresentation::RemoveFromView
virtual bool RemoveFromView(vtkView *vtkNotUsed(view))
vtkWeakPointer< vtkContextItem >
vtkView
vtkDataRepresentation
vtk2DWidgetRepresentation
vtk2DWidgetRepresentation is a vtkDataRepresentation subclass for 2D widgets and their representation...
Definition:
vtk2DWidgetRepresentation.h:21
vtkDataRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkRemotingViewsModule.h
vtkWeakPointer.h
vtkDataRepresentation::New
static vtkDataRepresentation * New()
vtkPVContextView
vtkPVContextView adopts vtkContextView so that it can be used in ParaView configurations.
Definition:
vtkPVContextView.h:31
vtkDataRepresentation.h
vtk2DWidgetRepresentation::View
vtkWeakPointer< vtkPVContextView > View
Definition:
vtk2DWidgetRepresentation.h:64
vtk2DWidgetRepresentation::ContextItem
vtkWeakPointer< vtkContextItem > ContextItem
Definition:
vtk2DWidgetRepresentation.h:63
vtkContextItem.h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
Generated by
1.8.13 on Wed Apr 23 2025