Package com.luciad.view.lightspeed.layer
Class TLspWorldTouchInfo
java.lang.Object
com.luciad.view.lightspeed.layer.ALspTouchInfo
com.luciad.view.lightspeed.layer.ALspWorldTouchInfo
com.luciad.view.lightspeed.layer.TLspWorldTouchInfo
- All Implemented Interfaces:
ILcdCloneable
,Cloneable
- Direct Known Subclasses:
TLspRasterWorldTouchInfo
Default implementation of
ALspWorldTouchInfo
.- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionTLspWorldTouchInfo
(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Constructs a new world touch info. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of this object.Returns the domain object.Returns the elevation mode that was used to paint the touched geometry.Returns the point in world coordinates that was touched.void
set
(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Sets the world touch info.toString()
-
Constructor Details
-
TLspWorldTouchInfo
public TLspWorldTouchInfo(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Constructs a new world touch info.- Parameters:
aDomainObject
- the touched objectaWorldPoint
- the point in world coordinates that was touchedaElevationMode
- indicates the elevation mode of the touched representation
-
-
Method Details
-
set
public void set(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Sets the world touch info.- Parameters:
aDomainObject
- the touched objectaWorldPoint
- the point in world coordinates that was touchedaElevationMode
- indicates the elevation mode of the touched object. This can be used for example to distinguish between draped and non-draped objects.
-
getDomainObject
Description copied from class:ALspTouchInfo
Returns the domain object.- Specified by:
getDomainObject
in classALspTouchInfo
- Returns:
- the domain object
-
getTouchedWorldPoint
Description copied from class:ALspWorldTouchInfo
Returns the point in world coordinates that was touched.- Specified by:
getTouchedWorldPoint
in classALspWorldTouchInfo
- Returns:
- the point in world coordinates that was touched
-
getElevationMode
Description copied from class:ALspWorldTouchInfo
Returns the elevation mode that was used to paint the touched geometry.- Specified by:
getElevationMode
in classALspWorldTouchInfo
- Returns:
- The elevation mode.
-
clone
Description copied from class:ALspTouchInfo
Returns a clone of this object. The default implementation delegates toObject.clone()
.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classALspWorldTouchInfo
- Returns:
- a clone of this object.
- See Also:
-
toString
-