Enum Class ALspViewXYZWorldTransformation.LocationMode
java.lang.Object
java.lang.Enum<ALspViewXYZWorldTransformation.LocationMode>
com.luciad.view.lightspeed.camera.ALspViewXYZWorldTransformation.LocationMode
- All Implemented Interfaces:
Serializable
,Comparable<ALspViewXYZWorldTransformation.LocationMode>
,Constable
- Enclosing class:
ALspViewXYZWorldTransformation
public static enum ALspViewXYZWorldTransformation.LocationMode
extends Enum<ALspViewXYZWorldTransformation.LocationMode>
Enumeration of modes supported by
viewPoint2WorldSFCT()
and
toolkitPoint2WorldSFCT()
.- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIn this mode,viewPoint2WorldSFCT()
returns the coordinates of a point on the surface that is closest to the viewer.In this mode,viewPoint2WorldSFCT()
returns the coordinates of a point on the ellipsoid of the geodetic datum of the view's world reference. -
Method Summary
-
Enum Constant Details
-
ELLIPSOID
In this mode,viewPoint2WorldSFCT()
returns the coordinates of a point on the ellipsoid of the geodetic datum of the view's world reference. -
CLOSEST_SURFACE
In this mode,viewPoint2WorldSFCT()
returns the coordinates of a point on the surface that is closest to the viewer. In other words, the returned coordinates may be on the surface of a domain object if one is under the specified view coordinates. If no other objects are under the requested view position, the returned coordinates are the same as forELLIPSOID
.viewPoint2WorldSFCT()
with thisLocationMode
in anILspViewListener.postRender(com.luciad.view.lightspeed.ILspView, com.luciad.view.opengl.binding.ILcdGLDrawable)
method.To retrieve terrain heights, refer to
ILspTerrainSupport#getViewDependentHeightProvider
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<ALspViewXYZWorldTransformation.LocationMode>
-