protected class MarkerRenderer.OrderedMarker extends java.lang.Object implements OrderedRenderable
Modifier and Type | Field and Description |
---|---|
protected double |
eyeDistance |
protected int |
index |
protected Layer |
layer |
protected Marker |
marker |
protected Vec4 |
point |
protected double |
radius |
Constructor and Description |
---|
OrderedMarker(int index,
Marker marker,
Vec4 point,
double radius,
Layer layer,
double eyeDistance) |
Modifier and Type | Method and Description |
---|---|
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
MarkerRenderer |
getRenderer() |
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. |
protected double eyeDistance
protected int index
protected Layer layer
protected Marker marker
protected Vec4 point
protected double radius
public double getDistanceFromEye()
OrderedRenderable
getDistanceFromEye
in interface OrderedRenderable
public MarkerRenderer getRenderer()
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