marble
ElevationProfileMarker.cpp
Go to the documentation of this file.
134 bool ElevationProfileMarker::render( GeoPainter* painter, ViewportParams* viewport, const QString& renderPos, GeoSceneLayer* layer )
148 const QLocale::MeasurementSystem measurementSystem = MarbleGlobal::getInstance()->locale()->measurementSystem();
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer=0)
Renders the content provided by the layer on the viewport.
Definition: ElevationProfileMarker.cpp:134
~ElevationProfileMarker()
Definition: ElevationProfileMarker.cpp:50
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:64
QLocale::MeasurementSystem measurementSystem() const
Definition: MarbleLocale.cpp:45
ElevationProfileMarker()
Definition: ElevationProfileMarker.cpp:28
QString copyrightYears() const
Definition: ElevationProfileMarker.cpp:99
void repaintNeeded(QRegion dirtyRegion=QRegion())
This signal is emitted if an update of the view is needed.
bool geoCoordinates(const int x, const int y, qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Degree) const
Get the earth coordinates corresponding to a pixel in the map.
Definition: ViewportParams.cpp:391
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
This file contains the headers for MarbleModel.
qreal zValue() const
Returns the z value of the layer (default: 0.0).
Definition: ElevationProfileMarker.cpp:69
QStringList renderPosition() const
Preferred level in the layer stack for the rendering.
Definition: ElevationProfileMarker.cpp:64
QList< PluginAuthor > pluginAuthors() const
Definition: ElevationProfileMarker.cpp:104
Definition: PluginInterface.h:28
GeoDataCoordinates coordinate(const QDateTime &dateTime=QDateTime(), bool *iconAtCoordinates=0) const
Return the coordinates of the placemark at time dateTime as a GeoDataCoordinates. ...
Definition: GeoDataPlacemark.cpp:78
void setImage(const QImage &image, const QSize &size=QSize())
Definition: LabelGraphicsItem.cpp:85
qreal latitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:751
void setLayout(AbstractMarbleGraphicsLayout *layout)
Set the layout of the graphics item.
Definition: MarbleGraphicsItem.cpp:146
void addItem(ScreenGraphicsItem *item, int row, int column)
Definition: MarbleGraphicsGridLayout.cpp:74
qreal altitude() const
return the altitude of the Point in meters
Definition: GeoDataCoordinates.cpp:1197
void setText(const QString &text)
Definition: LabelGraphicsItem.cpp:71
QRectF contentRect() const
Returns the rect of the content in item coordinates.
Definition: FrameGraphicsItem.cpp:171
bool screenCoordinates(const qreal lon, const qreal lat, qreal &x, qreal &y) const
Get the screen coordinates corresponding to geographical coordinates in the map.
Definition: ViewportParams.cpp:357
QString guiString() const
String that should be displayed in GUI.
Definition: ElevationProfileMarker.cpp:79
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
QString nameId() const
Returns the unique name of the plugin.
Definition: ElevationProfileMarker.cpp:84
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
QString description() const
Returns a user description of the plugin.
Definition: ElevationProfileMarker.cpp:94
This file contains the headers for ViewportParams.
QString name() const
Returns the user-visible name of the plugin.
Definition: ElevationProfileMarker.cpp:74
QString version() const
Definition: ElevationProfileMarker.cpp:89
QStringList backendTypes() const
Returns the name(s) of the backend that the plugin can render This method should return the name of t...
Definition: ElevationProfileMarker.cpp:54
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
QString renderPolicy() const
Return how the plugin settings should be used.
Definition: ElevationProfileMarker.cpp:59
void setCacheMode(CacheMode mode)
Set the cache mode of the item.
Definition: MarbleGraphicsItem.cpp:159
void initialize()
Definition: ElevationProfileMarker.cpp:116
bool isInitialized() const
Definition: ElevationProfileMarker.cpp:129
bool paintEvent(QPainter *painter, const ViewportParams *viewport)
Paints the item on the screen in view coordinates.
Definition: MarbleGraphicsItem.cpp:38
void setCoordinate(const GeoDataCoordinates &coordinates)
Definition: BillboardGraphicsItem.cpp:98
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.