public class Elevator extends Maneuver implements LocatedManeuver, IMCSerialization, StatisticsProvider
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ROOT_ELEMENT |
ManeuverLocation |
location |
float |
radius |
double |
speed |
java.lang.String |
speedUnits |
boolean |
startFromCurrentPosition |
float |
startZ |
ManeuverLocation.Z_UNITS |
startZUnits |
circleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, endActions, id, startActions| Constructor and Description |
|---|
Elevator() |
| 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.
|
double |
getCompletionTime(LocationType initialPosition) |
double |
getDistanceTravelled(LocationType initialPosition) |
ManeuverLocation |
getEndLocation()
Retrieve the position where the vehicle will end this maneuver
|
float |
getEndZ() |
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
ManeuverLocation |
getManeuverLocation()
Retrieve the position of the maneuver (position that can be dragged by the user)
|
double |
getMaxDepth() |
double |
getMinDepth() |
float |
getRadius() |
double |
getSpeed() |
java.lang.String |
getSpeedUnits() |
ManeuverLocation |
getStartLocation()
Retrieve the position where the vehicle will start this maneuver
|
float |
getStartZ() |
ManeuverLocation.Z_UNITS |
getStartZUnits() |
java.lang.String |
getTooltipText() |
boolean |
isStartFromCurrentPosition() |
void |
loadFromXML(java.lang.String xml) |
SystemPositionAndAttitude |
ManeuverFunction(SystemPositionAndAttitude lastVehicleState)
The mission preview will call this function every second to refresh the vehicle state.
|
void |
paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setEndZ(float endZ) |
void |
setManeuverLocation(ManeuverLocation loc)
Set the maneuver's position
|
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setRadius(float radius) |
void |
setSpeed(double speed) |
void |
setSpeedUnits(java.lang.String units) |
void |
setStartFromCurrentPosition(boolean startFromCurrentPosition) |
void |
setStartZ(float startZ) |
void |
setStartZUnits(ManeuverLocation.Z_UNITS startZUnits) |
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown)
Translate the position of this maneuver
|
java.lang.String |
validatePitchAngleDegrees(float value) |
addTransition, 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 static final java.lang.String DEFAULT_ROOT_ELEMENT
public ManeuverLocation location
public double speed
public java.lang.String speedUnits
public boolean startFromCurrentPosition
public float startZ
public ManeuverLocation.Z_UNITS startZUnits
public float radius
public org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument in class Maneuverpublic void loadFromXML(java.lang.String xml)
loadFromXML in class Maneuverpublic SystemPositionAndAttitude ManeuverFunction(SystemPositionAndAttitude lastVehicleState)
ManeuverManeuverFunction in class Maneuverpublic boolean isStartFromCurrentPosition()
public void setStartFromCurrentPosition(boolean startFromCurrentPosition)
startFromCurrentPosition - the startFromCurrentPosition to setpublic ManeuverLocation getManeuverLocation()
LocatedManeuvergetManeuverLocation in interface LocatedManeuverpublic ManeuverLocation getEndLocation()
LocatedManeuvergetEndLocation in interface LocatedManeuverpublic ManeuverLocation getStartLocation()
LocatedManeuvergetStartLocation in interface LocatedManeuverpublic void setManeuverLocation(ManeuverLocation loc)
LocatedManeuversetManeuverLocation in interface LocatedManeuverloc - The new location for this maneuverpublic float getEndZ()
public void setEndZ(float endZ)
endZ - the endZ to setpublic void translate(double offsetNorth,
double offsetEast,
double offsetDown)
LocatedManeuvertranslate in interface LocatedManeuveroffsetNorth - north offset amount, in metersoffsetEast - east offset amount, in metersoffsetDown - down offset amount, in meterspublic java.lang.String getTooltipText()
getTooltipText in class Maneuverpublic java.lang.String validatePitchAngleDegrees(float value)
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties in class Maneuverpublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProvidersetProperties in class Maneuverpublic pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC in interface IMCSerializationpublic void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage in interface IMCSerializationpublic java.lang.Object clone()
Maneuverpublic float getRadius()
public void setRadius(float radius)
radius - the radius to setpublic double getSpeed()
public void setSpeed(double speed)
speed - the speed to setpublic java.lang.String getSpeedUnits()
public void setSpeedUnits(java.lang.String units)
units - the units to setpublic final float getStartZ()
public final void setStartZ(float startZ)
startZ - the startZ to setpublic ManeuverLocation.Z_UNITS getStartZUnits()
public void setStartZUnits(ManeuverLocation.Z_UNITS startZUnits)
startZUnits - the startZUnits to setpublic void paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer)
paintOnMap in class Maneuverpublic double getCompletionTime(LocationType initialPosition)
getCompletionTime in interface StatisticsProviderpublic double getDistanceTravelled(LocationType initialPosition)
getDistanceTravelled in interface StatisticsProviderpublic double getMaxDepth()
getMaxDepth in interface StatisticsProviderpublic double getMinDepth()
getMinDepth in interface StatisticsProviderCopyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.