public class TrackingParameterAnglePreference extends TrackingParameterVelocityVector
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.geom.Point2D.Float |
target |
scaleDistance, scaleTime
name, unit
Constructor and Description |
---|
TrackingParameterAnglePreference(java.awt.geom.Point2D.Float target,
java.lang.String unit)
Default constructor.
|
TrackingParameterAnglePreference(java.awt.geom.Point2D.Float target,
TrackingParameterDistance distance)
this constructor extracts the pixel/unit ratio and unit name data from
the distance parameter, thereby easing the preconfiguration.
|
Modifier and Type | Method and Description |
---|---|
CustomisableProcess |
getNewInstance()
Returns a new Instance of the original object.
|
java.awt.geom.Point2D.Float |
getTarget()
Returns the location of the hidden platform
|
java.util.List<DataPoint<Vector2D>> |
getValues(java.util.List<TrackSequence> sequences)
This function performs the analysis of data and returns a DataPoint list.
|
void |
setTarget(java.awt.geom.Point2D.Float target)
Sets the location of the hidden platform
|
void |
showGUI()
Shows the GUI if it exists.
|
getMax, getMean, getMin, getScaleDistance, getScaleTime, getSd, getSum, setScaleDistance, setScaleTime
getName, getUnit, setUnit
public TrackingParameterAnglePreference(java.awt.geom.Point2D.Float target, TrackingParameterDistance distance)
target
- position of the hidden platformdistance
- configured TrackingParameterDistance objectpublic TrackingParameterAnglePreference(java.awt.geom.Point2D.Float target, java.lang.String unit)
target
- position of the hidden platformunit
- name of the unit of measurement of distance (e.g. cm)public java.util.List<DataPoint<Vector2D>> getValues(java.util.List<TrackSequence> sequences)
AbstractTrackingParameter
getValues
in class TrackingParameterVelocityVector
public CustomisableProcess getNewInstance()
CustomisableProcess
getNewInstance
in interface CustomisableProcess
getNewInstance
in class TrackingParameterVelocityVector
public void showGUI()
CustomisableProcess
showGUI
in interface CustomisableProcess
showGUI
in class TrackingParameterVelocityVector
public java.awt.geom.Point2D.Float getTarget()
public void setTarget(java.awt.geom.Point2D.Float target)
target
-