|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.render.IconRenderer
public class IconRenderer
| Constructor Summary | |
|---|---|
IconRenderer()
|
|
| Method Summary | |
|---|---|
Pedestal |
getPedestal()
|
boolean |
isAlwaysUseAbsoluteElevation()
Indicates whether an icon's elevation is treated as an offset from the terrain or an absolute elevation above sea level. |
boolean |
isHorizonClippingEnabled()
Indicates whether horizon clipping is performed. |
boolean |
isViewClippingEnabled()
Indicates whether view volume clipping is performed. |
void |
pick(DrawContext dc,
Iterable<WWIcon> icons,
Point pickPoint,
Layer layer)
|
void |
pick(DrawContext dc,
WWIcon icon,
Vec4 iconPoint,
Point pickPoint,
Layer layer)
|
void |
render(DrawContext dc,
Iterable<WWIcon> icons)
|
void |
render(DrawContext dc,
WWIcon icon,
Vec4 iconPoint)
|
void |
setAlwaysUseAbsoluteElevation(boolean alwaysUseAbsoluteElevation)
Normally, an icon's elevation is treated as an offset from the terrain when it is less than the globe's maximum elevation. |
void |
setHorizonClippingEnabled(boolean horizonClippingEnabled)
Indicates whether to render icons beyond the horizon. |
void |
setPedestal(Pedestal pedestal)
|
void |
setViewClippingEnabled(boolean viewClippingEnabled)
Indicates whether to render icons outside the view volume. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IconRenderer()
| Method Detail |
|---|
public Pedestal getPedestal()
public boolean isAlwaysUseAbsoluteElevation()
true if icon elevations are treated as absolute, false if they're treated as
offsets from the terrain.public boolean isHorizonClippingEnabled()
true if horizon clipping is performed, otherwise false.setHorizonClippingEnabled(boolean)public boolean isViewClippingEnabled()
true if view volume clipping is performed, otherwise false.setViewClippingEnabled(boolean)
public void pick(DrawContext dc,
Iterable<WWIcon> icons,
Point pickPoint,
Layer layer)
public void pick(DrawContext dc,
WWIcon icon,
Vec4 iconPoint,
Point pickPoint,
Layer layer)
public void render(DrawContext dc,
Iterable<WWIcon> icons)
public void render(DrawContext dc,
WWIcon icon,
Vec4 iconPoint)
public void setAlwaysUseAbsoluteElevation(boolean alwaysUseAbsoluteElevation)
true causes the elevation to be treated as an
absolute elevation above sea level.
alwaysUseAbsoluteElevation - true to treat icon elevations as absolute, false to
treat them as offsets from the terrain.public void setHorizonClippingEnabled(boolean horizonClippingEnabled)
false, horizon clipping is not performed.
horizonClippingEnabled - true if horizon clipping should be performed, otherwise
false.setViewClippingEnabled(boolean)public void setPedestal(Pedestal pedestal)
public void setViewClippingEnabled(boolean viewClippingEnabled)
false, view volume clipping
is not performed.
viewClippingEnabled - true if view clipping should be performed, otherwise false.setHorizonClippingEnabled(boolean)public String toString()
toString in class Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||