protected class AbstractBrowserBalloon.OrderedBrowserBalloon extends Object implements OrderedRenderable
Modifier and Type | Field and 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 Rectangle |
screenExtent
The extent of the balloon's geometry in the viewport (on the screen).
|
protected Rectangle |
screenPickExtent
The extend of the balloon's pickable geometry in the viewport (on the screen).
|
protected Rectangle |
screenRect
The location and size of the balloon's content frame in the viewport (on the screen).
|
protected Rectangle |
webViewRect
The location and size of the WebView's content frame in the viewport (on the screen).
|
Modifier | Constructor and Description |
---|---|
protected |
OrderedBrowserBalloon() |
Modifier and Type | Method and Description |
---|---|
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
void |
pick(DrawContext dc,
Point pickPoint)
Executes a pick of the ordered renderable.
|
void |
render(DrawContext dc)
Causes this
Renderable to render itself using the provided draw context. |
protected double eyeDistance
protected AbstractBrowserBalloon.FrameGeometryInfo frameInfo
protected long frameTimeStamp
protected long geomTimeStamp
protected Rectangle screenExtent
protected Rectangle screenPickExtent
protected Rectangle screenRect
protected Rectangle webViewRect
public double getDistanceFromEye()
OrderedRenderable
getDistanceFromEye
in interface OrderedRenderable
public void pick(DrawContext dc, Point pickPoint)
OrderedRenderable
pick
in interface OrderedRenderable
dc
- the current draw context.pickPoint
- the pick point.public void render(DrawContext dc)
Renderable
Renderable
to render itself using the provided draw context.render
in interface Renderable
dc
- the DrawContext
to be usedDrawContext