Open3D (C++ API)
0.18.0+601516a
cpp
open3d
visualization
visualizer
GuiWidgets.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include "
open3d/visualization/gui/Button.h
"
11
12
namespace
open3d
{
13
namespace
visualization {
14
15
class
SmallButton
:
public
gui::Button
{
16
using
Super =
Button
;
17
18
public
:
19
explicit
SmallButton
(
const
char
*title);
20
21
gui::Size
CalcPreferredSize
(
const
gui::LayoutContext
&
context
,
22
const
Constraints
&constraints)
const override
;
23
};
24
25
class
SmallToggleButton
:
public
SmallButton
{
26
using
Super =
SmallButton
;
27
28
public
:
29
explicit
SmallToggleButton
(
const
char
*title);
30
};
31
32
}
// namespace visualization
33
}
// namespace open3d
Button.h
context
ImGuiContext * context
Definition:
Window.cpp:76
open3d::visualization::SmallButton
Definition:
GuiWidgets.h:15
open3d::visualization::SmallButton::CalcPreferredSize
gui::Size CalcPreferredSize(const gui::LayoutContext &context, const Constraints &constraints) const override
Definition:
GuiWidgets.cpp:17
open3d::visualization::SmallButton::SmallButton
SmallButton(const char *title)
Definition:
GuiWidgets.cpp:15
open3d::visualization::SmallToggleButton
Definition:
GuiWidgets.h:25
open3d::visualization::SmallToggleButton::SmallToggleButton
SmallToggleButton(const char *title)
Definition:
GuiWidgets.cpp:24
open3d::visualization::gui::Button
Definition:
Button.h:20
open3d::visualization::gui::Button::Button
Button(const char *title)
Definition:
Button.cpp:37
open3d
Definition:
PinholeCameraIntrinsic.cpp:16
open3d::visualization::gui::LayoutContext
Definition:
Widget.h:32
open3d::visualization::gui::Size
Definition:
Gui.h:22
open3d::visualization::gui::Widget::Constraints
Definition:
Widget.h:84
Generated by
1.9.1