|
Open3D (C++ API)
0.19.0
|
#include <WindowSystem.h>
Public Types | |
| using | OSWindow = void* |
Public Member Functions | |
| virtual | ~WindowSystem () |
| virtual void | Initialize ()=0 |
| virtual void | Uninitialize ()=0 |
| virtual void | WaitEventsTimeout (double timeout_secs)=0 |
| virtual Size | GetScreenSize (OSWindow w)=0 |
| virtual OSWindow | CreateOSWindow (Window *o3d_window, int width, int height, const char *title, int flags)=0 |
| virtual void | DestroyWindow (OSWindow w)=0 |
| virtual void | PostRedrawEvent (OSWindow w)=0 |
| virtual bool | GetWindowIsVisible (OSWindow w) const =0 |
| virtual void | ShowWindow (OSWindow w, bool show)=0 |
| virtual void | RaiseWindowToTop (OSWindow w)=0 |
| virtual bool | IsActiveWindow (OSWindow w) const =0 |
| virtual Point | GetWindowPos (OSWindow w) const =0 |
| virtual void | SetWindowPos (OSWindow w, int x, int y)=0 |
| virtual Size | GetWindowSize (OSWindow w) const =0 |
| virtual void | SetWindowSize (OSWindow w, int width, int height)=0 |
| virtual Size | GetWindowSizePixels (OSWindow w) const =0 |
| virtual void | SetWindowSizePixels (OSWindow w, const Size &size)=0 |
| virtual float | GetWindowScaleFactor (OSWindow w) const =0 |
| virtual float | GetUIScaleFactor (OSWindow w) const =0 |
| virtual void | SetWindowTitle (OSWindow w, const char *title)=0 |
| virtual Point | GetMousePosInWindow (OSWindow w) const =0 |
| virtual int | GetMouseButtons (OSWindow w) const =0 |
| virtual void | CancelUserClose (OSWindow w)=0 |
| virtual void * | GetNativeDrawable (OSWindow w)=0 |
| virtual rendering::FilamentRenderer * | CreateRenderer (OSWindow w)=0 |
| virtual void | ResizeRenderer (OSWindow w, rendering::FilamentRenderer *renderer)=0 |
| virtual MenuBase * | CreateOSMenu ()=0 |
Static Public Attributes | |
| static constexpr int | FLAG_VISIBLE = 0 |
| static constexpr int | FLAG_HIDDEN = (1 << 0) |
| static constexpr int | FLAG_TOPMOST = (1 << 1) |
WindowSystem (and its derived classes) are internal to Open3D and not intended to be used directly. Internal users should get the WindowSystem object using Application::GetInstance().GetWindowSystem().
| using open3d::visualization::gui::WindowSystem::OSWindow = void* |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |