Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ACG::GLTrackball Class Reference

## Public Member Functions
| GLTrackball (GLState &_state)
void | set_center (const Vec3f &_center)
void | mouse_press (int button, int x, int y)
void | mouse_move (int x, int y)
void | mouse_release (int button, int x, int y)

## Private Types
enum | { ROTATION, TRANSLATION, ZOOM }

## Private Member Functions
void | rotation (int x, int y)
void | translation (int x, int y)
void | zoom (int x, int y)
bool | map_to_sphere (const Vec2i &_point, Vec3f &_result)

## Private Attributes
GLState & | glstate_
ACG::Vec3d | center_
Vec2i | last_point_2D_
Vec3f | last_point_3D_
bool | last_point_ok_
enum ACG::GLTrackball:: { ... } | action_
bool | button_down_ [10]

## Detailed Description

Definition at line 79 of file GLTrackball.hh.

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

- ACG/GL/GLTrackball.hh
- ACG/GL/GLTrackball.cc