Class HeliotropicSatellite

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, I3DTextRenderable, IModelRenderable, IQuadRenderable, IRenderable, IFocus, IStarContainer, IVisibilitySwitch, IPosition
Direct Known Subclasses:
Gaia

public class HeliotropicSatellite extends Satellite
A heliotropic satellite, which maintains the position relative to the sun.
  • Field Details

    • provider

      protected String provider
    • attitudeLocation

      protected String attitudeLocation
    • unrotatedPos

      public Vector3d unrotatedPos
  • Constructor Details

    • HeliotropicSatellite

      public HeliotropicSatellite()
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class Satellite
    • doneLoading

      public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
      Overrides:
      doneLoading in class Satellite
    • forceUpdatePosition

      protected void forceUpdatePosition(ITimeFrameProvider time, boolean force)
      Description copied from class: Satellite
      Default implementation, only sets the result of the coordinates call to pos
      Overrides:
      forceUpdatePosition in class Satellite
      Parameters:
      time - Time to get the coordinates
      force - Whether to force the update
    • getUnrotatedPos

      public Vector3d getUnrotatedPos()
      Overrides:
      getUnrotatedPos in class SceneGraphNode
    • setToLocalTransform

      public void setToLocalTransform(float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate)
      Description copied from class: Satellite
      Sets the local transform of this satellite
      Overrides:
      setToLocalTransform in class Satellite
    • getOrientationQuaternion

      public Quaterniond getOrientationQuaternion()
      Description copied from interface: IFocus
      Returns the orientation quaternion of this focus.
      Specified by:
      getOrientationQuaternion in interface IFocus
      Overrides:
      getOrientationQuaternion in class CelestialBody
      Returns:
      The orientation quaternion. Can be null.
    • setProvider

      public void setProvider(String provider)
    • setAttitudeLocation

      public void setAttitudeLocation(String attitudeLocation)
    • getAttitudeServer

      public IAttitudeServer getAttitudeServer()