Class AbstractBrowserBalloon.OrderedBrowserBalloon

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double eyeDistance
      Used to order the balloon as an ordered renderable.
      protected AbstractBrowserBalloon.FrameGeometryInfo frameInfo
      The balloon geometry vertices passed to OpenGL.
      protected long frameTimeStamp
      Identifies the frame used to calculate the balloon's active attributes and points.
      protected long geomTimeStamp
      Identifies the frame used to calculate the balloon's geometry.
      protected java.awt.Rectangle screenExtent
      The extent of the balloon's geometry in the viewport (on the screen).
      protected java.awt.Rectangle screenPickExtent
      The extend of the balloon's pickable geometry in the viewport (on the screen).
      protected java.awt.Rectangle screenRect
      The location and size of the balloon's content frame in the viewport (on the screen).
      protected java.awt.Rectangle webViewRect
      The location and size of the WebView's content frame in the viewport (on the screen).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getDistanceFromEye()
      Returns the ordered renderable's distance from the current view's eye point.
      void pick​(DrawContext dc, java.awt.Point pickPoint)
      Executes a pick of the ordered renderable.
      void render​(DrawContext dc)
      Causes this Renderable to render itself using the provided draw context.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • screenRect

        protected java.awt.Rectangle screenRect
        The location and size of the balloon's content frame in the viewport (on the screen).
      • screenExtent

        protected java.awt.Rectangle screenExtent
        The extent of the balloon's geometry in the viewport (on the screen).
      • screenPickExtent

        protected java.awt.Rectangle screenPickExtent
        The extend of the balloon's pickable geometry in the viewport (on the screen). Includes this balloon's outline where it exceeds the screen extent.
      • webViewRect

        protected java.awt.Rectangle webViewRect
        The location and size of the WebView's content frame in the viewport (on the screen).
      • eyeDistance

        protected double eyeDistance
        Used to order the balloon as an ordered renderable.
      • geomTimeStamp

        protected long geomTimeStamp
        Identifies the frame used to calculate the balloon's geometry.
      • frameTimeStamp

        protected long frameTimeStamp
        Identifies the frame used to calculate the balloon's active attributes and points.
    • Constructor Detail

      • OrderedBrowserBalloon

        protected OrderedBrowserBalloon()
    • Method Detail

      • getDistanceFromEye

        public double getDistanceFromEye()
        Description copied from interface: OrderedRenderable
        Returns the ordered renderable's distance from the current view's eye point. Intended to be used only to sort a list of ordered renderables according to eye distance, and only during frame generation when a view is active.
        Specified by:
        getDistanceFromEye in interface OrderedRenderable
        Returns:
        the distance of the ordered renderable from the current view's eye point.
      • pick

        public void pick​(DrawContext dc,
                         java.awt.Point pickPoint)
        Description copied from interface: OrderedRenderable
        Executes a pick of the ordered renderable.
        Specified by:
        pick in interface OrderedRenderable
        Parameters:
        dc - the current draw context.
        pickPoint - the pick point.
      • render

        public void render​(DrawContext dc)
        Description copied from interface: Renderable
        Causes this Renderable to render itself using the provided draw context.
        Specified by:
        render in interface Renderable
        Parameters:
        dc - the DrawContext to be used
        See Also:
        DrawContext