videoRangePanel
Class VRMeasurement
java.lang.Object
videoRangePanel.VRMeasurement
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class VRMeasurement
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
|
Constructor Summary |
VRMeasurement(java.awt.Point shorePoint,
java.awt.Point animalPoint)
Constructor for shore based measurements |
VRMeasurement(java.awt.Point horizonPoint1,
java.awt.Point horizonPoint2,
java.awt.Point animalPoint)
Constructor for measurements from the horizon |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
animalPoint
public java.awt.Point animalPoint
horizonPoint
public java.awt.Point horizonPoint
distancePixels
public double distancePixels
distanceMeters
public double distanceMeters
pixelAccuracy
public double pixelAccuracy
imageName
public java.lang.String imageName
imageAnimal
public int imageAnimal
groupSize
public int groupSize
cameraAngle
public java.lang.Double cameraAngle
angleCorrection
public double angleCorrection
totalAngle
public double totalAngle
comment
public java.lang.String comment
calibrationData
public VRCalibrationData calibrationData
heightData
public VRHeightData heightData
rangeMethod
public VRRangeMethod rangeMethod
measurementType
public int measurementType
MEASURE_FROM_HORIZON
public static final int MEASURE_FROM_HORIZON
- See Also:
- Constant Field Values
MEASURE_FROM_SHORE
public static final int MEASURE_FROM_SHORE
- See Also:
- Constant Field Values
VRMeasurement
public VRMeasurement(java.awt.Point horizonPoint1,
java.awt.Point horizonPoint2,
java.awt.Point animalPoint)
- Constructor for measurements from the horizon
- Parameters:
horizonPoint1 - first horizon pointhorizonPoint2 - second horizon pointanimalPoint - clicked animal point.
VRMeasurement
public VRMeasurement(java.awt.Point shorePoint,
java.awt.Point animalPoint)
- Constructor for shore based measurements
- Parameters:
shorePoint - clicked shore point on imageanimalPoint - clicked animal point on image
getAnimalAngleDegrees
public double getAnimalAngleDegrees(VRCalibrationData vrCalibrationData)
- Returns the angle of the animal in degrees.
- Parameters:
vrCalibrationData -
- Returns:
- angle in degrees based on measured distance in pixels and
given calibration data.
getAnimalAngleRadians
public double getAnimalAngleRadians(VRCalibrationData vrCalibrationData)
getHoverText
public java.lang.String getHoverText()
clone
protected VRMeasurement clone()
- Overrides:
clone in class java.lang.Object