marble
#include <GeoPolygonGraphicsItem.h>
Public Member Functions | |
GeoPolygonGraphicsItem (const GeoDataFeature *feature, const GeoDataPolygon *polygon) | |
GeoPolygonGraphicsItem (const GeoDataFeature *feature, const GeoDataLinearRing *ring) | |
virtual const GeoDataLatLonAltBox & | latLonAltBox () const |
virtual void | paint (GeoPainter *painter, const ViewportParams *viewport) |
Public Member Functions inherited from Marble::GeoGraphicsItem | |
GeoGraphicsItem (const GeoDataFeature *feature) | |
virtual | ~GeoGraphicsItem () |
const GeoDataFeature * | feature () const |
GeoGraphicsItemFlags | flags () const |
int | minZoomLevel () const |
void | setFlag (GeoGraphicsItemFlag flag, bool enabled=true) |
void | setFlags (GeoGraphicsItemFlags flags) |
void | setLatLonAltBox (const GeoDataLatLonAltBox &latLonAltBox) |
void | setMinZoomLevel (int zoomLevel) |
void | setStyle (const GeoDataStyle *style) |
void | setVisible (bool visible) |
void | setZValue (qreal z) |
const GeoDataStyle * | style () const |
bool | visible () const |
qreal | zValue () const |
Protected Attributes | |
const GeoDataPolygon *const | m_polygon |
const GeoDataLinearRing *const | m_ring |
Protected Attributes inherited from Marble::GeoGraphicsItem | |
GeoGraphicsItemPrivate *const | d |
Additional Inherited Members | |
Public Types inherited from Marble::GeoGraphicsItem | |
enum | GeoGraphicsItemFlag { NoOptions = 0x0, ItemIsMovable = 0x1, ItemIsSelectable = 0x2, ItemIsVisible = 0x4 } |
Detailed Description
Definition at line 23 of file GeoPolygonGraphicsItem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 22 of file GeoPolygonGraphicsItem.cpp.
|
explicit |
Definition at line 29 of file GeoPolygonGraphicsItem.cpp.
Member Function Documentation
|
virtual |
Returns the bounding box covered by the item.
Reimplemented from Marble::GeoGraphicsItem.
Definition at line 36 of file GeoPolygonGraphicsItem.cpp.
|
virtual |
Paints the item using the given GeoPainter.
Note that depending on the projection and zoom level, the item may be visible more than once, which is taken care of by GeoPainter.
Implements Marble::GeoGraphicsItem.
Definition at line 47 of file GeoPolygonGraphicsItem.cpp.
Member Data Documentation
|
protected |
Definition at line 34 of file GeoPolygonGraphicsItem.h.
|
protected |
Definition at line 35 of file GeoPolygonGraphicsItem.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.