Class SpiceFrameToFrame#
Defined in File SpiceFrame.h
Inheritance Relationships#
Base Type#
public Karana::Frame::EdgeFrameToFrame(Class EdgeFrameToFrame)
Class Documentation#
-
class SpiceFrameToFrame : public Karana::Frame::EdgeFrameToFrame#
Class for edges connecting SpiceFrame pairs.
Public Functions
-
SpiceFrameToFrame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#
Constructor.
- Parameters:
oframe – the SpiceFrame oframe
pframe – the SpiceFrame pframe
-
~SpiceFrameToFrame()#
Destructor.
Public Static Functions
-
static kc::ks_ptr<SpiceFrameToFrame> lookupOrCreate(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#
Factory method to look up or create a SpiceFrameToFrame.
- Parameters:
oframe – the SpiceFrame oframe
pframe – the SpiceFrame pframe
- Returns:
a SpiceFrameToFrame instance
Protected Functions
-
void _computeTransform(Karana::Math::HomTran &T)#
Compute the transformation between the oframe and pframe.
This the relTransform data cache callback.
- Parameters:
T – The buffer to place the computed homogeneous transformation in.
-
void _computeVelocity(Karana::Math::SpatialVelocity &V)#
Compute the spatial velocity between the oframe and pframe.
This the relSpVel data cache callback.
- Parameters:
V – The buffer to put the computed spatial velocity in.
-
void _computeAccel(Karana::Math::SpatialAcceleration &a)#
Compute the spatial acceleration between the oframe and pframe.
This the relSpAccel data cache callback.
- Parameters:
a – The buffer to put the computed spatial acceleration in.
-
virtual void _discard(Karana::Core::ks_ptr<Karana::Core::Base> &base) override#
Discard the SpiceFrameToFrame.
- Parameters:
base – - Base pointer to SpiceFrameToFrame.
Protected Attributes
-
kc::ks_ptr<TimeKeeper> _time_keeper#
The TimeKeeper used to get the ephemeris time of this SpiceFrame.
Protected Static Attributes
-
static std::mutex _spice_guard#
Mutex to guard against multiple threads calling into Spice.
-
SpiceFrameToFrame(kc::ks_ptr<SpiceFrame> &oframe, kc::ks_ptr<SpiceFrame> &pframe)#