46 #ifndef _MIRA_CAMERAORBITTOOL2D_H_ 47 #define _MIRA_CAMERAORBITTOOL2D_H_ 49 #include <QtGui/QMouseEvent> 63 (
"Description",
"Moves the observer camera around")
64 (
"Category",
"Camera")
71 virtual QIcon getIcon();
73 virtual void onMousePressed(QMouseEvent* e);
74 virtual void onMouseReleased(QMouseEvent* e);
75 virtual void onMouseMoved(QMouseEvent* e);
76 virtual void onMouseWheel(QWheelEvent * e);
78 virtual int getDisplaceShortCut()
const;
84 virtual QGraphicsItem* setupScene(QGraphicsScene* mgr);
86 void updateOwnRepresentation();
90 void zoom(
int numSteps,
const QPoint& pivot);
91 void rotate(
int numSteps,
const QPoint& pivot);
Includes often needed math headers and methods and provides additional constants. ...
Definition: Visualization2D.h:73
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
#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
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61