public class PointPlacemark.OrderedPlacemark extends Object implements OrderedRenderable, Declutterable
Modifier and Type | Field and Description |
---|---|
protected double |
eyeDistance |
protected Rectangle |
imageBounds |
protected Vec4 |
placePoint |
protected Vec4 |
screenPoint |
protected Vec4 |
terrainPoint |
Constructor and Description |
---|
OrderedPlacemark() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDrawOrderedRenderable(DrawContext dc,
PickSupport pickCandidates) |
Rectangle2D |
getBounds(DrawContext dc) |
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
Rectangle |
getImageBounds() |
Layer |
getPickLayer() |
PointPlacemark |
getPlacemark() |
Vec4 |
getPlacePoint() |
Vec4 |
getScreenPoint() |
Vec4 |
getTerrainPoint() |
boolean |
isEnableBatchPicking() |
boolean |
isEnableBatchRendering() |
boolean |
isEnableDecluttering()
Indicates whether this object actually participates in decluttering.
|
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 Rectangle imageBounds
protected Vec4 placePoint
protected Vec4 screenPoint
protected Vec4 terrainPoint
protected void doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidates)
public Rectangle2D getBounds(DrawContext dc)
getBounds
in interface Declutterable
public double getDistanceFromEye()
OrderedRenderable
getDistanceFromEye
in interface OrderedRenderable
public Rectangle getImageBounds()
public Layer getPickLayer()
public PointPlacemark getPlacemark()
public Vec4 getPlacePoint()
public Vec4 getScreenPoint()
public Vec4 getTerrainPoint()
public boolean isEnableBatchPicking()
public boolean isEnableBatchRendering()
public boolean isEnableDecluttering()
Declutterable
isEnableDecluttering
in interface Declutterable
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