|
virtual void | setPosition (const BasicGeoTypes::GeoPos &pos) override |
| Set origin of the draw object at the given position.
|
|
virtual BasicGeoTypes::GeoPos | getPosition () const override |
| Get the origin of the draw object in geographical coordinates.
|
|
void | setCenterPoint (const BasicGeoTypes::GeoPos ¢er) |
| Set geographical center point.
|
|
void | setFirstConjugatePoint (const BasicGeoTypes::GeoPos &firstConjugate) |
| Set first conjugate point. This point defines the first axis of the ellipse together with the center point. This axis should be perpendicular to the axis defined by the secondConjugatePoint.
|
|
void | setSecondConjugatePoint (const BasicGeoTypes::GeoPos &secondConjugate) |
| Set second conjugate point. This point defines the second axis of the ellipse together with the center point. This axis should be perpendicular to the axis defined by the firstConjugatePoint.
|
|
void | setCenterAndRadius (const BasicGeoTypes::GeoPos ¢er, double r1, double r2) |
| Define ellipse by a center point and two radii.
|
|
double | getFirstRadius () const |
| Get horizontal (E-W radius)
|
|
double | getSecondRadius () const |
| Get vertical (N-W radius)
|
|
BasicGeoTypes::GeoPos | getCenterPoint () const |
|
BasicGeoTypes::GeoPos | getFirstConjugatePoint () const |
|
BasicGeoTypes::GeoPos | getSecondConjugatePoint () const |
|
| DrawObject (const std::shared_ptr< Maria::DrawObjectData > &data) |
|
Maria::ItemId | getId () const |
|
const std::string | getDataTypeId () const |
|
const std::shared_ptr< Maria::DrawObjectData > | getData () const |
|
virtual void | setPosition (const BasicGeoTypes::GeoPos &pos)=0 |
| Set origin of the draw object at the given position.
|
|
virtual BasicGeoTypes::GeoPos | getPosition () const =0 |
| Get the origin of the draw object in geographical coordinates.
|
|
void | setLineColor (const STK::Color4i color) |
|
const STK::Color4i | getLineColor () const |
|
void | setLineDashStyle (Maria::DashStyle dashStyle) |
|
Maria::DashStyle | getLineDashStyle () const |
|
void | setLineWidth (int w) |
|
int | getLineWidth () const |
|
void | setFillColor (const STK::Color4i color) |
|
const STK::Color4i | getFillColor () const |
|
void | setFill (bool fill) |
|
bool | getFill () const |
|
void | setFillStyle (Maria::FillStyle fillStyle) |
|
Maria::FillStyle | getFillStyle () const |
|
void | setText (const std::string &text) |
| Set text for draw object.
|
|
std::string | getText () const |
| Get text for draw object.
|
|
void | setFieldValue (const std::string &key, const std::string &value) |
|
std::string | getFieldValue (const std::string &key) const |
|
Ellipse - Geographical ellipse object. This class represents a draw object with ellipse geometry, defined in geographical coordinates. The ellipse is defined by a center point and two radii, alternatively as a center point and two geographical points that are arranged perpendicular to each other and the center.