
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::Vec3f | center_ |
| Vec2i | last_point_2D_ |
| Vec3f | last_point_3D_ |
| bool | last_point_ok_ |
| enum ACG::GLTrackball:: { ... } | action_ |
| bool | button_down_ [10] |
Definition at line 72 of file GLTrackball.hh.