marble
ViewportParams.cpp
  
Go to the documentation of this file.
  381     return d->m_currentProjection->screenCoordinates( coordinates, this, x, y, pointRepeatNum, size, globeHidesPoint );
qreal height(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const 
Get the height of the latitude interval. 
Definition: GeoDataLatLonBox.cpp:255
GeoDataLatLonAltBox latLonAltBox(const QRect &screenRect) const 
Definition: ViewportParams.cpp:317
qreal width(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const 
Get the width of the longitude interval. 
Definition: GeoDataLatLonBox.cpp:236
void setProjection(Projection newProjection)
Definition: ViewportParams.cpp:139
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
This file contains the headers for MercatorProjection. 
qreal angularResolution() const 
Definition: ViewportParams.cpp:322
const GeoDataLatLonAltBox & viewLatLonAltBox() const 
Definition: ViewportParams.cpp:305
This file contains the headers for SphericalProjection. 
void setFocusPoint(const GeoDataCoordinates &focusPoint)
Change the point of focus, overridding any previously set focus point. 
Definition: ViewportParams.cpp:427
void geoCoordinates(qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const 
use this function to get the longitude and latitude with one call - use the unit parameter to switch ...
Definition: GeoDataCoordinates.cpp:715
GeoDataCoordinates focusPoint() const 
Definition: ViewportParams.cpp:413
bool mapCoversViewport() const 
Definition: ViewportParams.cpp:398
This file contains the headers for EquirectProjection. 
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
void centerOn(qreal lon, qreal lat)
Definition: ViewportParams.cpp:210
const AbstractProjection * currentProjection() const 
Definition: ViewportParams.cpp:134
qreal maxAltitude() const 
Get the upper altitude boundary of the bounding box. 
Definition: GeoDataLatLonAltBox.cpp:137
const matrix & planetAxisMatrix() const 
Definition: ViewportParams.cpp:245
A LineString that allows to store a contiguous set of line segments. 
Definition: GeoDataLineString.h:75
void resetFocusPoint()
Invalidate any focus point set with setFocusPoint. 
Definition: ViewportParams.cpp:432
bool screenCoordinates(const qreal lon, const qreal lat, const ViewportParams *viewport, qreal &x, qreal &y) const 
Get the screen coordinates corresponding to geographical coordinates in the map. 
Definition: AbstractProjection.cpp:93
This file contains the headers for ViewportParams. 
qreal centerLatitude() const 
Definition: ViewportParams.cpp:294
qreal centerLongitude() const 
Definition: ViewportParams.cpp:289
Definition: Quaternion.h:43
A base class for all projections in Marble. 
Definition: AbstractProjection.h:49
bool resolves(const GeoDataLatLonBox &latLonBox) const 
Definition: ViewportParams.cpp:330
Projection
This enum is used to choose the projection shown in the view. 
Definition: MarbleGlobal.h:44
A class that defines a 3D bounding box for geographic data. 
Definition: GeoDataLatLonAltBox.h:49
qreal minAltitude() const 
Get the lower altitude boundary of the bounding box. 
Definition: GeoDataLatLonAltBox.cpp:127
static Quaternion fromEuler(qreal pitch, qreal yaw, qreal roll)
Definition: Quaternion.cpp:89
A class that defines a 2D bounding box for geographic data. 
Definition: GeoDataLatLonBox.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:53 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:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference