|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <SPKMathPlugin.h>
Public Member Functions | |
| SPKMathPlugin () | |
| virtual | ~SPKMathPlugin () |
| virtual bool | Initialise (InMemoryDatabase *pInMemoryDatabase) override |
| Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary. | |
| virtual bool | TransformCelestialToTelescopeJD (double RightAscension, double Declination, double JulianDate, TelescopeDirectionVector &ApparentTelescopeDirectionVector) override |
| Get the alignment corrected telescope pointing direction for the supplied celestial coordinates. | |
| virtual bool | TransformTelescopeToCelestialJD (const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination, double JulianDate) override |
| Get the true celestial coordinates for the supplied telescope pointing direction. | |
| virtual bool | TransformCelestialToTelescope (const double RightAscension, const double Declination, double JulianOffset, TelescopeDirectionVector &ApparentTelescopeDirectionVector) override |
| Get the alignment corrected telescope pointing direction for the supplied celestial coordinates. | |
| virtual bool | TransformTelescopeToCelestial (const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination, double JulianOffset=0) override |
| Get the true celestial coordinates for the supplied telescope pointing direction. | |
Public Member Functions inherited from INDI::AlignmentSubsystem::MathPlugin | |
| MathPlugin (MountAlignment_t ApproximateAlignment=ZENITH) | |
| Default constructor. | |
| virtual | ~MathPlugin () |
| Virtual destructor. | |
| virtual MountAlignment_t | GetApproximateMountAlignment () |
| Get the approximate alignment of the mount. | |
| virtual void | SetApproximateMountAlignment (MountAlignment_t ApproximateAlignment) |
| Set the approximate alignment of the mount. | |
Public Member Functions inherited from INDI::AlignmentSubsystem::TelescopeDirectionVectorSupportFunctions | |
| virtual | ~TelescopeDirectionVectorSupportFunctions () |
| Virtual destructor. | |
| void | AltitudeAzimuthFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, INDI::IHorizontalCoordinates &HorizontalCoordinates) |
| Calculates an altitude and azimuth from the supplied normalised direction vector and declination. | |
| void | EquatorialCoordinatesFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, INDI::IEquatorialCoordinates &EquatorialCoordinates) |
| Calculates equatorial coordinates from the supplied telescope direction vector and declination. | |
| void | LocalHourAngleDeclinationFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, INDI::IEquatorialCoordinates &EquatorialCoordinates) |
| Calculates a local hour angle and declination from the supplied telescope direction vector and declination. | |
| void | SphericalCoordinateFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, double &AzimuthAngle, AzimuthAngleDirection_t AzimuthAngleDirection, double &PolarAngle, PolarAngleDirection_t PolarAngleDirection) |
| Calculates a spherical coordinate from the supplied telescope direction vector. | |
| const TelescopeDirectionVector | TelescopeDirectionVectorFromAltitudeAzimuth (INDI::IHorizontalCoordinates HorizontalCoordinates) |
| Calculates a normalised direction vector from the supplied altitude and azimuth. | |
| const TelescopeDirectionVector | TelescopeDirectionVectorFromEquatorialCoordinates (INDI::IEquatorialCoordinates EquatorialCoordinates) |
| Calculates a telescope direction vector from the supplied equatorial coordinates. | |
| const TelescopeDirectionVector | TelescopeDirectionVectorFromLocalHourAngleDeclination (INDI::IEquatorialCoordinates EquatorialCoordinates) |
| Calculates a telescope direction vector from the supplied local hour angle and declination. | |
| const TelescopeDirectionVector | TelescopeDirectionVectorFromSphericalCoordinate (const double AzimuthAngle, AzimuthAngleDirection_t AzimuthAngleDirection, const double PolarAngle, PolarAngleDirection_t PolarAngleDirection) |
| Calculates a telescope direction vector from the supplied spherical coordinate information. | |
Definition at line 33 of file SPKMathPlugin.h.
| INDI::AlignmentSubsystem::SPKMathPlugin::SPKMathPlugin | ( | ) |
Definition at line 57 of file SPKMathPlugin.cpp.
|
virtual |
Definition at line 76 of file SPKMathPlugin.cpp.
|
overridevirtual |
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary.
Reimplemented from INDI::AlignmentSubsystem::MathPlugin.
Definition at line 80 of file SPKMathPlugin.cpp.
|
overridevirtual |
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates.
| [in] | RightAscension | Right Ascension (Decimal Hours). |
| [in] | Declination | Declination (Decimal Degrees). |
| [in] | JulianOffset | Offset (days) added to ln_get_julian_from_sys() to form the Julian Date. |
| [out] | ApparentTelescopeDirectionVector | Parameter to receive the corrected telescope direction |
Implements INDI::AlignmentSubsystem::MathPlugin.
Definition at line 163 of file SPKMathPlugin.cpp.
|
overridevirtual |
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates.
| [in] | RightAscension | Right Ascension (Decimal Hours). |
| [in] | Declination | Declination (Decimal Degrees). |
| [in] | JulianDate | Absolute Julian Date (days). |
| [out] | ApparentTelescopeDirectionVector | Parameter to receive the corrected telescope direction |
Reimplemented from INDI::AlignmentSubsystem::MathPlugin.
Definition at line 172 of file SPKMathPlugin.cpp.
|
overridevirtual |
Get the true celestial coordinates for the supplied telescope pointing direction.
| [in] | ApparentTelescopeDirectionVector | the telescope direction |
| [out] | RightAscension | Parameter to receive the Right Ascension (Decimal Hours). |
| [out] | Declination | Parameter to receive the Declination (Decimal Degrees). |
| [in] | JulianOffset | Offset (days) added to ln_get_julian_from_sys() to form the Julian Date (default 0). |
Implements INDI::AlignmentSubsystem::MathPlugin.
Definition at line 218 of file SPKMathPlugin.cpp.
|
overridevirtual |
Get the true celestial coordinates for the supplied telescope pointing direction.
| [in] | ApparentTelescopeDirectionVector | the telescope direction |
| [out] | RightAscension | Parameter to receive the Right Ascension (Decimal Hours). |
| [out] | Declination | Parameter to receive the Declination (Decimal Degrees). |
| [in] | JulianDate | Absolute Julian Date (days). |
Reimplemented from INDI::AlignmentSubsystem::MathPlugin.
Definition at line 225 of file SPKMathPlugin.cpp.