Class FadeNode

    • Field Detail

      • labelPosition

        protected Vector3d labelPosition
        Position of label
      • labelColour

        protected float[] labelColour
        Colour of label
      • 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 vgroup, octree, etc.)
      • hli

        protected static int hli
        General track of highlight index
      • highlighted

        protected boolean highlighted
        Is it highlighted?
      • hlci

        protected int hlci
        Highlight color index
      • hlColor

        protected static float[][] hlColor
        Highlight color
      • hlColorFloat

        protected static float[] hlColorFloat
    • Constructor Detail

      • FadeNode

        public FadeNode()
      • FadeNode

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

      • getBaseOpacity

        protected float getBaseOpacity()
      • 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
        Parameters:
        labelcolor -
      • setPositionobjectname

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

        public void setVisible​(boolean visible)
      • isVisible

        public boolean isVisible()
      • setCatalogInfo

        public void setCatalogInfo​(CatalogInfo info)
      • setCataloginfo

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

        public static int nextHightlightColorIndex()
      • highlight

        public void highlight​(boolean hl)
      • highlight

        public void highlight​(boolean hl,
                              int colorIndex)
      • isHighlighted

        public boolean isHighlighted()
      • setSize

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

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