Class Particle

    • Field Detail

      • thpointTimesFovfactor

        protected static float thpointTimesFovfactor
        Deprecated.
      • thupOverFovfactor

        protected static float thupOverFovfactor
        Deprecated.
      • thdownOverFovfactor

        protected static float thdownOverFovfactor
        Deprecated.
      • innerRad

        protected static float innerRad
        Deprecated.
      • fovFactor

        protected static float fovFactor
        Deprecated.
      • renderOn

        public static boolean renderOn
        Deprecated.
        Must be updated every cycle
      • pm

        public com.badlogic.gdx.math.Vector3 pm
        Deprecated.
        Proper motion in cartesian coordinates [U/yr]
      • pmSph

        public com.badlogic.gdx.math.Vector3 pmSph
        Deprecated.
        MuAlpha [mas/yr], Mudelta [mas/yr], radvel [km/s]
      • catalogSource

        public byte catalogSource
        Deprecated.
        Source of this star:
        • -1: Unknown
        • 1: Gaia
        • 2: Hipparcos (HYG)
        • 3: Tycho
      • computedSize

        public double computedSize
        Deprecated.
    • Constructor Detail

      • Particle

        public Particle()
        Deprecated.
      • Particle

        public Particle​(Vector3d pos,
                        float appmag,
                        float absmag,
                        float colorbv,
                        java.lang.String name,
                        long starid)
        Deprecated.
        Creates a new star.
        Parameters:
        pos - Cartesian position, in equatorial coordinates and in internal units.
        appmag - Apparent magnitude.
        absmag - Absolute magnitude.
        colorbv - The B-V color index.
        name - The label or name.
        starid - The star unique id.
      • Particle

        public Particle​(Vector3d pos,
                        float appmag,
                        float absmag,
                        float colorbv,
                        java.lang.String name,
                        float ra,
                        float dec,
                        long starid)
        Deprecated.
      • Particle

        public Particle​(Vector3d pos,
                        com.badlogic.gdx.math.Vector3 pm,
                        com.badlogic.gdx.math.Vector3 pmSph,
                        float appmag,
                        float absmag,
                        float colorbv,
                        java.lang.String name,
                        float ra,
                        float dec,
                        long starid)
        Deprecated.
    • Method Detail

      • THRESHOLD_NONE

        public double THRESHOLD_NONE()
        Deprecated.
        Description copied from class: CelestialBody
        radius/distance limit for rendering at all. If angle is smaller than this quantity, no rendering happens.
        Specified by:
        THRESHOLD_NONE in class CelestialBody
      • THRESHOLD_POINT

        public double THRESHOLD_POINT()
        Deprecated.
        Description copied from class: CelestialBody
        radius/distance limit for rendering as point. If angle is any bigger, we render with shader.
        Specified by:
        THRESHOLD_POINT in class CelestialBody
      • THRESHOLD_QUAD

        public double THRESHOLD_QUAD()
        Deprecated.
        Description copied from class: CelestialBody
        radius/distance limit for rendering as shader. If angle is any bigger, we render as a model.
        Specified by:
        THRESHOLD_QUAD in class CelestialBody
      • getActualRadius

        public float getActualRadius()
        Deprecated.
      • setDerivedAttributes

        protected void setDerivedAttributes()
        Deprecated.
      • addToRender

        protected boolean addToRender​(IRenderable renderable,
                                      SceneGraphNode.RenderGroup rg)
        Deprecated.
        Description copied from class: SceneGraphNode
        Adds the given renderable to the given render vgroup list
        Overrides:
        addToRender in class SceneGraphNode
        Parameters:
        renderable - The renderable to add
        rg - The render vgroup that identifies the renderable list
        Returns:
        True if added, false otherwise
      • setRGB

        protected void setRGB​(float bv)
        Deprecated.
        Sets the color
        Parameters:
        bv - B-V color index
      • render

        public void render​(LineRenderSystem renderer,
                           ICamera camera,
                           float alpha)
        Deprecated.
        Line renderer. Renders proper motion
        Specified by:
        render in interface ILineRenderable
        Parameters:
        renderer -
        camera -
        alpha -
      • getCatalogSource

        public int getCatalogSource()
        Deprecated.
        Description copied from interface: IStarFocus
        Gets the catalog source of this star. Possible values are:
        • -1: Unknown
        • 1: Gaia
        • 2: Hipparcos (HYG)
        • 3: Tycho
        • 4: Other
        Specified by:
        getCatalogSource in interface IStarFocus
        Returns:
        The catalog source number
      • getHip

        public int getHip()
        Deprecated.
        Description copied from interface: IStarFocus
        Returns the HIP number of this star, or negative if it has no HIP number
        Specified by:
        getHip in interface IStarFocus
        Returns:
        The HIP number
      • getClosestDist

        public double getClosestDist()
        Deprecated.
        Description copied from interface: IStarFocus
        Returns the closest star distance to the camera
        Specified by:
        getClosestDist in interface IStarFocus
        Returns:
        Distance of closest star to camera
      • getClosestName

        public java.lang.String getClosestName()
        Deprecated.
        Description copied from interface: IStarFocus
        Name of closest star to camera
        Specified by:
        getClosestName in interface IStarFocus
        Returns:
        The name of the closest star to the camera
      • getClosestPos

        public Vector3d getClosestPos​(Vector3d out)
        Deprecated.
        Description copied from interface: IStarFocus
        Returns the position of the closest star in camera coordinates
        Specified by:
        getClosestPos in interface IStarFocus
        Parameters:
        out - The out vector
        Returns:
        The out vector with the position
      • getClosestCol

        public float[] getClosestCol()
        Deprecated.
        Description copied from interface: IStarFocus
        Returns the color of the closest star
        Specified by:
        getClosestCol in interface IStarFocus
        Returns:
        The color in rgb
      • getClosestSize

        public double getClosestSize()
        Deprecated.
        Description copied from interface: IStarFocus
        Returns the size of the closest star
        Specified by:
        getClosestSize in interface IStarFocus
        Returns:
        The size of the closest star
      • getMuAlpha

        public double getMuAlpha()
        Deprecated.
        Description copied from interface: IProperMotion
        Returns the mu alpha in mas/yr
        Specified by:
        getMuAlpha in interface IProperMotion
        Returns:
        The mu alpha in mas/yr
      • getMuDelta

        public double getMuDelta()
        Deprecated.
        Description copied from interface: IProperMotion
        Returns the mu delta in mas/yr
        Specified by:
        getMuDelta in interface IProperMotion
        Returns:
        The mu delta in mas/yr
      • getRadialVelocity

        public double getRadialVelocity()
        Deprecated.
        Description copied from interface: IProperMotion
        Returns the radial velocity in km/s
        Specified by:
        getRadialVelocity in interface IProperMotion
        Returns:
        The radial velocity in km/s