mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 20:21:24 -06:00
Pass data regarding if sky browser and target are facing camera and using radius azimuth elevation to gui
This commit is contained in:
@@ -777,10 +777,40 @@ std::string SkyBrowserModule::selectedBrowserId() {
|
||||
return _selectedBrowser;
|
||||
}
|
||||
|
||||
std::string SkyBrowserModule::selectedTargetId()
|
||||
{
|
||||
if (getPair(_selectedBrowser)) {
|
||||
return getPair(_selectedBrowser)->targetId();
|
||||
}
|
||||
else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
bool SkyBrowserModule::isCameraInSolarSystem() {
|
||||
return _isCameraInSolarSystem;
|
||||
}
|
||||
|
||||
bool SkyBrowserModule::isSelectedPairUsingRae()
|
||||
{
|
||||
if (getPair(_selectedBrowser)) {
|
||||
return getPair(_selectedBrowser)->isUsingRadiusAzimuthElevation();
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool SkyBrowserModule::isSelectedPairFacingCamera()
|
||||
{
|
||||
if (getPair(_selectedBrowser)) {
|
||||
return getPair(_selectedBrowser)->isFacingCamera();
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//std::vector<documentation::Documentation> SkyBrowserModule::documentations() const {
|
||||
// return {
|
||||
// ExoplanetsDataPreparationTask::documentation(),
|
||||
|
||||
Reference in New Issue
Block a user