UnitreeCameraSDK  1.0.1
unitree stereo camra apis
Classes | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
glwindow::GLWindow Class Reference
Collaboration diagram for glwindow::GLWindow:
Collaboration graph
[legend]

Classes

struct  ScopedContext
 
struct  SystemState
 

Public Member Functions

 GLWindow (int w=-1, int h=-1, const char *title=0)
 
int width () const
 
int height () const
 
bool visible () const
 
bool alive () const
 
bool make_current ()
 
bool push_context ()
 
void pop_context ()
 
void swap_buffers ()
 
void set_size (int w, int h)
 
void set_position (int x, int y)
 
void set_title (const char *title)
 
void add_handler (EventHandler *handler)
 
bool remove_handler (EventHandler *handler)
 
void handle_events ()
 
void destroy ()
 
void draw_text (double x, double y, const char *text, int xywh[4]=0)
 

Static Public Member Functions

static void handle_all_events ()
 

Static Protected Member Functions

static void add_window (GLWindow *win)
 
static bool remove_window (GLWindow *win)
 

Protected Attributes

SystemStatesys_state
 
std::vector< EventHandler * > handlers
 
GLWindowprev_active
 

Static Protected Attributes

static GLWindowactive_context = 0
 
static std::vector< GLWindow * > all_windows
 

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