|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Marker
A visual marker with position and orientation. The marker can be oriented in 3D space with a heading, pitch, and roll. However, not all implementations apply the orientation to the rendered marker. An implementation may apply any or none or the orientation parameters. For example, an implementation that renders the marker as a cone may ignore roll, because the cone is symmetric along its axis.
| 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. |
| Method Detail |
|---|
MarkerAttributes getAttributes()
Angle getHeading()
Angle getPitch()
Position getPosition()
Angle getRoll()
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)
heading - the marker heading in degrees clockwise from North. May be null, in which case no heading is
applied.void setPitch(Angle pitch)
pitch - 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.void setPosition(Position position)
void setRoll(Angle roll)
roll - 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 | ||||||||