20 #ifndef _STELSKYIMAGETILE_HPP_
21 #define _STELSKYIMAGETILE_HPP_
23 #include "MultiLevelJsonBase.hpp"
142 void getTilesToDraw(QMultiMap<double, StelSkyImageTile*>& result,
StelCore* core,
const SphericalRegionP& viewPortPoly,
float limitLuminance,
bool recheckIntersect=
true);
152 QVariantList subTilesUrls;
157 QString htmlDescription;
160 #endif // _STELSKYIMAGETILE_HPP_
Manage the sky background images, including DSS and deep sky objects images.
Contain all the credits for a given server hosting the data.
Abstract base class for managing multi-level tree objects stored in JSON format.
A shared pointer on a SphericalRegion.
Define the StelTextureSP type.
QString infoURL
The URL where to get more info about the data collection.
QString fullCredits
Full credits.
Main class for Stellarium core processing.
QString absoluteImageURI
URL where the image is located.
QString shortCredits
Very short credit to display in the loading bar.
StelSkyImageTile()
Default constructor.
ServerCredits serverCredits
The credits of the server where this data come from.
QString infoURL
The URL where to get more info about the server.
DataSetCredits getDataSetCredits() const
Return the dataset credits to use in the progress bar.
bool alphaBlend
Whether the texture must be blended.
DataSetCredits dataSetCredits
The credits for the data set.
QString getAbsoluteImageURI() const
Return the absolute path/URL to the image file.
float minResolution
Minimum resolution of the data of the texture in degree/pixel.
Provides functions for performing openGL drawing operations.
QVariantMap toQVariantMap() const
Convert the image informations to a map following the JSON structure.
QList< SphericalRegionP > skyConvexPolygons
list of all the polygons.
void draw(StelCore *core, StelPainter &sPainter, float opacity=1.)
Draw the image on the screen.
ServerCredits getServerCredits() const
Return the server credits to use in the progress bar.
QString fullCredits
Full credits.
StelTextureSP tex
The texture of the tile.
QString shortCredits
Very short credit to display in the loading bar.
bool noTexture
True if the tile is just a list of other tiles without texture for itself.
Base class for any astro image with a fixed position.
float luminance
The image luminance in cd/m^2.
virtual QString getLayerDescriptionHtml() const
Return an HTML description of the image to be displayed in the GUI.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
~StelSkyImageTile()
Destructor.
Contains all the credits for the creator of the image collection.
Define all SphericalGeometry primitives as well as the SphericalRegionP type.
bool isReadyToDisplay() const
Return true if the tile is fully loaded and can be displayed.
virtual void loadFromQVariantMap(const QVariantMap &map)
Reimplement the abstract method.