Instrument Neutral Distributed Interface INDI
2.0.2
|
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. Re-reading the in memory database as necessary. 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. This information is normally used in a one star alignment calculation. More... | |
InMemoryDatabase * | pInMemoryDatabase |
Provides alignment subsystem functions to INDI alignment math plugins.
Definition at line 29 of file MathPlugin.h.
|
inline |
Default constructor.
Definition at line 33 of file MathPlugin.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 39 of file MathPlugin.h.
|
inlinevirtual |
Get the approximate alognment of the mount.
Reimplemented in INDI::AlignmentSubsystem::MathPluginManagement.
Definition at line 44 of file MathPlugin.h.
|
virtual |
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary.
Reimplemented in INDI::AlignmentSubsystem::NearestMathPlugin, INDI::AlignmentSubsystem::MathPluginManagement, INDI::AlignmentSubsystem::DummyMathPlugin, and INDI::AlignmentSubsystem::BasicMathPlugin.
Definition at line 15 of file MathPlugin.cpp.
|
inlinevirtual |
Set the approximate alognment of the mount.
[in] | ApproximateAlignment | - the approximate alignment of the mount |
Reimplemented in INDI::AlignmentSubsystem::MathPluginManagement.
Definition at line 55 of file MathPlugin.h.
|
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::NearestMathPlugin, INDI::AlignmentSubsystem::MathPluginManagement, INDI::AlignmentSubsystem::DummyMathPlugin, and INDI::AlignmentSubsystem::BasicMathPlugin.
|
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::NearestMathPlugin, INDI::AlignmentSubsystem::MathPluginManagement, INDI::AlignmentSubsystem::DummyMathPlugin, and INDI::AlignmentSubsystem::BasicMathPlugin.
|
protected |
Describe the approximate alignment of the mount. This information is normally used in a one star alignment calculation.
Definition at line 82 of file MathPlugin.h.
|
protected |
Definition at line 83 of file MathPlugin.h.