Open3D (C++ API)
Namespaces | Data Structures | Enumerations | Functions
open3d::gui Namespace Reference

Namespaces

 util
 

Data Structures

class  Application
 
class  Button
 
class  Checkbox
 
class  CollapsableVert
 
class  Color
 
class  ColorEdit
 
class  Combobox
 
class  Dialog
 Base class for dialogs. More...
 
class  DirEntry
 
struct  DrawContext
 
class  FileDialog
 
class  FlyInteractor
 
class  Horiz
 Lays out widgets horizontally. More...
 
class  ImguiFilamentBridge
 
class  Interactors
 
struct  KeyEvent
 
class  Label
 
class  Layout1D
 
class  ListView
 
struct  Margins
 
class  Menu
 
struct  MouseEvent
 
class  MouseInteractor
 
class  NumberEdit
 
struct  Point
 
struct  Rect
 
class  RotateCameraInteractor
 
class  RotateIBLInteractor
 
class  RotateModelInteractor
 
class  RotateSunInteractor
 
class  RotationInteractor
 
class  SceneWidget
 
struct  Size
 
class  Slider
 
class  TabControl
 
class  TextEdit
 
struct  TextInputEvent
 
struct  Theme
 
struct  TickEvent
 
class  VectorEdit
 
class  Vert
 Lays out widgets vertically. More...
 
class  VGrid
 
class  Widget
 
class  Window
 

Enumerations

enum  MouseButton {
  MouseButton::NONE = 0, MouseButton::LEFT = (1 << 0), MouseButton::MIDDLE = (1 << 1), MouseButton::RIGHT = (1 << 2),
  MouseButton::BUTTON4 = (1 << 3), MouseButton::BUTTON5 = (1 << 4)
}
 
enum  KeyModifier {
  KeyModifier::NONE = 0, KeyModifier::SHIFT = (1 << 0), KeyModifier::CTRL = (1 << 1), KeyModifier::ALT = (1 << 2),
  KeyModifier::META = (1 << 3)
}
 
enum  KeyName {
  KEY_NONE = 0, KEY_BACKSPACE = 8, KEY_TAB = 9, KEY_ENTER = 10,
  KEY_ESCAPE = 27, KEY_SPACE = 32, KEY_EXCLAMATION = 33, KEY_DOUBLE_QUOTE = 34,
  KEY_HASH = 35, KEY_DOLLAR_SIGN = 36, KEY_PERCENT = 37, KEY_AMPERSAND = 38,
  KEY_SINGLE_QUOTE = 39, KEY_LEFT_PAREN = 40, KEY_RIGHT_PAREN = 41, KEY_ASTERISK = 42,
  KEY_PLUS = 43, KEY_COMMA = 44, KEY_MINUS = 45, KEY_PERIOD = 46,
  KEY_SLASH = 47, KEY_0 = 48, KEY_1, KEY_2,
  KEY_3, KEY_4, KEY_5, KEY_6,
  KEY_7, KEY_8, KEY_9, KEY_COLON = 58,
  KEY_SEMICOLON = 59, KEY_LESS_THAN = 60, KEY_EQUALS = 61, KEY_GREATER_THAN = 62,
  KEY_QUESTION_MARK = 63, KEY_AT = 64, KEY_LEFT_BRACKET = 91, KEY_BACKSLASH = 92,
  KEY_RIGHT_BRACKET = 93, KEY_CARET = 94, KEY_UNDERSCORE = 95, KEY_BACKTICK = 96,
  KEY_A = 97, KEY_B, KEY_C, KEY_D,
  KEY_E, KEY_F, KEY_G, KEY_H,
  KEY_I, KEY_J, KEY_K, KEY_L,
  KEY_M, KEY_N, KEY_O, KEY_P,
  KEY_Q, KEY_R, KEY_S, KEY_T,
  KEY_U, KEY_V, KEY_W, KEY_X,
  KEY_Y, KEY_Z, KEY_LEFT_BRACE = 123, KEY_PIPE = 124,
  KEY_RIGHT_BRACE = 125, KEY_TILDE = 126, KEY_DELETE = 127, KEY_LSHIFT = 256,
  KEY_RSHIFT, KEY_LCTRL, KEY_RCTRL, KEY_ALT,
  KEY_META, KEY_CAPSLOCK, KEY_LEFT, KEY_RIGHT,
  KEY_UP, KEY_DOWN, KEY_INSERT, KEY_HOME,
  KEY_END, KEY_PAGEUP, KEY_PAGEDOWN, KEY_UNKNOWN = 1000
}
 
enum  BorderShape { BorderShape::NONE = 0, BorderShape::RECT, BorderShape::ROUNDED_RECT }
 
