47 #ifndef _MIRA_VISUALIZATION2D_H_ 48 #define _MIRA_VISUALIZATION2D_H_ 79 template <
typename Reflector>
82 r.property(
"X", position.x(),
"the position of the camera");
83 r.property(
"Y", position.y(),
"the position of the camera");
84 r.property(
"Orientation", orientation,
"Rotation of the camera w.r.t. the global coordinate system");
85 r.property(
"Scale", scale,
"the scale factor");
168 virtual QGraphicsItem* getItem() = 0;
void reflect(Reflector &r)
Definition: Visualization2D.h:80
virtual QGraphicsScene * getSceneManager()=0
Definition: Visualization2D.h:73
virtual void setCamera(const Camera &camera)=0
Sets the current camera settings (position, orientation, etc.) of the views own camera.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Abstract base class for all derived visualizations, namely Visualization3D and Visualization2D.
Definition: Visualization.h:90
virtual const Camera & getCamera() const =0
Obtains the current camera settings (position, orientation, etc.) of the views own camera...
Class for 2D, 3D and N-dimensional points.
virtual QGraphicsView * getViewManager()=0
Abstract base class for all 2D visualization that are used by Visualization2DView.
Definition: Visualization2D.h:120
virtual float getToolBaseZValue() const =0
Obtains the Z value all tools should adhere to to ensure that they will always be above regular visua...
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
Use this MACRO instead of MIRA_OBJECT to declare the class as abstract.
Definition: FactoryMacros.h:235
virtual ~Visualization2D()
Definition: Visualization2D.h:127
The primary interface between a Visualization and the container of the visualization (e...
Definition: Visualization.h:65
float scale
Definition: Visualization2D.h:92
Declaration of Visualization and related classes.
Implementations of angles (values in periodic interval of width 2*pi) with arbitrary base type...
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61
Definition: Visualization2D.h:64
Degreef orientation
Definition: Visualization2D.h:91
Point2f position
Definition: Visualization2D.h:90