Class LandMark
java.lang.Object
videoRangePanel.vrmethods.landMarkMethod.LandMark
- All Implemented Interfaces:
Serializable
,Cloneable
Class for storing Landmark information. A landmark may be known exactly using GPS information,
however a landmark may only have a bearing and pitch from a specified location if not possible
to fix and exact location.
- Author:
- Jamie Macaulay
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get the horizontal bearing to the landmark from the image location.double
Get the height of the landmarkGet the height of the image.Get the location the bearings to the landmark are fromgetName()
Get the name of the LandmarkgetPitch()
The pitch of landmark from the image location limits of -pi/2 to pi/2 in RADIANSGet the latitude and longitude position of the landmark.void
setBearing
(Double bearing) Set the horizontal bearing in RADIANSvoid
setHeightOrigin
(Double heightOrigin) Set the height of the location the horizontal and vertical bearings to the landmark are measured from.void
setLatLongOrigin
(LatLong latLongOrigin) Set the location the horizontal and vertcial angles of the landmark are measured fromvoid
Set the name of the landmark.void
Set the pitch of the landmark form the image origin.void
setPosition
(LatLong position) Set the latiide and longitude of the landmark.void
-
Constructor Details
-
LandMark
public LandMark() -
LandMark
-
LandMark
-
-
Method Details
-
update
-
getName
Get the name of the Landmark- Returns:
- the name of the landmark
-
getPosition
Get the latitude and longitude position of the landmark. Note that this can be null if bearings are used instead.- Returns:
- the lat lon position of the landmark
-
getHeight
public double getHeight()Get the height of the landmark- Returns:
- the height of the landmark in meters
-
setName
Set the name of the landmark.- Parameters:
name
- - the nmae of the landmark
-
setPosition
Set the latiide and longitude of the landmark.- Parameters:
position
-
-
getBearing
Get the horizontal bearing to the landmark from the image location. This has limits of -pi to pi and is in RADIANS.- Returns:
- the horizontal bearing to the landmark in RADIANS.
-
getPitch
The pitch of landmark from the image location limits of -pi/2 to pi/2 in RADIANS- Returns:
- the image pitch in RADIANS.
-
getHeightOrigin
Get the height of the image.- Returns:
- the height of the landmark
-
getLatLongOrigin
Get the location the bearings to the landmark are from- Returns:
- the location the horizontal and vertical bearings are from.
-
setBearing
Set the horizontal bearing in RADIANS- Parameters:
bearing
- - the horizontal bearings in RADIANS.
-
setPitch
Set the pitch of the landmark form the image origin.- Parameters:
pitch
- - the pitch in RADIANS.
-
setHeightOrigin
Set the height of the location the horizontal and vertical bearings to the landmark are measured from.- Parameters:
heightOrigin
- - the height the landmark pitch and horizontal angles are measured from.
-
setLatLongOrigin
Set the location the horizontal and vertcial angles of the landmark are measured from- Parameters:
latLongOrigin
- - the location the landmark horizontal bearings are measured from.
-
clone
-