public class BasicMarker extends Object implements Marker
| Modifier and Type | Field and Description |
|---|---|
protected MarkerAttributes |
attributes |
protected Angle |
heading |
protected Angle |
pitch |
protected Position |
position |
protected Angle |
roll |
| Constructor and Description |
|---|
BasicMarker(Position position,
MarkerAttributes attrs) |
BasicMarker(Position position,
MarkerAttributes attrs,
Angle heading) |
| 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.
|
protected MarkerAttributes attributes
protected Angle heading
protected Angle pitch
protected Position position
protected Angle roll
public BasicMarker(Position position, MarkerAttributes attrs)
public BasicMarker(Position position, MarkerAttributes attrs, Angle heading)
public MarkerAttributes getAttributes()
getAttributes in interface Markerpublic Angle getHeading()
getHeading in interface Markerpublic Angle getPitch()
public Position getPosition()
getPosition in interface Markerpublic Angle getRoll()
public void render(DrawContext dc, Vec4 point, double radius)
public void render(DrawContext dc, Vec4 point, double radius, boolean isRelative)
public 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)
public void setPosition(Position position)
setPosition in interface Markerpublic void setRoll(Angle roll)