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

marble

  • kde-4.x
  • kdeedu
  • marble
  • src
  • lib
  • marble
EquirectScanlineTextureMapper.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 [email protected]>
9 // Copyright 2008 Inge Wallin <[email protected]>
10 // Copyright 2011 Bernhard Beschow <[email protected]>
11 //
12 
13 #ifndef MARBLE_EQUIRECTSCANLINETEXTUREMAPPER_H
14 #define MARBLE_EQUIRECTSCANLINETEXTUREMAPPER_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 class StackedTileLoader;
28 
29 class EquirectScanlineTextureMapper : public TextureMapperInterface
30 {
31  public:
32  explicit EquirectScanlineTextureMapper( StackedTileLoader *tileLoader );
33 
34  void mapTexture( GeoPainter *painter,
35  const ViewportParams *viewport,
36  int tileZoomLevel,
37  const QRect &dirtyRect,
38  TextureColorizer *texColorizer ) override;
39 
40  private:
41  void mapTexture( const ViewportParams *viewport, int tileZoomLevel, MapQuality mapQuality );
42 
43  private:
44  class RenderJob;
45 
46  StackedTileLoader *const m_tileLoader;
47  int m_radius;
48  QImage m_canvasImage;
49  int m_oldYPaintedTop;
50  QThreadPool m_threadPool;
51 };
52 
53 }
54 
55 #endif
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:93
QThreadPool
Marble::MapQuality
MapQuality
This enum is used to choose the map quality shown in the view.
Definition: MarbleGlobal.h:78
Marble::StackedTileLoader
Tile loading from a quad tree.
Definition: StackedTileLoader.h:59
Marble::EquirectScanlineTextureMapper::mapTexture
void mapTexture(GeoPainter *painter, const ViewportParams *viewport, int tileZoomLevel, const QRect &dirtyRect, TextureColorizer *texColorizer) override
Definition: EquirectScanlineTextureMapper.cpp:69
Marble::EquirectScanlineTextureMapper::EquirectScanlineTextureMapper
EquirectScanlineTextureMapper(StackedTileLoader *tileLoader)
Definition: EquirectScanlineTextureMapper.cpp:61
QRect
Marble::TextureMapperInterface
Definition: TextureMapperInterface.h:25
TextureMapperInterface.h
MarbleGlobal.h
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:46
Marble::TextureColorizer
Definition: TextureColorizer.h:32
QImage
Marble::EquirectScanlineTextureMapper
Definition: EquirectScanlineTextureMapper.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 7 2019 02:40:57 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
  •   KmPlot
  • libkeduvocdocument
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   src
  •   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