15 namespace AlignmentSubsystem
76 double &RightAscension,
double &Declination) = 0;
This class provides the driver side API to the in memory alignment database.
Provides alignment subsystem functions to INDI alignment math plugins.
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.
virtual ~MathPlugin()
Virtual destructor.
InMemoryDatabase * pInMemoryDatabase
virtual bool Initialise(InMemoryDatabase *pInMemoryDatabase)
Initialise or re-initialise the math plugin. Re-reading the in memory database as necessary.
virtual void SetApproximateMountAlignment(MountAlignment_t ApproximateAlignment)
Set the approximate alognment of the mount.
virtual bool TransformTelescopeToCelestial(const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination)=0
Get the true celestial coordinates for the supplied telescope pointing direction.
virtual MountAlignment_t GetApproximateMountAlignment()
Get the approximate alognment of the mount.
MathPlugin(MountAlignment_t ApproximateAlignment=ZENITH)
Default constructor.
MountAlignment_t ApproximateMountAlignment
Describe the approximate alignment of the mount. This information is normally used in a one star alig...
enum INDI::AlignmentSubsystem::MountAlignment MountAlignment_t
Namespace to encapsulate INDI client, drivers, and mediator classes.
Holds a nomalised direction vector (direction cosines)