Class StarSet

java.lang.Object
gaiasky.scene.component.ParticleSet
gaiasky.scene.component.StarSet
All Implemented Interfaces:
com.badlogic.ashley.core.Component, IDisposable

public class StarSet extends ParticleSet
  • Field Details Link icon

    • variabilityEpochJd Link icon

      public double variabilityEpochJd
      Epoch for the times in the light curves in julian days.
    • modelDist Link icon

      public double modelDist
    • variableStars Link icon

      public boolean variableStars
      Does this contain variable stars?
  • Constructor Details Link icon

    • StarSet Link icon

      public StarSet()
  • Method Details Link icon

    • updateFocus Link icon

      public void updateFocus(ICamera camera)
      Updates the parameters of the focus, if the focus is active in this group. This version is special for star sets, and uses the double-precision version of fetchPosition() for speed.
      Overrides:
      updateFocus in class ParticleSet
      Parameters:
      camera - The current camera
    • setVariabilityEpoch Link icon

      public void setVariabilityEpoch(Double epochJd)
      Sets the light curve epoch to use for the stars in this group.
      Parameters:
      epochJd - The light curve epoch in julian days (days since January 1, 4713 BCE).
    • setVariabilityEpochJd Link icon

      public void setVariabilityEpochJd(Double epochJd)
      Sets the light curve epoch to use for the stars in this group.
      Parameters:
      epochJd - The light curve epoch in julian days (days since January 1, 4713 BCE).
    • getHip Link icon

      public int getHip()
    • getId Link icon

      public long getId()
      Overrides:
      getId in class ParticleSet
    • getCandidateSolidAngleApparent Link icon

      public double getCandidateSolidAngleApparent()
      Overrides:
      getCandidateSolidAngleApparent in class ParticleSet
    • getSolidAngleApparent Link icon

      public double getSolidAngleApparent(int index)
      Returns the apparent solid angle of the star with the given index.
      Parameters:
      index - The index in the star list.
      Returns:
      The apparent solid angle.
    • getClosestDistToCamera Link icon

      public double getClosestDistToCamera()
    • getClosestSize Link icon

      public double getClosestSize()
    • getClosestPos Link icon

      public Vector3d getClosestPos(Vector3d out)
    • getClosestAbsolutePos Link icon

      public Vector3b getClosestAbsolutePos(Vector3b out)
    • getClosestCol Link icon

      public float[] getClosestCol()
    • markForUpdate Link icon

      public void markForUpdate(Render render)
      Overrides:
      markForUpdate in class ParticleSet