Interface Marker
- 
- All Known Implementing Classes:
- BasicMarker,- ExtrudedPolygonEditor.ControlPointMarker,- MarkersOrder.AppFrame.TimedMarker,- RigidShapeEditor.ControlPointMarker,- ShapeEditor.ControlPointMarker,- SurfaceImageEditor.ControlPointMarker
 
 public interface MarkerA 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description MarkerAttributesgetAttributes()AnglegetHeading()Indicates heading of this marker.AnglegetPitch()Indicates pitch this marker.PositiongetPosition()AnglegetRoll()Indicates the roll of this marker.voidrender(DrawContext dc, Vec4 point, double radius)voidrender(DrawContext dc, Vec4 point, double radius, boolean isRelative)voidsetAttributes(MarkerAttributes attributes)voidsetHeading(Angle heading)Specifies the heading of this marker.voidsetPitch(Angle pitch)Specifies the pitch of this marker.voidsetPosition(Position position)voidsetRoll(Angle roll)Specifies the roll of this marker.
 
- 
- 
- 
Method Detail- 
rendervoid render(DrawContext dc, Vec4 point, double radius, boolean isRelative) 
 - 
rendervoid render(DrawContext dc, Vec4 point, double radius) 
 - 
getPositionPosition getPosition() 
 - 
setPositionvoid setPosition(Position position) 
 - 
getAttributesMarkerAttributes getAttributes() 
 - 
setAttributesvoid setAttributes(MarkerAttributes attributes) 
 - 
getHeadingAngle getHeading() Indicates heading of this marker. Not all implementations support heading. If the implementation does not support heading, the heading will be ignored.- Returns:
- The marker heading in degrees clockwise from North. May be null, in which case no heading is applied.
 
 - 
setHeadingvoid setHeading(Angle heading) Specifies the heading of this marker.- Parameters:
- heading- the marker heading in degrees clockwise from North. May be null, in which case no heading is applied.
 
 - 
getPitchAngle getPitch() Indicates pitch this marker. Not all implementations support pitch. If the implementation does not support pitch, the pitch will be ignored.- Returns:
- The marker pitch in degrees from a surface normal. May be null, in which case no heading is applied.
 
 - 
setPitchvoid setPitch(Angle pitch) Specifies the pitch of this marker. Not all implementations support pitch. If the implementation does not support pitch, the pitch will be ignored.- Parameters:
- 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.
 
 - 
getRollAngle getRoll() Indicates the roll of this marker. Not all implementations support roll. If the implementation does not support roll, the roll will be ignored.- Returns:
- The marker roll in degrees clockwise. May be null, in which case no roll is applied.
 
 - 
setRollvoid setRoll(Angle roll) Specifies the roll of this marker. Not all implementations support roll. If the implementation does not support roll, the roll will be ignored.- Parameters:
- roll- the marker roll in degrees clockwise. May be null, in which case no roll is applied.
 
 
- 
 
-