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

Classes

struct  Viewpoint
 

Public Member Functions

 SceneWindow (int width, int height, const char *title)
 
void update ()
 
bool start_draw ()
 
void finish_draw ()
 
- Public Member Functions inherited from glwindow::EventHandler
virtual bool on_key_up (GLWindow &win, int key)
 
virtual bool on_text (GLWindow &win, const char *text, int len)
 
virtual bool on_close (GLWindow &win)
 

Public Attributes

GLWindow win
 
Viewpoint viewpoint
 

Protected Member Functions

bool on_key_down (GLWindow &win, int key)
 
bool on_button_down (GLWindow &win, int btn, int state, int x, int y)
 
bool on_button_up (GLWindow &win, int btn, int state, int x, int y)
 
bool on_mouse_move (GLWindow &win, int state, int x, int y)
 
bool on_mouse_wheel (GLWindow &win, int state, int x, int y, int dx, int dy)
 
bool on_resize (GLWindow &win, int x, int y, int w, int h)
 

Protected Attributes

bool dragging
 
int drag_btn
 
int x0
 
int y0
 
double inv_w0
 
double inv_h0
 
Viewpoint vp0
 
bool drawing
 

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