47 #ifndef _MIRA_SCENEQUERYTOOL3D_H_ 48 #define _MIRA_SCENEQUERYTOOL3D_H_ 64 IGNORE_BACKGROUND = 0,
74 template <
typename Reflector>
78 r.property(
"Background mode", mBackgroundMode,
79 "Objects only = select first object hit or nothing\n" 80 "Prefer objects = select background if no object hit\n" 81 "Background only = always select background, regardless of objects hit",
84 r.property(
"Background height", mBackgroundHeight,
85 "Height of (virtual) background plane to assume for determining coordinates clicked on background", 0.f);
90 virtual void onMousePressed(QMouseEvent* e,
float devicePixelRatio);
91 virtual void onMouseReleased(QMouseEvent* e,
float devicePixelRatio);
92 virtual void onMouseDoubleClick(QMouseEvent* e,
float devicePixelRatio);
93 virtual void onMouseMoved(QMouseEvent* e,
float devicePixelRatio);
94 virtual void onMouseWheel(QWheelEvent * e,
float devicePixelRatio);
110 std::pair<std::string, Ogre::Vector3> getIntersection(
float x,
float y,
111 const std::string& filter =
"",
112 bool exactMatch =
false,
113 bool transform =
false);
The interface of a Visualization3DSite.
Definition: Visualization3D.h:84
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
PropertyHint enumeration(const std::string &values)
Sets the attribute "enumeration".
Definition: PropertyHint.h:306
#define MIRA_REFLECT_BASE(reflector, BaseClass)
Macro that can be used to reflect the base class easily.
Definition: ReflectorInterface.h:912
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61