public class RowsPattern extends FollowPath
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS| Modifier and Type | Field and Description |
|---|---|
protected float |
alternationPercentage |
protected double |
bearingRad |
protected double |
crossAngleRadians |
protected double |
curvOff |
protected boolean |
firstCurveRight |
protected double |
hstep |
protected boolean |
ignoreAlternationPercentage |
protected boolean |
ignoreCrossAngle |
protected boolean |
ignoreFirstCurveRight |
protected boolean |
ignoreLength |
protected double |
length |
protected boolean |
paintOnlyBasePoint |
protected boolean |
squareCurve |
protected double |
sRange |
protected double |
width |
adapter, editing, hasTime, lastDragPoint, PERCENT_MPS_CONVERSION, points, RPM_MPS_CONVERSION, RPM_PERCENT_CONVERSION, speed, speed_units, startLoc, T, X, Y, ZcircleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions| Constructor and Description |
|---|
RowsPattern() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
java.lang.Object |
clone()
A maneuver must have a way to clone itself.
|
ManeuverLocation |
getEndLocation()
Retrieve the position where the vehicle will end this maneuver
|
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
java.lang.String |
getName() |
ManeuverLocation |
getStartLocation()
Retrieve the position where the vehicle will start this maneuver
|
void |
loadFromXML(java.lang.String xml) |
static void |
main(java.lang.String[] args) |
void |
mouseClicked(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
mouseDragged(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
protected void |
recalcPoints()
Call this to update the maneuver points.
|
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setManeuverLocation(ManeuverLocation location)
Set the maneuver's position
|
void |
setParams(double width,
double hstep,
double alternationPercent,
double curvOff,
boolean squareCurve,
double bearingRad,
double crossAngleRadians,
boolean firstCurveRight) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown)
Translate the position of this maneuver
|
createFollowPathOrPattern, getCompletionTimeeditPointsDialog, getDistanceTravelled, getIconImage, getManeuverLocation, getMaxDepth, getMinDepth, getMouseCursor, getPathLocations, getPathPoints, getRadiusTolerance, getSpeed, getTooltipText, getUnits, isExclusive, keyPressed, keyReleased, keyTyped, ManeuverFunction, mouseMoved, mousePressed, mouseReleased, recalculateTimes, setActive, setAssociatedSwitch, setOffsets, setSpeed, setUnits, test1, wheelMovedaddTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, calcFinalState, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getId, getManeuverXml, getMaxTime, getMinTime, getMissionType, getProperties, getPropertiesDialogTitle, getPropertiesErrors, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTransitionCondition, getType, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toStringprotected double bearingRad
protected double width
protected double length
protected double hstep
protected double sRange
protected double crossAngleRadians
protected double curvOff
protected float alternationPercentage
protected boolean squareCurve
protected boolean firstCurveRight
protected boolean ignoreLength
protected boolean ignoreCrossAngle
protected boolean ignoreAlternationPercentage
protected boolean ignoreFirstCurveRight
protected boolean paintOnlyBasePoint
public java.lang.String getName()
getName in interface StateRendererInteractiongetName in class FollowPathpublic void paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer)
paintOnMap in class FollowTrajectoryprotected void recalcPoints()
public ManeuverLocation getStartLocation()
LocatedManeuvergetStartLocation in interface LocatedManeuvergetStartLocation in class FollowTrajectorypublic ManeuverLocation getEndLocation()
LocatedManeuvergetEndLocation in interface LocatedManeuvergetEndLocation in class FollowTrajectorypublic void setManeuverLocation(ManeuverLocation location)
LocatedManeuversetManeuverLocation in interface LocatedManeuversetManeuverLocation in class FollowTrajectorylocation - The new location for this maneuverpublic void setParams(double width,
double hstep,
double alternationPercent,
double curvOff,
boolean squareCurve,
double bearingRad,
double crossAngleRadians,
boolean firstCurveRight)
width - hstep - alternationPercent - curvOff - squareCurve - bearingRad - crossAngleRadians - firstCurveRight - public void mouseClicked(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseClicked in interface StateRendererInteractionmouseClicked in class FollowTrajectorypublic void mouseDragged(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseDragged in interface StateRendererInteractionmouseDragged in class FollowTrajectorypublic void translate(double offsetNorth,
double offsetEast,
double offsetDown)
LocatedManeuvertranslate in interface LocatedManeuvertranslate in class FollowTrajectoryoffsetNorth - north offset amount, in metersoffsetEast - east offset amount, in metersoffsetDown - down offset amount, in meterspublic void loadFromXML(java.lang.String xml)
loadFromXML in class FollowTrajectorypublic org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument in class FollowTrajectorypublic pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC in interface IMCSerializationserializeToIMC in class FollowTrajectorypublic void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage in interface IMCSerializationparseIMCMessage in class FollowTrajectorypublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProvidersetProperties in class FollowTrajectoryprotected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties in class FollowTrajectorypublic java.lang.Object clone()
Maneuverclone in class FollowTrajectorypublic static void main(java.lang.String[] args)
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.