#include <display.h>
Public Member Functions | |
Handler3D (OpenGlRenderState &cam_state, AxisDirection enforce_up=AxisNone, float trans_scale=0.01f) | |
void | Keyboard (View &, unsigned char key, int x, int y, bool pressed) |
void | Mouse (View &, MouseButton button, int x, int y, bool pressed, int button_state) |
void | MouseMotion (View &, int x, int y, int button_state) |
Protected Attributes | |
OpenGlRenderState * | cam_state |
CameraSpec | cameraspec |
AxisDirection | enforce_up |
GLint | last_pos [2] |
GLfloat | last_z |
GLdouble | rot_center [3] |
float | tf |
Static Protected Attributes | |
static const int | hwin = 8 |
pangolin::Handler3D::Handler3D | ( | OpenGlRenderState & | cam_state, |
AxisDirection | enforce_up = AxisNone , |
||
float | trans_scale = 0.01f |
||
) | [inline] |
void pangolin::Handler3D::Keyboard | ( | View & | , |
unsigned char | key, | ||
int | x, | ||
int | y, | ||
bool | pressed | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 982 of file display.cpp.
void pangolin::Handler3D::Mouse | ( | View & | display, |
MouseButton | button, | ||
int | x, | ||
int | y, | ||
bool | pressed, | ||
int | button_state | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 987 of file display.cpp.
void pangolin::Handler3D::MouseMotion | ( | View & | display, |
int | x, | ||
int | y, | ||
int | button_state | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 1036 of file display.cpp.
OpenGlRenderState* pangolin::Handler3D::cam_state [protected] |
CameraSpec pangolin::Handler3D::cameraspec [protected] |
AxisDirection pangolin::Handler3D::enforce_up [protected] |
const int pangolin::Handler3D::hwin = 8 [static, protected] |
GLint pangolin::Handler3D::last_pos[2] [protected] |
GLfloat pangolin::Handler3D::last_z [protected] |
GLdouble pangolin::Handler3D::rot_center[3] [protected] |
float pangolin::Handler3D::tf [protected] |