![]() |
Stellarium
HEAD
|
Public Member Functions | |
| void | setId (const QString &id) |
| Sets the id of the sky culture. | |
| const QString & | getId () const |
| Gets the id of the sky culture. | |
| void | setFallbackToInternationalNames (bool fallback) |
| Sets whether to show common names in addition to the culture-specific ones. | |
| ScmConstellation & | addConstellation (const QString &id, const std::vector< CoordinateLine > &coordinates, const std::vector< StarLine > &stars, const bool isDarkConstellation) |
| Adds a constellation to the sky culture. | |
| void | removeConstellation (const QString &id) |
| Removes a constellation from the sky culture by its ID. | |
| ScmConstellation * | getConstellation (const QString &id) |
| Gets a constellation from the sky culture by its ID. | |
| std::vector< ScmConstellation > * | getConstellations () |
| Returns a pointer to the constellations of the sky culture. | |
| QJsonObject | toJson () const |
| Returns the sky culture as a JSON object. | |
| void | draw (StelCore *core) const |
| Draws the sky culture. | |
| void | setDescription (const scm::Description &description) |
| Sets the description of the sky culture. More... | |
| bool | saveDescriptionAsMarkdown (QFile &file) |
| Saves the current sky culture description as markdown text. More... | |
| bool | saveIllustrations (const QString &directory) |
| Saves all illustrations to the directory. More... | |
| bool scm::ScmSkyCulture::saveDescriptionAsMarkdown | ( | QFile & | file | ) |
Saves the current sky culture description as markdown text.
| file | The file to save the description to. |
| bool scm::ScmSkyCulture::saveIllustrations | ( | const QString & | directory | ) |
Saves all illustrations to the directory.
No subdirectory is saved.
| directory | The directory the illustrations are saved in. |
| void scm::ScmSkyCulture::setDescription | ( | const scm::Description & | description | ) |
Sets the description of the sky culture.
| description | The description to set. |