TwiceAsNice
2019-02-18
|
Provides alignment subsystem functions to INDI alignment math plugins. More...
#include <MathPlugin.h>
Public Member Functions | |
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 bool | Initialise (InMemoryDatabase *pInMemoryDatabase) |
Initialise or re-initialise the math plugin. More... | |
virtual void | SetApproximateMountAlignment (MountAlignment_t ApproximateAlignment) |
Set the approximate alognment of the mount. More... | |
virtual bool | TransformCelestialToTelescope (const double RightAscension, const double Declination, double JulianOffset, TelescopeDirectionVector &ApparentTelescopeDirectionVector)=0 |
Get the alignment corrected telescope pointing direction for the supplied celestial coordinates. More... | |
virtual bool | TransformTelescopeToCelestial (const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination)=0 |
Get the true celestial coordinates for the supplied telescope pointing direction. More... | |
Protected Attributes | |
MountAlignment_t | ApproximateMountAlignment |
Describe the approximate alignment of the mount. More... | |
InMemoryDatabase * | pInMemoryDatabase |
Provides alignment subsystem functions to INDI alignment math plugins.
|
inline |
Default constructor.
|
inlinevirtual |
Virtual destructor.
|
inlinevirtual |
Get the approximate alognment of the mount.
Reimplemented in INDI::AlignmentSubsystem::MathPluginManagement.
|
virtual |
Initialise or re-initialise the math plugin.
Re-reading the in memory database as necessary.
Reimplemented in INDI::AlignmentSubsystem::MathPluginManagement, INDI::AlignmentSubsystem::BasicMathPlugin, and INDI::AlignmentSubsystem::DummyMathPlugin.
|
inlinevirtual |
Set the approximate alognment of the mount.
[in] | ApproximateAlignment | - the approximate alignment of the mount |
Reimplemented in INDI::AlignmentSubsystem::MathPluginManagement.
|
pure 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 |
Implemented in INDI::AlignmentSubsystem::MathPluginManagement, INDI::AlignmentSubsystem::BasicMathPlugin, and INDI::AlignmentSubsystem::DummyMathPlugin.
|
pure 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). |
Implemented in INDI::AlignmentSubsystem::MathPluginManagement, INDI::AlignmentSubsystem::BasicMathPlugin, and INDI::AlignmentSubsystem::DummyMathPlugin.
|
protected |
Describe the approximate alignment of the mount.
This information is normally used in a one star alignment calculation.
|
protected |