1 #ifndef __TrackballControl_HH__
2 #define __TrackballControl_HH__
4 #include <bias_config.h>
6 #ifndef BIAS_HAVE_OPENGL
7 # error You need BIAS with USE_OpenGL Please recompile BIAS.
8 #endif // BUILD_GLviewer
10 #include <Base/Math/Vector3.hh>
11 #include <GLviewer/Controller/TrackballBase.hh>
28 bool RightMouseMoved(
int x1,
int x2,
int y1,
int y2);
29 void MoveInViewingDirection(
double stepSize);
35 bool LeftMouseMoved(
int x1,
int x2,
int y1,
int y2);
40 void RotateAroundViewingDirection(
double rotationAngleRAD);
44 virtual bool LeftMouseDoubleClicked(
int x,
int y,
int m);
47 bool LeftAndRightMouseMoved(
int x1,
int x2,
int y1,
int y2);
50 bool MouseWheelUsed(
double stepsize);
53 bool MiddleMouseMoved(
int x1,
int x2,
int y1,
int y2);
72 #endif //__TrackballControl_HH__
Abstract interface class to handle changes in rendering parameters by controllers and in rendering co...
functionality for editing cameras or transformations in trackball mode. parts of trackballcontroller ...
BIAS::Vector3< double > PointOfInterest_
BIAS::Vector3< double > GetPoI()
Get point of interest.
BIAS::Vector3< double > GetPointOfInterest()
Get point of interest.
class for camera movement in trackball mode.