Open3D (C++ API)  0.18.0+252c867
Data Structures | Public Types | Public Member Functions
open3d::visualization::gui::BitmapWindowSystem Class Reference

#include <BitmapWindowSystem.h>

Inheritance diagram for open3d::visualization::gui::BitmapWindowSystem:
open3d::visualization::gui::WindowSystem open3d::visualization::webrtc_server::WebRTCWindowSystem

Data Structures

struct  Impl
 

Public Types

enum class  Rendering { NORMAL , HEADLESS }
 
using OnDrawCallback = std::function< void(Window *, std::shared_ptr< core::Tensor >)>
 
- Public Types inherited from open3d::visualization::gui::WindowSystem
using OSWindow = void *
 

Public Member Functions

 BitmapWindowSystem (Rendering mode=Rendering::NORMAL)
 
 ~BitmapWindowSystem ()
 
void Initialize () override
 
void Uninitialize () override
 
void SetOnWindowDraw (OnDrawCallback callback)
 
void WaitEventsTimeout (double timeout_secs) override
 
OSWindow CreateOSWindow (Window *o3d_window, int width, int height, const char *title, int flags) override
 
void DestroyWindow (OSWindow w) override
 
Size GetScreenSize (OSWindow w) override
 
void PostRedrawEvent (OSWindow w) override
 
void PostMouseEvent (OSWindow w, const MouseEvent &e)
 
void PostKeyEvent (OSWindow w, const KeyEvent &e)
 
void PostTextInputEvent (OSWindow w, const TextInputEvent &e)
 
bool GetWindowIsVisible (OSWindow w) const override
 
void ShowWindow (OSWindow w, bool show) override
 
void RaiseWindowToTop (OSWindow w) override
 
bool IsActiveWindow (OSWindow w) const override
 
Point GetWindowPos (OSWindow w) const override
 
void SetWindowPos (OSWindow w, int x, int y) override
 
Size GetWindowSize (OSWindow w) const override
 
void SetWindowSize (OSWindow w, int width, int height) override
 
Size GetWindowSizePixels (OSWindow w) const override
 
void SetWindowSizePixels (OSWindow w, const Size &size) override
 
float GetWindowScaleFactor (OSWindow w) const override
 
float GetUIScaleFactor (OSWindow w) const override
 
void SetWindowTitle (OSWindow w, const char *title) override
 
Point GetMousePosInWindow (OSWindow w) const override
 
int GetMouseButtons (OSWindow w) const override
 
void CancelUserClose (OSWindow w) override
 
void * GetNativeDrawable (OSWindow w) override
 
rendering::FilamentRendererCreateRenderer (OSWindow w) override
 
void ResizeRenderer (OSWindow w, rendering::FilamentRenderer *renderer) override
 
MenuBaseCreateOSMenu () override
 
- Public Member Functions inherited from open3d::visualization::gui::WindowSystem
virtual ~WindowSystem ()
 

Additional Inherited Members

- Static Public Attributes inherited from open3d::visualization::gui::WindowSystem
static constexpr int FLAG_VISIBLE = 0
 
static constexpr int FLAG_HIDDEN = (1 << 0)
 
static constexpr int FLAG_TOPMOST = (1 << 1)
 

Member Typedef Documentation

◆ OnDrawCallback

Member Enumeration Documentation

◆ Rendering

Enumerator
NORMAL 
HEADLESS 

Constructor & Destructor Documentation

◆ BitmapWindowSystem()

open3d::visualization::gui::BitmapWindowSystem::BitmapWindowSystem ( Rendering  mode = Rendering::NORMAL)

◆ ~BitmapWindowSystem()

open3d::visualization::gui::BitmapWindowSystem::~BitmapWindowSystem ( )

Member Function Documentation

◆ CancelUserClose()

void open3d::visualization::gui::BitmapWindowSystem::CancelUserClose ( OSWindow  w)
overridevirtual

◆ CreateOSMenu()

MenuBase * open3d::visualization::gui::BitmapWindowSystem::CreateOSMenu ( )
overridevirtual

◆ CreateOSWindow()

WindowSystem::OSWindow open3d::visualization::gui::BitmapWindowSystem::CreateOSWindow ( Window o3d_window,
int  width,
int  height,
const char *  title,
int  flags 
)
overridevirtual

◆ CreateRenderer()

rendering::FilamentRenderer * open3d::visualization::gui::BitmapWindowSystem::CreateRenderer ( OSWindow  w)
overridevirtual

◆ DestroyWindow()

