Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <NearestMathPlugin.h>
Public Member Functions | |
NearestMathPlugin () | |
virtual | ~NearestMathPlugin () |
virtual bool | Initialise (InMemoryDatabase *pInMemoryDatabase) |
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary. More... | |
virtual bool | TransformCelestialToTelescope (const double RightAscension, const double Declination, double JulianOffset, TelescopeDirectionVector &ApparentTelescopeDirectionVector) |
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates. More... | |
virtual bool | TransformTelescopeToCelestial (const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination) |
Get the true celestial coordinates for the supplied telescope pointing direction. More... | |
![]() | |
virtual | ~AlignmentSubsystemForMathPlugins () |
Virtual destructor. More... | |
![]() | |
MathPlugin (MountAlignment_t ApproximateAlignment=ZENITH) | |
Default constructor. More... | |
virtual | ~MathPlugin () |
Virtual destructor. More... | |
virtual MountAlignment_t | GetApproximateMountAlignment () |
Get the approximate alognment of the mount. More... | |
virtual void | SetApproximateMountAlignment (MountAlignment_t ApproximateAlignment) |
Set the approximate alognment of the mount. More... | |
![]() | |
virtual | ~TelescopeDirectionVectorSupportFunctions () |
Virtual destructor. More... | |
void | AltitudeAzimuthFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, INDI::IHorizontalCoordinates &HorizontalCoordinates) |
Calculates an altitude and azimuth from the supplied normalised direction vector and declination. More... | |
void | EquatorialCoordinatesFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, INDI::IEquatorialCoordinates &EquatorialCoordinates) |
Calculates equatorial coordinates from the supplied telescope direction vector and declination. More... | |
void | LocalHourAngleDeclinationFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, INDI::IEquatorialCoordinates &EquatorialCoordinates) |
Calculates a local hour angle and declination from the supplied telescope direction vector and declination. More... | |
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. More... | |
const TelescopeDirectionVector | TelescopeDirectionVectorFromAltitudeAzimuth (INDI::IHorizontalCoordinates HorizontalCoordinates) |
Calculates a normalised direction vector from the supplied altitude and azimuth. More... | |
const TelescopeDirectionVector | TelescopeDirectionVectorFromEquatorialCoordinates (INDI::IEquatorialCoordinates EquatorialCoordinates) |
Calculates a telescope direction vector from the supplied equatorial coordinates. More... | |
const TelescopeDirectionVector | TelescopeDirectionVectorFromLocalHourAngleDeclination (INDI::IEquatorialCoordinates EquatorialCoordinates) |
Calculates a telescope direction vector from the supplied local hour angle and declination. More... | |
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. More... | |
Additional Inherited Members | |
![]() | |
enum | AzimuthAngleDirection { CLOCKWISE , ANTI_CLOCKWISE } |
enum | PolarAngleDirection { FROM_POLAR_AXIS , FROM_AZIMUTHAL_PLANE } |
typedef enum INDI::AlignmentSubsystem::TelescopeDirectionVectorSupportFunctions::AzimuthAngleDirection | AzimuthAngleDirection_t |
typedef enum INDI::AlignmentSubsystem::TelescopeDirectionVectorSupportFunctions::PolarAngleDirection | PolarAngleDirection_t |
![]() | |
MountAlignment_t | ApproximateMountAlignment |
Describe the approximate alignment of the mount. This information is normally used in a one star alignment calculation. More... | |
InMemoryDatabase * | pInMemoryDatabase |
Definition at line 97 of file NearestMathPlugin.h.
INDI::AlignmentSubsystem::NearestMathPlugin::NearestMathPlugin | ( | ) |
Definition at line 60 of file NearestMathPlugin.cpp.
|
virtual |
Definition at line 68 of file NearestMathPlugin.cpp.
|
virtual |
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary.
Reimplemented from INDI::AlignmentSubsystem::MathPlugin.
Definition at line 76 of file NearestMathPlugin.cpp.
|
virtual |
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 | to be applied to the current julian date. |
[out] | ApparentTelescopeDirectionVector | Parameter to receive the corrected telescope direction |
Implements INDI::AlignmentSubsystem::MathPlugin.
Definition at line 133 of file NearestMathPlugin.cpp.
|
virtual |
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). |
Implements INDI::AlignmentSubsystem::MathPlugin.
Definition at line 215 of file NearestMathPlugin.cpp.