![]() |
Stellarium
HEAD
|
Public Member Functions | |
| void | setImage (const QPixmap &image) |
| Set the image that is shown by this item. More... | |
| bool | hasAnchorSelection () const |
| Gets the indicator if any anchor is selected. More... | |
| ScmConstellationImageAnchor * | getSelectedAnchor () const |
| Get the selected anchor. More... | |
| void | setAnchorSelectionChangedCallback (std::function< void()> func) |
| Set the anchor selection changed callback function. | |
| void | setAnchorPositionChangedCallback (std::function< void()> func) |
| Set the anchor position changed callback function. | |
| void | resetAnchors () |
| Resets the anchors to default. | |
| void | resetArtwork () |
| Resets the artwork. | |
| const std::vector< ScmConstellationImageAnchor > & | getAnchors () const |
| Gets the anchors of this object. More... | |
| bool | isImageAnchored () |
| Indicates if all anchors have a star they are bound too. More... | |
| void | updateAnchors () |
| Updates the anchors of this object with the drawn artwork. | |
| const scm::ScmConstellationArtwork & | getArtwork () const |
| Gets the artwork;. | |
| void | setArtwork (const scm::ScmConstellationArtwork &artwork) |
| Set the artwork in the constellation image. More... | |
| const std::vector<ScmConstellationImageAnchor>& ScmConstellationImage::getAnchors | ( | ) | const |
Gets the anchors of this object.
| ScmConstellationImageAnchor* ScmConstellationImage::getSelectedAnchor | ( | ) | const |
Get the selected anchor.
| bool ScmConstellationImage::hasAnchorSelection | ( | ) | const |
Gets the indicator if any anchor is selected.
| bool ScmConstellationImage::isImageAnchored | ( | ) |
Indicates if all anchors have a star they are bound too.
| void ScmConstellationImage::setArtwork | ( | const scm::ScmConstellationArtwork & | artwork | ) |
Set the artwork in the constellation image.
| artwork | The artwork to use. |
| void ScmConstellationImage::setImage | ( | const QPixmap & | image | ) |
Set the image that is shown by this item.
| image | The image that is shown. |