void open3d::visualization::gui::BitmapWindowSystem::DestroyWindow ( OSWindow  w)
overridevirtual

◆ GetMouseButtons()

int open3d::visualization::gui::BitmapWindowSystem::GetMouseButtons ( OSWindow  w) const
overridevirtual

◆ GetMousePosInWindow()

Point open3d::visualization::gui::BitmapWindowSystem::GetMousePosInWindow ( OSWindow  w) const
overridevirtual

◆ GetNativeDrawable()

void * open3d::visualization::gui::BitmapWindowSystem::GetNativeDrawable ( OSWindow  w)
overridevirtual

◆ GetScreenSize()

Size open3d::visualization::gui::BitmapWindowSystem::GetScreenSize ( OSWindow  w)
overridevirtual

◆ GetUIScaleFactor()

float open3d::visualization::gui::BitmapWindowSystem::GetUIScaleFactor ( OSWindow  w) const
overridevirtual

◆ GetWindowIsVisible()

bool open3d::visualization::gui::BitmapWindowSystem::GetWindowIsVisible ( OSWindow  w) const
overridevirtual

◆ GetWindowPos()

Point open3d::visualization::gui::BitmapWindowSystem::GetWindowPos ( OSWindow  w) const
overridevirtual

◆ GetWindowScaleFactor()

float open3d::visualization::gui::BitmapWindowSystem::GetWindowScaleFactor ( OSWindow  w) const
overridevirtual

◆ GetWindowSize()

Size open3d::visualization::gui::BitmapWindowSystem::GetWindowSize ( OSWindow  w) const
overridevirtual

◆ GetWindowSizePixels()

Size open3d::visualization::gui::BitmapWindowSystem::GetWindowSizePixels ( OSWindow  w) const
overridevirtual

◆ Initialize()

void open3d::visualization::gui::BitmapWindowSystem::Initialize ( )
overridevirtual

◆ IsActiveWindow()

bool open3d::visualization::gui::BitmapWindowSystem::IsActiveWindow ( OSWindow  w) const
overridevirtual

◆ PostKeyEvent()

void open3d::visualization::gui::BitmapWindowSystem::PostKeyEvent ( OSWindow  w,
const KeyEvent e 
)

◆ PostMouseEvent()

void open3d::visualization::gui::BitmapWindowSystem::PostMouseEvent ( OSWindow  w,
const MouseEvent e 
)

◆ PostRedrawEvent()

void open3d::visualization::gui::BitmapWindowSystem::PostRedrawEvent ( OSWindow  w)
overridevirtual

◆ PostTextInputEvent()

void open3d::visualization::gui::BitmapWindowSystem::PostTextInputEvent ( OSWindow  w,
const TextInputEvent e 
)

◆ RaiseWindowToTop()

void open3d::visualization::gui::BitmapWindowSystem::RaiseWindowToTop ( OSWindow  w)
overridevirtual

◆ ResizeRenderer()

void open3d::visualization::gui::BitmapWindowSystem::ResizeRenderer ( OSWindow  w,
rendering::FilamentRenderer renderer 
)
overridevirtual

◆ SetOnWindowDraw()

void open3d::visualization::gui::BitmapWindowSystem::SetOnWindowDraw ( OnDrawCallback  callback)

◆ SetWindowPos()

void open3d::visualization::gui::BitmapWindowSystem::SetWindowPos ( OSWindow  w,
int  x,
int  y 
)
overridevirtual

◆ SetWindowSize()

void open3d::visualization::gui::BitmapWindowSystem::SetWindowSize ( OSWindow  w,
int  width,
int  height 
)
overridevirtual

◆ SetWindowSizePixels()

void open3d::visualization::gui::BitmapWindowSystem::SetWindowSizePixels ( OSWindow  w,
const Size size 
)
overridevirtual

◆ SetWindowTitle()

void open3d::visualization::gui::BitmapWindowSystem::SetWindowTitle ( OSWindow  w,
const char *  title 
)
overridevirtual

◆ ShowWindow()

void open3d::visualization::gui::BitmapWindowSystem::ShowWindow ( OSWindow  w,
bool  show 
)
overridevirtual

◆ Uninitialize()

void open3d::visualization::gui::BitmapWindowSystem::Uninitialize ( )
overridevirtual

◆ WaitEventsTimeout()

void open3d::visualization::gui::BitmapWindowSystem::WaitEventsTimeout ( double  timeout_secs)
overridevirtual

The documentation for this class was generated from the following files: