|
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.markers.BasicMarkerShape.Shape
protected abstract static class BasicMarkerShape.Shape
| Field Summary | |
|---|---|
protected boolean |
applyOrientation
Indicates that the shape must apply heading, pitch, and roll. |
protected Object |
displayListCacheKey
|
protected boolean |
isInitialized
|
protected String |
name
|
protected GLUquadric |
quadric
|
protected String |
shapeType
|
| Constructor Summary | |
|---|---|
protected |
BasicMarkerShape.Shape()
|
| Method Summary | |
|---|---|
protected Vec4 |
computeOrientationVector(DrawContext dc,
Vec4 point,
Vec4 normal,
Angle heading,
Angle pitch)
Compute a direction vector given a point, heading and pitch. |
protected int[] |
createDisplayList(DrawContext dc,
double radius)
|
void |
dispose()
Disposes of any internal resources allocated by the object. |
protected abstract void |
doRender(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
int[] dlResource)
|
protected abstract int |
drawShape(DrawContext dc,
double radius)
|
String |
getName()
|
String |
getShapeType()
|
protected void |
initialize(DrawContext dc)
|
boolean |
isApplyOrientation()
Indicates whether or not the shape applies heading, pitch, and roll when it draws itself. |
void |
render(DrawContext dc,
Marker marker,
Vec4 point,
double radius)
|
void |
render(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
boolean isRelative)
|
void |
setApplyOrientation(boolean applyOrientation)
Specifies whether or not the shape applies heading, pitch, and roll when it renders. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean applyOrientation
protected Object displayListCacheKey
protected boolean isInitialized
protected String name
protected GLUquadric quadric
protected String shapeType
| Constructor Detail |
|---|
protected BasicMarkerShape.Shape()
| Method Detail |
|---|
protected Vec4 computeOrientationVector(DrawContext dc,
Vec4 point,
Vec4 normal,
Angle heading,
Angle pitch)
dc - current draw contextpoint - point at which to compute direction vectornormal - surface normal at pointheading - desired headingpitch - desired pitch
protected int[] createDisplayList(DrawContext dc,
double radius)
public void dispose()
Disposable
dispose in interface Disposable
protected abstract void doRender(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
int[] dlResource)
protected abstract int drawShape(DrawContext dc,
double radius)
public String getName()
public String getShapeType()
getShapeType in interface MarkerShapeprotected void initialize(DrawContext dc)
public boolean isApplyOrientation()
true, the shape may not apply all of the rotations.
true if orientation is applied to the rendered shape, false if not.
public void render(DrawContext dc,
Marker marker,
Vec4 point,
double radius)
render in interface MarkerShape
public void render(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
boolean isRelative)
render in interface MarkerShapepublic void setApplyOrientation(boolean applyOrientation)
applyOrientation - true if the shape must apply heading, pitch, and roll (if they are supported
by the shape), false if it the shape must not apply this orientation.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||