marble
ElevationProfileMarker.cpp
Go to the documentation of this file.
131 bool ElevationProfileMarker::render( GeoPainter* painter, ViewportParams* viewport, const QString& renderPos, GeoSceneLayer* layer )
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:131
~ElevationProfileMarker()
Definition: ElevationProfileMarker.cpp:47
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
MarbleLocale::MeasurementSystem measurementSystem() const
Definition: MarbleLocale.cpp:45
QString copyrightYears() const
Definition: ElevationProfileMarker.cpp:96
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:66
QStringList renderPosition() const
Preferred level in the layer stack for the rendering.
Definition: ElevationProfileMarker.cpp:61
QList< PluginAuthor > pluginAuthors() const
Definition: ElevationProfileMarker.cpp:101
Definition: PluginInterface.h:28
void save()
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:172
void setImage(const QImage &image, const QSize &size=QSize())
Definition: LabelGraphicsItem.cpp:85
bool isNull() const
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
QString tr(const char *sourceText, const char *disambiguation, int n)
qreal altitude() const
return the altitude of the Point in meters
Definition: GeoDataCoordinates.cpp:1197
QString fromUtf8(const char *str, int size)
void setText(const QString &text)
Definition: LabelGraphicsItem.cpp:71
ElevationProfileMarker(const MarbleModel *marbleModel=0)
Definition: ElevationProfileMarker.cpp:28
QRectF contentRect() const
Returns the rect of the content in item coordinates.
Definition: FrameGraphicsItem.cpp:167
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:76
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:81
qreal right() const
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:91
This file contains the headers for ViewportParams.
QString name() const
Returns the user-visible name of the plugin.
Definition: ElevationProfileMarker.cpp:71
void restore()
QString version() const
Definition: ElevationProfileMarker.cpp:86
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:51
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
QString renderPolicy() const
Return how the plugin settings should be used.
Definition: ElevationProfileMarker.cpp:56
void setCacheMode(CacheMode mode)
Set the cache mode of the item.
Definition: MarbleGraphicsItem.cpp:159
QString & setNum(short n, int base)
void initialize()
Definition: ElevationProfileMarker.cpp:113
bool isInitialized() const
Definition: ElevationProfileMarker.cpp:126
bool paintEvent(QPainter *painter, const ViewportParams *viewport)
Paints the item on the screen in view coordinates.
Definition: MarbleGraphicsItem.cpp:38
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
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
qreal width() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.