public interface Marker
Modifier and Type | Method and Description |
---|---|
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.
|
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.