Loading [MathJax]/extensions/TeX/AMSsymbols.js
Open3D (C++ API)
0.18.0+252c867
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
b
c
d
e
f
h
i
k
m
n
p
r
s
t
u
v
w
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
v
Enumerations
a
b
c
d
e
f
h
i
k
m
p
r
s
t
u
v
Enumerator
a
c
d
f
g
h
k
l
m
n
r
s
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
h
i
k
m
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
g
i
l
m
p
q
r
s
t
w
Enumerator
a
b
d
f
h
i
l
m
n
o
p
r
s
u
v
w
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
f
g
i
k
m
n
o
p
r
s
t
v
Variables
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
cpp
open3d
visualization
gui
WidgetStack.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2023 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <functional>
11
#include <memory>
12
13
#include "
open3d/visualization/gui/WidgetProxy.h
"
14
15
namespace
open3d
{
16
namespace
visualization {
17
namespace
gui {
18
32
class
WidgetStack
:
public
WidgetProxy
{
33
public
:
34
WidgetStack
();
35
~WidgetStack
()
override
;
36
43
void
PushWidget
(std::shared_ptr<Widget> widget);
44
51
std::shared_ptr<Widget>
PopWidget
();
52
58
void
SetOnTop
(std::function<
void
(std::shared_ptr<Widget>)> onTopCallback);
59
60
private
:
61
struct
Impl
;
62
std::unique_ptr<Impl> impl_;
63
};
64
65
}
// namespace gui
66
}
// namespace visualization
67
}
// namespace open3d
WidgetProxy.h
open3d::visualization::gui::WidgetProxy
Widget container to delegate any widget dynamically.
Definition:
WidgetProxy.h:47
open3d::visualization::gui::WidgetStack
WidgetStack manages multiple widgets in a stack.
Definition:
WidgetStack.h:32
open3d::visualization::gui::WidgetStack::PushWidget
void PushWidget(std::shared_ptr< Widget > widget)
Push a widget into stack so the it be the topmost widget.
Definition:
WidgetStack.cpp:23
open3d::visualization::gui::WidgetStack::SetOnTop
void SetOnTop(std::function< void(std::shared_ptr< Widget >)> onTopCallback)
Setup a callback while a widget is popped out and a new widget becomes the topmost one.
Definition:
WidgetStack.cpp:44
open3d::visualization::gui::WidgetStack::~WidgetStack
~WidgetStack() override
open3d::visualization::gui::WidgetStack::PopWidget
std::shared_ptr< Widget > PopWidget()
Pop the top most widget.
Definition:
WidgetStack.cpp:28
open3d::visualization::gui::WidgetStack::WidgetStack
WidgetStack()
Definition:
WidgetStack.cpp:20
open3d
Definition:
PinholeCameraIntrinsic.cpp:16
open3d::visualization::gui::WidgetStack::Impl
Definition:
WidgetStack.cpp:15
Generated by
1.9.1