public class MarkerRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
MarkerRenderer.OrderedMarker |
Modifier and Type | Field and Description |
---|---|
protected PickSupport |
pickSupport |
Constructor and Description |
---|
MarkerRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
begin(DrawContext dc) |
protected double |
computeMarkerRadius(DrawContext dc,
Vec4 point,
Marker marker) |
protected Vec4 |
computeSurfacePoint(DrawContext dc,
Position pos) |
protected void |
computeSurfacePoints(DrawContext dc,
java.lang.Iterable<? extends Marker> markers) |
protected void |
draw(DrawContext dc,
java.lang.Iterable<Marker> markers) |
protected void |
drawAll(DrawContext dc,
java.lang.Iterable<Marker> markers) |
protected void |
drawOrderedMarkers(DrawContext dc,
MarkerRenderer.OrderedMarker uMarker) |
protected void |
drawSeparated(DrawContext dc,
java.lang.Iterable<Marker> markers) |
protected void |
end(DrawContext dc) |
double |
getElevation() |
protected boolean |
intersectsFrustum(DrawContext dc,
Vec4 point,
double radius) |
boolean |
isEnablePickSizeReturn() |
boolean |
isKeepSeparated() |
boolean |
isOverrideMarkerElevation() |
protected void |
pickOrderedMarkers(DrawContext dc,
MarkerRenderer.OrderedMarker uMarker) |
void |
render(DrawContext dc,
java.lang.Iterable<Marker> markers) |
void |
setElevation(double elevation) |
void |
setEnablePickSizeReturn(boolean enablePickSizeReturn) |
void |
setKeepSeparated(boolean keepSeparated) |
void |
setOverrideMarkerElevation(boolean overrideMarkerElevation) |
protected PickSupport pickSupport
protected void begin(DrawContext dc)
protected double computeMarkerRadius(DrawContext dc, Vec4 point, Marker marker)
protected Vec4 computeSurfacePoint(DrawContext dc, Position pos)
protected void computeSurfacePoints(DrawContext dc, java.lang.Iterable<? extends Marker> markers)
protected void draw(DrawContext dc, java.lang.Iterable<Marker> markers)
protected void drawAll(DrawContext dc, java.lang.Iterable<Marker> markers)
protected void drawOrderedMarkers(DrawContext dc, MarkerRenderer.OrderedMarker uMarker)
protected void drawSeparated(DrawContext dc, java.lang.Iterable<Marker> markers)
protected void end(DrawContext dc)
public double getElevation()
protected boolean intersectsFrustum(DrawContext dc, Vec4 point, double radius)
public boolean isEnablePickSizeReturn()
public boolean isKeepSeparated()
public boolean isOverrideMarkerElevation()
protected void pickOrderedMarkers(DrawContext dc, MarkerRenderer.OrderedMarker uMarker)
public void render(DrawContext dc, java.lang.Iterable<Marker> markers)
public void setElevation(double elevation)
public void setEnablePickSizeReturn(boolean enablePickSizeReturn)
public void setKeepSeparated(boolean keepSeparated)
public void setOverrideMarkerElevation(boolean overrideMarkerElevation)