Kstars
12#include "projections/projector.h"
16class TerrainRenderer :
public QObject
21 static TerrainRenderer *Instance();
24 bool render(uint16_t w, uint16_t h, QImage *terrainImage,
const Projector *proj);
35 void setupLookup(uint16_t w, uint16_t h,
int sampling,
const Projector *proj,
36 TerrainLookup *azLookup, TerrainLookup *altLookup);
39 QRgb getPixel(
double az,
double alt)
const;
43 bool sameView(
const Projector *proj,
bool forceRefresh);
46 static TerrainRenderer * _terrainRenderer;
49 bool initialized =
false;
55 ViewParams savedViewParams;
56 double savedAz, savedAlt;
61 QString sourceFilename;
62 int terrainDownsampling = 0;
63 bool terrainSkipSpeedup =
false;
64 bool terrainSmoothPixels =
false;
65 bool terrainTransparencySpeedup =
false;
66 bool terrainSourceCorrectAz = 0;
67 bool terrainSourceCorrectAlt = 0;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:54:29 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.