enum  Alignment : unsigned int {
  Alignment::LEFT = 1, Alignment::HCENTER = 2, Alignment::RIGHT = 3, Alignment::TOP = (1 << 4),
  Alignment::VCENTER = (2 << 4), Alignment::BOTTOM = (3 << 4), Alignment::CENTER = (2 | (2 << 4))
}
 

Functions

constexpr Alignment operator| (Alignment x, Alignment y)
 
void * GetNativeDrawable (GLFWwindow *glfw_window)
 
void PostNativeExposeEvent (GLFWwindow *glfw_window)
 
void ShowNativeAlert (const char *message)
 
void SetNativeMenubar (void *menubar)
 
void ShowNativeFileDialog (FileDialog::Mode type, const std::string &path, const std::vector< std::pair< std::string, std::string >> &filters, std::function< void(const char *)> on_ok, std::function< void()> on_cancel)
 

Enumeration Type Documentation

◆ Alignment

enum open3d::gui::Alignment : unsigned int
strong
Enumerator
LEFT 
HCENTER 
RIGHT 
TOP 
VCENTER 
BOTTOM 
CENTER 

◆ BorderShape

Enumerator
NONE 
RECT 
ROUNDED_RECT 

◆ KeyModifier

Enumerator
NONE 
SHIFT 
CTRL 
ALT 
META 

◆ KeyName

Enumerator
KEY_NONE 
KEY_BACKSPACE 
KEY_TAB 
KEY_ENTER 
KEY_ESCAPE 
KEY_SPACE 
KEY_EXCLAMATION 
KEY_DOUBLE_QUOTE 
KEY_HASH 
KEY_DOLLAR_SIGN 
KEY_PERCENT 
KEY_AMPERSAND 
KEY_SINGLE_QUOTE 
KEY_LEFT_PAREN 
KEY_RIGHT_PAREN 
KEY_ASTERISK 
KEY_PLUS 
KEY_COMMA 
KEY_MINUS 
KEY_PERIOD 
KEY_SLASH 
KEY_0 
KEY_1 
KEY_2 
KEY_3 
KEY_4 
KEY_5 
KEY_6 
KEY_7 
KEY_8 
KEY_9 
KEY_COLON 
KEY_SEMICOLON 
KEY_LESS_THAN 
KEY_EQUALS 
KEY_GREATER_THAN 
KEY_QUESTION_MARK 
KEY_AT 
KEY_LEFT_BRACKET 
KEY_BACKSLASH 
KEY_RIGHT_BRACKET 
KEY_CARET 
KEY_UNDERSCORE 
KEY_BACKTICK 
KEY_A 
KEY_B 
KEY_C 
KEY_D 
KEY_E 
KEY_F 
KEY_G 
KEY_H 
KEY_I 
KEY_J 
KEY_K 
KEY_L 
KEY_M 
KEY_N 
KEY_O 
KEY_P 
KEY_Q 
KEY_R 
KEY_S 
KEY_T 
KEY_U 
KEY_V 
KEY_W 
KEY_X 
KEY_Y 
KEY_Z 
KEY_LEFT_BRACE 
KEY_PIPE 
KEY_RIGHT_BRACE 
KEY_TILDE 
KEY_DELETE 
KEY_LSHIFT 
KEY_RSHIFT 
KEY_LCTRL 
KEY_RCTRL 
KEY_ALT 
KEY_META 
KEY_CAPSLOCK 
KEY_LEFT 
KEY_RIGHT 
KEY_UP 
KEY_DOWN 
KEY_INSERT 
KEY_HOME 
KEY_END 
KEY_PAGEUP 
KEY_PAGEDOWN 
KEY_UNKNOWN 

◆ MouseButton

Enumerator
NONE 
LEFT 
MIDDLE 
RIGHT 
BUTTON4 
BUTTON5 

Function Documentation

◆ GetNativeDrawable()

void * open3d::gui::GetNativeDrawable ( GLFWwindow *  glfw_window)

◆ operator|()

constexpr Alignment open3d::gui::operator| ( Alignment  x,
Alignment  y 
)

◆ PostNativeExposeEvent()

void open3d::gui::PostNativeExposeEvent ( GLFWwindow *  glfw_window)

◆ SetNativeMenubar()

void open3d::gui::SetNativeMenubar ( void *  menubar)

◆ ShowNativeAlert()

void open3d::gui::ShowNativeAlert ( const char *  message)

◆ ShowNativeFileDialog()

void open3d::gui::ShowNativeFileDialog ( FileDialog::Mode  type,
const std::string &  path,
const std::vector< std::pair< std::string, std::string >> &  filters,
std::function< void(const char *)>  on_ok,
std::function< void()>  on_cancel 
)