marble
MercatorScanlineTextureMapper.cpp
Go to the documentation of this file.
37 RenderJob( StackedTileLoader *tileLoader, int tileLevel, QImage *canvasImage, const ViewportParams *viewport, MapQuality mapQuality, int yTop, int yBottom );
51 MercatorScanlineTextureMapper::RenderJob::RenderJob( StackedTileLoader *tileLoader, int tileLevel, QImage *canvasImage, const ViewportParams *viewport, MapQuality mapQuality, int yTop, int yBottom )
77 const QImage::Format optimalFormat = ScanlineTextureMapperContext::optimalCanvasImageFormat( viewport );
104 void MercatorScanlineTextureMapper::mapTexture( const ViewportParams *viewport, int tileZoomLevel, MapQuality mapQuality )
140 QRunnable *const job = new RenderJob( m_tileLoader, tileZoomLevel, &m_canvasImage, viewport, mapQuality, yStart, yEnd );
uchar * scanLine(int i)
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
maxThreadCount
void fill(uint pixelValue)
bool mapCoversViewport() const
Definition: ViewportParams.cpp:398
static QImage::Format optimalCanvasImageFormat(const ViewportParams *viewport)
Definition: ScanlineTextureMapperContext.cpp:429
QFuture< T > run(Function function,...)
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
MercatorScanlineTextureMapper(StackedTileLoader *tileLoader)
Definition: MercatorScanlineTextureMapper.cpp:62
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
This file contains the headers for ViewportParams.
virtual void mapTexture(GeoPainter *painter, const ViewportParams *viewport, int tileZoomLevel, const QRect &dirtyRect, TextureColorizer *texColorizer)
Definition: MercatorScanlineTextureMapper.cpp:70
qreal centerLatitude() const
Definition: ViewportParams.cpp:294
void waitForDone()
bool m_repaintNeeded
Definition: TextureMapperInterface.h:42
static int interpolationStep(const ViewportParams *viewport, MapQuality mapQuality)
Definition: ScanlineTextureMapperContext.cpp:401
QSize size() const
int height() const
void start(QRunnable *runnable, int priority)
Format format() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 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:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.