mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Rename JWST pointing event to a more general name
This commit is contained in:
@@ -73,7 +73,7 @@ struct Event {
|
||||
LayerAdded,
|
||||
LayerRemoved,
|
||||
SessionRecordingPlayback,
|
||||
PointJwstRequested,
|
||||
PointSpacecraft,
|
||||
Custom
|
||||
};
|
||||
constexpr explicit Event(Type type_) : type(type_) {}
|
||||
@@ -378,19 +378,20 @@ struct EventSessionRecordingPlayback : public Event {
|
||||
};
|
||||
|
||||
/**
|
||||
* This event is created when a request for pointing the JWST model to a Ra Dec coordinate
|
||||
* in the sky is issued. The event contains information about the sky coordinate to point
|
||||
* the JWST towards and an optional argument for the duration it should do the pointing.
|
||||
* This event is created when a request for pointing a spacecraft towards a Ra Dec
|
||||
* coordinate in the sky is issued. The event contains information about the sky
|
||||
* coordinate to point the spacecraft towards, and an optional argument for the duration
|
||||
* it should do the pointing.
|
||||
*
|
||||
* \param Ra The Ra part of the sky coordinate in decimal degrees to point the JWST to
|
||||
* \param Dec The Dec part of the sky coordinate in decimal degrees to point the JWST to
|
||||
* \param Ra The Ra part of the sky coordinate in decimal degrees to point towards
|
||||
* \param Dec The Dec part of the sky coordinate in decimal degrees to point towards
|
||||
* \param Duration The duration of time in seconds that the telescope should redirect
|
||||
* itself to the coordinate. Default is 3 seconds
|
||||
*/
|
||||
struct EventPointJwstRequested : public Event {
|
||||
static const Type Type = Event::Type::PointJwstRequested;
|
||||
struct EventPointSpacecraft : public Event {
|
||||
static const Type Type = Event::Type::PointSpacecraft;
|
||||
|
||||
EventPointJwstRequested(double ra_, double dec_, double duration_ = 3.0);
|
||||
EventPointSpacecraft(double ra_, double dec_, double duration_ = 3.0);
|
||||
const double ra;
|
||||
const double dec;
|
||||
const double duration;
|
||||
|
||||
Reference in New Issue
Block a user