|
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.BasicMarker
public class BasicMarker
| Field Summary | |
|---|---|
protected MarkerAttributes |
attributes
|
protected Angle |
heading
|
protected Angle |
pitch
|
protected Position |
position
|
protected Angle |
roll
|
| Constructor Summary | |
|---|---|
BasicMarker(Position position,
MarkerAttributes attrs)
|
|
BasicMarker(Position position,
MarkerAttributes attrs,
Angle heading)
|
|
| Method Summary | |
|---|---|
MarkerAttributes |
getAttributes()
|
Angle |
getHeading()
Indicates heading of this marker. |
Angle |
getPitch()
Indicates pitch this marker. |
Position |
getPosition()
|
Angle |
getRoll()
Indicates the roll of this marker. |
void |
render(DrawContext dc,
Vec4 point,
double radius)
|
void |
render(DrawContext dc,
Vec4 point,
double radius,
boolean isRelative)
|
void |
setAttributes(MarkerAttributes attributes)
|
void |
setHeading(Angle heading)
Specifies the heading of this marker. |
void |
setPitch(Angle pitch)
Specifies the pitch of this marker. |
void |
setPosition(Position position)
|
void |
setRoll(Angle roll)
Specifies the roll of this marker. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MarkerAttributes attributes
protected Angle heading
protected Angle pitch
protected Position position
protected Angle roll
| Constructor Detail |
|---|
public BasicMarker(Position position,
MarkerAttributes attrs)
public BasicMarker(Position position,
MarkerAttributes attrs,
Angle heading)
| Method Detail |
|---|
public MarkerAttributes getAttributes()
getAttributes in interface Markerpublic Angle getHeading()
getHeading in interface Markerpublic Angle getPitch()
getPitch in interface Markerpublic Position getPosition()
getPosition in interface Markerpublic Angle getRoll()
getRoll in interface Marker
public void render(DrawContext dc,
Vec4 point,
double radius)
render in interface Marker
public void render(DrawContext dc,
Vec4 point,
double radius,
boolean isRelative)
render in interface Markerpublic void setAttributes(MarkerAttributes attributes)
setAttributes in interface Markerpublic void setHeading(Angle heading)
setHeading in interface Markerheading - the marker heading in degrees clockwise from North. May be null, in which case no heading is
applied.public void setPitch(Angle pitch)
setPitch in interface Markerpitch - the marker pitch in degrees from a surface normal. Positive values result in a rotation toward the
marker heading, or toward North if there is no heading. May be null, in which case no pitch is
applied.public void setPosition(Position position)
setPosition in interface Markerpublic void setRoll(Angle roll)
setRoll in interface Markerroll - the marker roll in degrees clockwise. May be null, in which case no roll is applied.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||