• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
MercatorScanlineTextureMapper.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2007 Carlos Licea <carlos _licea@hotmail.com>
9 // Copyright 2008 Inge Wallin <inge@lysator.liu.se>
10 // Copyright 2011 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
11 //
12 
13 #ifndef MARBLE_MERCATORSCANLINETEXTUREMAPPER_H
14 #define MARBLE_MERCATORSCANLINETEXTUREMAPPER_H
15 
16 
17 #include "TextureMapperInterface.h"
18 
19 #include "MarbleGlobal.h"
20 
21 #include <QThreadPool>
22 #include <QImage>
23 
24 
25 namespace Marble
26 {
27 
28 class MercatorScanlineTextureMapper : public TextureMapperInterface
29 {
30  public:
31  explicit MercatorScanlineTextureMapper( StackedTileLoader *tileLoader );
32 
33  virtual void mapTexture( GeoPainter *painter,
34  const ViewportParams *viewport,
35  int tileZoomLevel,
36  const QRect &dirtyRect,
37  TextureColorizer *texColorizer );
38 
39  private:
40  void mapTexture( const ViewportParams *viewport, int tileZoomLevel, MapQuality mapQuality );
41 
42  private:
43  class RenderJob;
44 
45  StackedTileLoader *const m_tileLoader;
46  int m_radius;
47  QImage m_canvasImage;
48  int m_oldYPaintedTop;
49  QThreadPool m_threadPool;
50 };
51 
52 }
53 
54 #endif
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
QThreadPool
Marble::MapQuality
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:82
Marble::StackedTileLoader
Tile loading from a quad tree.
Definition: StackedTileLoader.h:59
QRect
Marble::TextureMapperInterface
Definition: TextureMapperInterface.h:27
TextureMapperInterface.h
MarbleGlobal.h
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
Marble::MercatorScanlineTextureMapper::MercatorScanlineTextureMapper
MercatorScanlineTextureMapper(StackedTileLoader *tileLoader)
Definition: MercatorScanlineTextureMapper.cpp:62
Marble::TextureColorizer
Definition: TextureColorizer.h:33
Marble::MercatorScanlineTextureMapper::mapTexture
virtual void mapTexture(GeoPainter *painter, const ViewportParams *viewport, int tileZoomLevel, const QRect &dirtyRect, TextureColorizer *texColorizer)
Definition: MercatorScanlineTextureMapper.cpp:70
QImage
Marble::MercatorScanlineTextureMapper
Definition: MercatorScanlineTextureMapper.h:28
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

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal