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)
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

Detailed Description

Definition at line 17 of file GLWindow2.h.


Constructor & Destructor Documentation

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

Definition at line 14 of file GLWindow2.cc.


Member Function Documentation

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

Definition at line 42 of file GLWindow2.cc.

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

Definition at line 151 of file GLWindow2.cc.

Definition at line 78 of file GLWindow2.cc.

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

Definition at line 236 of file GLWindow2.cc.

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

Definition at line 48 of file GLWindow2.cc.

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

Definition at line 53 of file GLWindow2.cc.

Definition at line 193 of file GLWindow2.cc.

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

Definition at line 230 of file GLWindow2.cc.

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

Definition at line 248 of file GLWindow2.cc.

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

Definition at line 222 of file GLWindow2.cc.

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

Definition at line 198 of file GLWindow2.cc.

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

Definition at line 141 of file GLWindow2.cc.

Definition at line 106 of file GLWindow2.cc.

Definition at line 120 of file GLWindow2.cc.

Definition at line 127 of file GLWindow2.cc.

Definition at line 136 of file GLWindow2.cc.

Definition at line 113 of file GLWindow2.cc.


Member Data Documentation

CVD::ImageRef GLWindow2::mirLastMousePos [protected]

Definition at line 59 of file GLWindow2.h.

CVD::ImageRef GLWindow2::mirVideoSize [protected]

Definition at line 51 of file GLWindow2.h.

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

Definition at line 63 of file GLWindow2.h.

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

Definition at line 62 of file GLWindow2.h.

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

Definition at line 49 of file GLWindow2.h.


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


ptam
Author(s): Stephan Weiss, Markus Achtelik, Simon Lynen
autogenerated on Tue Jan 7 2014 11:12:22