ddt  1.0.0
ddtGraphicalElementPickMarker.hpp
Go to the documentation of this file.
1 
19 #ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_PICK_MARKER_HPP
20 #define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_PICK_MARKER_HPP
21 
22 #include "ddtGraphicalElement.hpp"
23 
28  public:
39  const double py, const double size_px, const double size_py);
40 
45 
49  void DrawElement(QPainter* painter) final;
50 
55  QRectF boundingRect() const final;
56 
61  int type() const final;
62 
63  protected:
67  double x;
68 
72  double y;
73 
77  double size_x;
78 
82  double size_y;
83 };
84 
85 #endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_PICK_MARKER_HPP
86 
Definition: ddtGraphicalElementPickMarker.hpp:27
double size_x
Definition: ddtGraphicalElementPickMarker.hpp:77
double size_y
Definition: ddtGraphicalElementPickMarker.hpp:82
int type() const final
Definition: ddtGraphicalElementPickMarker.cpp:34
double y
Definition: ddtGraphicalElementPickMarker.hpp:72
DdtGraphicalElementPickMarker(const DdtGraphicalElementProperties element_properties, const double px, const double py, const double size_px, const double size_py)
Definition: ddtGraphicalElementPickMarker.cpp:21
void DrawElement(QPainter *painter) final
Definition: ddtGraphicalElementPickMarker.cpp:52
double x
Definition: ddtGraphicalElementPickMarker.hpp:67
QRectF boundingRect() const final
Definition: ddtGraphicalElementPickMarker.cpp:42
Definition: ddtGraphicalElementProperties.hpp:29
Definition: ddtGraphicalElement.hpp:89
DdtGraphicalElementProperties element_properties
Definition: ddtGraphicalElement.hpp:257
DDT Graphics. Base Class for the DDT Graphical Elements. Elements can be lines, ovals,...