protected class AbstractTacticalSymbol.OrderedSymbol extends java.lang.Object implements OrderedRenderable
Modifier and Type | Field and Description |
---|---|
double |
dx
Per-frame screen offset indicating this symbol's x-offset relative to the screenPoint.
|
double |
dy
Per-frame screen offset indicating this symbol's y-offset relative to the screenPoint.
|
double |
eyeDistance
Per-frame distance corresponding to the distance between the placePoint and the View's eye point.
|
java.awt.Rectangle |
iconRectScaled
iconRect with scaling applied, used to lay out text.
|
java.awt.Rectangle |
layoutRect |
java.awt.Rectangle |
layoutRectScaled
layoutRect with scaling applied, used to lay out text.
|
Vec4 |
placePoint
Per-frame Cartesian point corresponding to this symbol's position.
|
Vec4 |
screenPoint
Per-frame screen point corresponding to the projection of the placePoint in the viewport (on the screen).
|
java.awt.Rectangle |
screenRect |
double |
sx
Per-frame screen scale indicating this symbol's x-scale relative to the screen offset.
|
double |
sy
Per-frame screen scale indicating this symbol's y-scale relative to the screen offset.
|
Modifier | Constructor and Description |
---|---|
protected |
OrderedSymbol() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDrawOrderedRenderable(DrawContext dc,
PickSupport pickCandidates) |
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
Layer |
getPickLayer() |
boolean |
isEnableBatchPicking() |
boolean |
isEnableBatchRendering() |
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. |
public double dx
AbstractTacticalSymbol.computeTransform(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
.
Initially 0.public double dy
AbstractTacticalSymbol.computeTransform(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
.
Initially 0.public double eyeDistance
AbstractTacticalSymbol.computeSymbolPoints(gov.nasa.worldwind.render.DrawContext,
gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
. Initially 0.public java.awt.Rectangle iconRectScaled
public java.awt.Rectangle layoutRect
public java.awt.Rectangle layoutRectScaled
public Vec4 placePoint
AbstractTacticalSymbol.computeSymbolPoints(gov.nasa.worldwind.render.DrawContext,
gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
. Initially null
.public Vec4 screenPoint
AbstractTacticalSymbol.computeSymbolPoints(gov.nasa.worldwind.render.DrawContext,
gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
. Initially null
.public java.awt.Rectangle screenRect
public double sx
AbstractTacticalSymbol.computeTransform(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
.
Initially 0.public double sy
AbstractTacticalSymbol.computeTransform(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
.
Initially 0.protected void doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidates)
public double getDistanceFromEye()
OrderedRenderable
getDistanceFromEye
in interface OrderedRenderable
public Layer getPickLayer()
public boolean isEnableBatchPicking()
public boolean isEnableBatchRendering()
public void pick(DrawContext dc, java.awt.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