public class CrossHatchPattern extends RowsPattern
alternationPercentage, bearingRad, crossAngleRadians, curvOff, firstCurveRight, hstep, ignoreAlternationPercentage, ignoreCrossAngle, ignoreFirstCurveRight, ignoreLength, length, paintOnlyBasePoint, squareCurve, sRange, width
adapter, editing, editingHelpText, hasTime, lastDragPoint, PERCENT_MPS_CONVERSION, points, RPM_MPS_CONVERSION, RPM_PERCENT_CONVERSION, showEditingText, speed, startLoc
circleDiam, COLOR_HELP, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions, T, vehicles, X, Y, Z
Constructor and Description |
---|
CrossHatchPattern() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static void |
main(java.lang.String[] args) |
void |
paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer) |
protected void |
recalcPoints()
Call this to update the maneuver points.
|
void |
setParams(double width,
double hstep,
double alternationPercent,
double curvOff,
boolean squareCurve,
double bearingRad,
double crossAngleRadians,
boolean firstCurveRight) |
additionalProperties, clone, getEndLocation, getManeuverAsDocument, getStartLocation, loadManeuverFromXML, mouseClicked, mouseDragged, parseIMCMessage, serializeToIMC, setManeuverLocation, setProperties, translate, validateHorizontalStep, validateLength, validateWidth
createFollowPathOrPattern, getCompletionTime, registerPattern
editPointsDialog, focusGained, focusLost, getDistanceTravelled, getIconImage, getManeuverLocation, getMaxDepth, getMinDepth, getMouseCursor, getPathLocations, getPathPoints, getRadiusTolerance, getSpeed, getTooltipText, getWaypoints, isEditing, isExclusive, isShowEditingText, keyPressed, keyReleased, keyTyped, mouseExited, mouseMoved, mousePressed, mouseReleased, paintInteraction, recalculateTimes, setActive, setAssociatedSwitch, setEditing, setOffsets, setShowEditingText, setSpeed, test1, wheelMoved
addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, 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, loadXMLWithSettings, loadXMLWithSettings, loadXMLWithSettings, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setVehicle, setVehicles, setXPosition, setYPosition, toString
public java.lang.String getName()
getName
in interface StateRendererInteraction
getName
in class RowsPattern
public void paintOnMap(java.awt.Graphics2D g2d, PlanElement planElement, StateRenderer2D renderer)
paintOnMap
in class RowsPattern
protected void recalcPoints()
recalcPoints
in class RowsPattern
public void setParams(double width, double hstep, double alternationPercent, double curvOff, boolean squareCurve, double bearingRad, double crossAngleRadians, boolean firstCurveRight)
setParams
in class RowsPattern
width
- hstep
- alternationPercent
- curvOff
- squareCurve
- bearingRad
- crossAngleRadians
- firstCurveRight
- public static void main(java.lang.String[] args)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.