marble
SphericalScanlineTextureMapper.cpp
Go to the documentation of this file.
39 RenderJob( StackedTileLoader *tileLoader, int tileLevel, QImage *canvasImage, const ViewportParams *viewport, MapQuality mapQuality, int yTop, int yBottom );
53 SphericalScanlineTextureMapper::RenderJob::RenderJob( StackedTileLoader *tileLoader, int tileLevel, QImage *canvasImage, const ViewportParams *viewport, MapQuality mapQuality, int yTop, int yBottom )
79 const QImage::Format optimalFormat = ScanlineTextureMapperContext::optimalCanvasImageFormat( viewport );
115 void SphericalScanlineTextureMapper::mapTexture( const ViewportParams *viewport, int tileZoomLevel, MapQuality mapQuality )
138 QRunnable *const job = new RenderJob( m_tileLoader, tileZoomLevel, &m_canvasImage, viewport, mapQuality, yStart, yEnd );
234 // mDebug() << QString("NorthPole X: %1, LeftInterval: %2").arg( northPoleX ).arg( leftInterval );
void interpolate(MarbleWidget *widget, qreal value)
Definition: examples/cpp/animation-video/main.cpp:68
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
void colorize(QImage *origimg, const ViewportParams *viewport, MapQuality mapQuality)
Definition: TextureColorizer.cpp:228
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:82
void rotateAroundAxis(const Quaternion &q)
Definition: Quaternion.cpp:191
maxThreadCount
void fill(uint pixelValue)
bool mapCoversViewport() const
Definition: ViewportParams.cpp:398
static QImage::Format optimalCanvasImageFormat(const ViewportParams *viewport)
Definition: ScanlineTextureMapperContext.cpp:429
Definition: Quaternion.h:32
QFuture< T > run(Function function,...)
QRect intersected(const QRect &rectangle) const
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
Definition: Quaternion.h:31
void drawImage(const GeoDataCoordinates ¢erPosition, const QImage &image)
Draws an image at the given position. The image is placed with its center located at the given center...
Definition: GeoPainter.cpp:428
Definition: TextureColorizer.h:33
Definition: Quaternion.h:30
This file contains the headers for ViewportParams.
void waitForDone()
SphericalScanlineTextureMapper(StackedTileLoader *tileLoader)
Definition: SphericalScanlineTextureMapper.cpp:64
bool m_repaintNeeded
Definition: TextureMapperInterface.h:42
static int interpolationStep(const ViewportParams *viewport, MapQuality mapQuality)
Definition: ScanlineTextureMapperContext.cpp:401
Definition: Quaternion.h:41
QSize size() const
QRect intersect(const QRect &rectangle) const
int height() const
void start(QRunnable *runnable, int priority)
Format format() const
virtual void mapTexture(GeoPainter *painter, const ViewportParams *viewport, int tileZoomLevel, const QRect &dirtyRect, TextureColorizer *texColorizer)
Definition: SphericalScanlineTextureMapper.cpp:72
static Quaternion fromSpherical(qreal lon, qreal lat)
used to generate Quaternion from longitude and latitude
Definition: Quaternion.cpp:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.