MVE - Multi-View Environment mve-devel
|
A trackball camera control that consumes mouse events and delivers viewing parameters for the camera. More...
#include <camera_trackball.h>
Public Member Functions | |
CamTrackball (void) | |
bool | consume_event (KeyboardEvent const &event) |
bool | consume_event (MouseEvent const &event) |
math::Vec3f | get_campos (void) const |
math::Vec3f const & | get_upvec (void) const |
math::Vec3f | get_viewdir (void) const |
void | set_camera (Camera *camera) |
void | set_camera_params (math::Vec3f const ¢er, math::Vec3f const &lookat, math::Vec3f const &upvec) |
A trackball camera control that consumes mouse events and delivers viewing parameters for the camera.
Definition at line 24 of file camera_trackball.h.
ogl::CamTrackball::CamTrackball | ( | void | ) |
Definition at line 20 of file camera_trackball.cc.
bool ogl::CamTrackball::consume_event | ( | KeyboardEvent const & | event | ) |
Definition at line 103 of file camera_trackball.cc.
bool ogl::CamTrackball::consume_event | ( | MouseEvent const & | event | ) |
Definition at line 32 of file camera_trackball.cc.
|
inline |
Definition at line 74 of file camera_trackball.h.
|
inline |
Definition at line 86 of file camera_trackball.h.
|
inline |
Definition at line 80 of file camera_trackball.h.
|
inline |
Definition at line 68 of file camera_trackball.h.
void ogl::CamTrackball::set_camera_params | ( | math::Vec3f const & | center, |
math::Vec3f const & | lookat, | ||
math::Vec3f const & | upvec | ||
) |
Definition at line 245 of file camera_trackball.cc.