Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
GLWindow2 Class Reference

#include <GLWindow2.h>

List of all members.

Public Member Functions

void AddMenu (std::string sName, std::string sTitle)
void DrawCaption (std::string s)
void DrawMenus ()
std::pair< TooN::Vector
< 6 >, TooN::Vector< 6 > > 
GetMousePoseUpdate ()
 GLWindow2 (CVD::ImageRef irSize, std::string sTitle, MouseKeyHandler *handler)
void HandlePendingEvents ()
void PrintString (CVD::ImageRef irPos, std::string s)
void SetupUnitOrtho ()
void SetupVideoOrtho ()
void SetupVideoRasterPosAndZoom ()
void SetupViewport ()
void SetupWindowOrtho ()

Protected Member Functions

void GUICommandHandler (std::string sCommand, std::string sParams)
virtual void on_event (GLWindow &win, int event)
virtual void on_key_down (GLWindow &, int key)
virtual void on_mouse_down (GLWindow &win, CVD::ImageRef where, int state, int button)
virtual void on_mouse_move (GLWindow &win, CVD::ImageRef where, int state)

Static Protected Member Functions

static void GUICommandCallBack (void *ptr, std::string sCommand, std::string sParams)

Protected Attributes

CVD::ImageRef mirLastMousePos
CVD::ImageRef mirVideoSize
TooN::Vector< 6 > mvLeftPoseUpdate
TooN::Vector< 6 > mvMCPoseUpdate
std::vector< GLWindowMenu * > mvpGLWindowMenus
MouseKeyHandlermyHandler

Detailed Description

Definition at line 17 of file GLWindow2.h.


Constructor & Destructor Documentation

GLWindow2::GLWindow2 ( CVD::ImageRef  irSize,
std::string  sTitle,
MouseKeyHandler handler 
)

Definition at line 17 of file GLWindow2.cc.


Member Function Documentation

void GLWindow2::AddMenu ( std::string  sName,
std::string  sTitle 
)

Definition at line 31 of file GLWindow2.cc.

void GLWindow2::DrawCaption ( std::string  s)

Definition at line 140 of file GLWindow2.cc.

Definition at line 67 of file GLWindow2.cc.

pair< Vector< 6 >, Vector< 6 > > GLWindow2::GetMousePoseUpdate ( )

Definition at line 222 of file GLWindow2.cc.

void GLWindow2::GUICommandCallBack ( void *  ptr,
std::string  sCommand,
std::string  sParams 
) [static, protected]

Definition at line 37 of file GLWindow2.cc.

void GLWindow2::GUICommandHandler ( std::string  sCommand,
std::string  sParams 
) [protected]

Definition at line 42 of file GLWindow2.cc.

Definition at line 182 of file GLWindow2.cc.

void GLWindow2::on_event ( GLWindow &  win,
int  event 
) [protected, virtual]

Definition at line 217 of file GLWindow2.cc.

void GLWindow2::on_key_down ( GLWindow &  ,
int  key 
) [protected, virtual]

Definition at line 233 of file GLWindow2.cc.

void GLWindow2::on_mouse_down ( GLWindow &  win,
CVD::ImageRef  where,
int  state,
int  button 
) [protected, virtual]

Definition at line 212 of file GLWindow2.cc.

void GLWindow2::on_mouse_move ( GLWindow &  win,
CVD::ImageRef  where,
int  state 
) [protected, virtual]

Definition at line 187 of file GLWindow2.cc.

void GLWindow2::PrintString ( CVD::ImageRef  irPos,
std::string  s 
)

Definition at line 130 of file GLWindow2.cc.

Definition at line 95 of file GLWindow2.cc.

Definition at line 109 of file GLWindow2.cc.

Definition at line 116 of file GLWindow2.cc.

Definition at line 125 of file GLWindow2.cc.

Definition at line 102 of file GLWindow2.cc.


Member Data Documentation

CVD::ImageRef GLWindow2::mirLastMousePos [protected]

Definition at line 61 of file GLWindow2.h.

CVD::ImageRef GLWindow2::mirVideoSize [protected]

Definition at line 53 of file GLWindow2.h.

TooN::Vector<6> GLWindow2::mvLeftPoseUpdate [protected]

Definition at line 65 of file GLWindow2.h.

TooN::Vector<6> GLWindow2::mvMCPoseUpdate [protected]

Definition at line 64 of file GLWindow2.h.

std::vector<GLWindowMenu*> GLWindow2::mvpGLWindowMenus [protected]

Definition at line 49 of file GLWindow2.h.

Definition at line 51 of file GLWindow2.h.


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


tum_ardrone
Author(s):
autogenerated on Sat Jun 8 2019 20:27:23