20 #ifndef _STELSKYIMAGETILE_HPP_ 21 #define _STELSKYIMAGETILE_HPP_ 23 #include "MultiLevelJsonBase.hpp" 92 bool isReadyToDisplay()
const;
96 QVariantMap toQVariantMap()
const;
107 virtual void loadFromQVariantMap(
const QVariantMap& map);
145 void getTilesToDraw(QMultiMap<double, StelSkyImageTile*>& result,
StelCore* core,
const SphericalRegionP& viewPortPoly,
float limitLuminance,
bool recheckIntersect=
true);
152 double getMinResolution()
const {
return minResolution;}
155 QVariantList subTilesUrls;
160 QString htmlDescription;
163 #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.
virtual void draw(StelCore *core)
Draws sky background.
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.
QList< SphericalRegionP > skyConvexPolygons
list of all the polygons.
ServerCredits getServerCredits() const
Return the server credits to use in the progress bar.
double birthJD
Allow some images to be shown only after this date, e.g. Supernova remnants.
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.
Contains all the credits for the creator of the image collection.
Define all SphericalGeometry primitives as well as the SphericalRegionP type.