All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes | Static Protected Attributes
pangolin::Handler3D Struct Reference

#include <display.h>

Inheritance diagram for pangolin::Handler3D:
Inheritance graph
[legend]

List of all members.

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

OpenGlRenderStatecam_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

Detailed Description

Definition at line 476 of file display.h.


Constructor & Destructor Documentation

pangolin::Handler3D::Handler3D ( OpenGlRenderState cam_state,
AxisDirection  enforce_up = AxisNone,
float  trans_scale = 0.01f 
) [inline]

Definition at line 479 of file display.h.


Member Function Documentation

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.


Member Data Documentation

Definition at line 487 of file display.h.

Definition at line 491 of file display.h.

Definition at line 489 of file display.h.

const int pangolin::Handler3D::hwin = 8 [static, protected]

Definition at line 488 of file display.h.

GLint pangolin::Handler3D::last_pos[2] [protected]

Definition at line 493 of file display.h.

GLfloat pangolin::Handler3D::last_z [protected]

Definition at line 492 of file display.h.

GLdouble pangolin::Handler3D::rot_center[3] [protected]

Definition at line 494 of file display.h.

float pangolin::Handler3D::tf [protected]

Definition at line 490 of file display.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25