46 #ifndef _MIRA_CAMERAORBITTOOL_H_ 47 #define _MIRA_CAMERAORBITTOOL_H_ 49 #include <QtGui/QMouseEvent> 65 (
"Description",
"Moves the observer camera around")
66 (
"Category",
"Camera")
73 virtual QIcon getIcon();
75 virtual void onMousePressed(QMouseEvent* e);
77 virtual void onMouseReleased(QMouseEvent* e);
79 static const float cMaxPitch;
81 virtual void onMouseMoved(QMouseEvent* e);
83 virtual void onMouseWheel(QWheelEvent * e);
85 void setInteractionSpeed(
float trans=0.001f,
float rot=0.002f,
86 float scale=0.005,
float wheelScale=0.0003f,
float acceleration=1.2f);
88 virtual int getDisplaceShortCut()
const;
96 static const float cFadeDuration;
97 static const float cFadeAlpha;
99 void updatePivotIndicator();
103 void updateOwnRepresentation();
114 Eigen::Vector3f mFocal;
117 float mMouseAcceleration;
121 float mSpeedWheelScale;
125 boost::shared_ptr<MeshObject> mPivotIndicator;
127 enum PivotIndicatorState {
133 PivotIndicatorState mPivotIndicatorState;
134 float mPivotIndicatorAlpha;
The interface of a Visualization3DSite.
Definition: Visualization3D.h:84
Includes often needed math headers and methods and provides additional constants. ...
Definition: Visualization3D.h:97
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Declaration of MeshObject.
Conversion from yaw, pitch and roll to Quaternion and vice versa.
#define MIRA_META_OBJECT(classIdentifier, MetaInfo)
Use this MACRO instead of MIRA_OBJECT if you like to add meta information to your class...
Definition: FactoryMacros.h:204
Use this class to represent time durations.
Definition: Time.h:104
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61