ddt  0.1
ddtGraphicalElementEllipse.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file ddtGraphicalElementEllipse.hpp
8 // @brief DDT Graphics. Class for ellipse and circle elements
9 //
10 // Class for the Graphical Elements - Ellipses and Circles
11 //
12 // @author Carsten Mannel, CGI
13 // @since 2021/01/15
14 //
15 
16 #ifndef DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_ELLIPSE_HPP
17 #define DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_ELLIPSE_HPP
18 
19 #include "ddtGraphicalElement.hpp"
20 
25  public:
31  int r2);
32 
37 
41  virtual void DrawElement(QPainter* painter);
42 
47  QRectF boundingRect() const;
48 
53  int type() const;
54 
55  protected:
59  int x;
60 
64  int y;
65 
69  int r1;
70 
74  int r2;
75 
76  private:
77 };
78 
79 #endif // DDT_DATAVISUALISATION_DDTGRAPHCIS_GE_ELLIPSE_HPP
DdtGraphicalElementEllipse::r1
int r1
Definition: ddtGraphicalElementEllipse.hpp:69
DdtGraphicalElement::element_properties
DdtGraphicalElementProperties element_properties
Definition: ddtGraphicalElement.hpp:145
DdtGraphicalElementEllipse
Definition: ddtGraphicalElementEllipse.hpp:24
DdtGraphicalElement
Definition: ddtGraphicalElement.hpp:78
DdtGraphicalElementEllipse::x
int x
Definition: ddtGraphicalElementEllipse.hpp:59
DdtGraphicalElementEllipse::~DdtGraphicalElementEllipse
virtual ~DdtGraphicalElementEllipse()
DdtGraphicalElementEllipse::r2
int r2
Definition: ddtGraphicalElementEllipse.hpp:74
ddtGraphicalElement.hpp
DdtGraphicalElementEllipse::boundingRect
QRectF boundingRect() const
Definition: ddtGraphicalElementEllipse.cpp:35
DdtGraphicalElementEllipse::y
int y
Definition: ddtGraphicalElementEllipse.hpp:64
DdtGraphicalElementEllipse::type
int type() const
Definition: ddtGraphicalElementEllipse.cpp:27
DdtGraphicalElementEllipse::DrawElement
virtual void DrawElement(QPainter *painter)
Definition: ddtGraphicalElementEllipse.cpp:40
DdtGraphicalElementProperties
Definition: ddtGraphicalElementProperties.hpp:27
DdtGraphicalElementEllipse::DdtGraphicalElementEllipse
DdtGraphicalElementEllipse(DdtGraphicalElementProperties element_properties, int x, int y, int r1, int r2)
Definition: ddtGraphicalElementEllipse.cpp:18