![]() |
Stellarium
1.2
|
Public Types | |
| typedef std::function< void(const QVector< Vec3d > &verts, const QVector< Vec2f > &tex, const QVector< uint16_t > &indices)> | DrawCallback |
Signals | |
| void | propertiesChanged (void) |
| void | statusChanged (void) |
| void | visibleChanged (bool) |
Public Member Functions | |
| HipsSurvey (const QString &url, double releaseDate=0.0) | |
| Create a new HipsSurvey from its url. More... | |
| bool | isVisible () const |
| Get whether the survey is visible. | |
| void | setVisible (bool value) |
| Define whether the survey should be visible. | |
| float | getInterstate () const |
| void | draw (StelPainter *sPainter, double angle=2.0 *M_PI, DrawCallback callback=Q_NULLPTR) |
| Render the survey. More... | |
| const QString & | getUrl () const |
| Return the source URL of the survey. | |
| bool | isLoading (void) const |
| Get whether the survey is still loading. | |
| bool | isPlanetarySurvey (void) const |
Static Public Member Functions | |
| static QList< HipsSurveyP > | parseHipslist (const QString &data) |
| Parse a hipslist file into a list of surveys. | |
Properties | |
| QString | url |
| QJsonObject | properties |
| bool | isLoading |
| bool | visible |
| QString | planet |
| The name of the planet the survey is attached to, or empty if this is a skysurvey. | |
Friends | |
| class | HipsMgr |
| HipsSurvey::HipsSurvey | ( | const QString & | url, |
| double | releaseDate = 0.0 |
||
| ) |
| url | The location of the survey. |
| releaseDate | If known the UTC JD release date of the survey. Used for cache busting. |
| void HipsSurvey::draw | ( | StelPainter * | sPainter, |
| double | angle = 2.0 *M_PI, |
||
| DrawCallback | callback = Q_NULLPTR |
||
| ) |
| sPainter | the painter to use. |
| angle | total visible angle of the survey in radians. This is used to optimize the rendering of planet surveys. Should be set to 2 pi for sky surveys. |
| callback | if set this will be called for each visible tile, and the callback should do it rendering itself. If set to Q_NULLPTR, the function will draw the tiles using the default shader. |
1.8.17