Class FadeNode

    • Field Detail

      • labelPosition

        protected Vector3d labelPosition
        Position of label
      • labelcolor

        protected float[] labelcolor
        Colour of label
      • currentDistance

        protected double currentDistance
        The current distance at each cycle, in internal units
      • inSceneGraph

        public boolean inSceneGraph
        Is the node already in the scene graph?
      • catalogInfo

        protected CatalogInfo catalogInfo
        Information on the catalog this fade node represents (particle group, octree, etc.)
      • highlighted

        protected boolean highlighted
        Is it highlighted?
      • hlplain

        protected boolean hlplain
      • hlc

        protected float[] hlc
      • hlcmi

        protected int hlcmi
      • hlcmmin

        protected double hlcmmin
      • hlcmmax

        protected double hlcmmax
    • Constructor Detail

      • FadeNode

        public FadeNode()
      • FadeNode

        public FadeNode​(java.lang.String name,
                        SceneGraphNode parent)
    • Method Detail

      • doneLoading

        public void doneLoading​(com.badlogic.gdx.assets.AssetManager manager)
        Overrides:
        doneLoading in class SceneGraphNode
      • updateLocal

        public void updateLocal​(ITimeFrameProvider time,
                                ICamera camera)
        Description copied from class: SceneGraphNode
        Updates the transform matrix with the transformations that will apply to the children and the local transform matrix with the transformations that will apply only to this object.
        Overrides:
        updateLocal in class SceneGraphNode
      • updateOpacity

        protected void updateOpacity()
      • getBaseOpacity

        protected float getBaseOpacity()
      • addToRenderLists

        protected void addToRenderLists​(ICamera camera)
        Description copied from class: SceneGraphNode
        Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.
        Overrides:
        addToRenderLists in class SceneGraphNode
      • setFadein

        public void setFadein​(double[] fadein)
      • setFadeout

        public void setFadeout​(double[] fadeout)
      • setPosition

        public void setPosition​(double[] pos)
      • setLabelposition

        public void setLabelposition​(double[] labelposition)
        Sets the position of the label, in parsecs and in the internal reference frame
        Parameters:
        labelposition -
      • setLabelcolor

        public void setLabelcolor​(double[] labelcolor)
        Sets the label color
        Overrides:
        setLabelcolor in class SceneGraphNode
        Parameters:
        labelcolor -
      • setPositionobjectname

        public void setPositionobjectname​(java.lang.String po)
      • setVisible

        public void setVisible​(boolean visible)
      • isVisible

        public boolean isVisible()
      • setCatalogInfoBare

        public void setCatalogInfoBare​(CatalogInfo info)
      • setCatalogInfo

        public void setCatalogInfo​(CatalogInfo info)
      • setCataloginfo

        public void setCataloginfo​(java.util.Map<java.lang.String,​java.lang.String> map)
      • highlight

        public void highlight​(boolean hl,
                              float[] color)
        Highlight using a plain color
        Parameters:
        hl - Whether to highlight
        color - The plain color
      • highlight

        public void highlight​(boolean hl,
                              int cmi,
                              IAttribute cma,
                              double cmmin,
                              double cmmax)
        Highlight using a colormap
        Parameters:
        hl - Whether to highlight
        cmi - Color map index
        cma - Attribute
        cmmin - Min mapping value
        cmmax - Max mapping value
      • isHighlighted

        public boolean isHighlighted()
      • setSize

        public void setSize​(java.lang.Long size)
        Description copied from class: SceneGraphNode
        Sets the absolute size (diameter) of this entity
        Overrides:
        setSize in class SceneGraphNode
        Parameters:
        size - The diameter in internal units
      • setSize

        public void setSize​(java.lang.Double size)
        Description copied from class: SceneGraphNode
        Sets the absolute size (diameter) of this entity
        Overrides:
        setSize in class SceneGraphNode
        Parameters:
        size - The diameter in internal units
      • isHlplain

        public boolean isHlplain()
      • getHlcmi

        public int getHlcmi()
      • getHlcmmin

        public double getHlcmmin()
      • getHlcmmax

        public double getHlcmmax()