Class TLcdKML22ViewVolume
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.util.TLcdKML22ViewVolume
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Domain class modeling the KML ViewVolumeType type.
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractObjectGroup Defines how much of the current scene in a kml:PhotoOverlay is visible. Specifying the field of view is analogous to specifying the lens opening in a physical camera. A small field of view, like a telephoto lens, focuses on a small part of the scene. A large field of view, like a wide-angle lens, focuses on a large part of the scene. A kml:ViewVolume element shall contain the kml:leftFov, kml:rightFov, kml:bottomFov, kml:topFov, and kml:near child elements outside of an update context, that is when not a descendant of kml:Update.
- Since:
- 10.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thebottomFov
element.static final TLcdDataProperty
Data property that maps to theleftFov
element.static final TLcdDataProperty
Data property that maps to thenear
element.static final TLcdDataProperty
Data property that maps to therightFov
element.static final TLcdDataProperty
Data property that maps to thetopFov
element.static final TLcdDataProperty
Data property that maps to theViewVolumeObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theViewVolumeSimpleExtensionGroup
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22ViewVolume
(TLcdDataType aType) Creates a newTLcdKML22ViewVolume
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionGets the bottom field of view of this view volume.Gets the left field of view of this view volume.getNear()
Gets the near plane of this view volume.Gets the right field of view of this view volume.Gets the top field of view of this view volume.void
setBottomFov
(Double aValue) Sets the value of the property that maps to thebottomFov
element.void
setLeftFov
(Double aValue) Sets the value of the property that maps to theleftFov
element.void
Sets the value of the property that maps to thenear
element.void
setRightFov
(Double aValue) Sets the value of the property that maps to therightFov
element.void
Sets the value of the property that maps to thetopFov
element.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
LEFT_FOV_PROPERTY
Data property that maps to theleftFov
element. The possible values for this property are instances ofDouble
. -
RIGHT_FOV_PROPERTY
Data property that maps to therightFov
element. The possible values for this property are instances ofDouble
. -
BOTTOM_FOV_PROPERTY
Data property that maps to thebottomFov
element. The possible values for this property are instances ofDouble
. -
TOP_FOV_PROPERTY
Data property that maps to thetopFov
element. The possible values for this property are instances ofDouble
. -
NEAR_PROPERTY
Data property that maps to thenear
element. The possible values for this property are instances ofDouble
. -
VIEW_VOLUME_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theViewVolumeSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
VIEW_VOLUME_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theViewVolumeObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22ViewVolume
Creates a newTLcdKML22ViewVolume
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
getLeftFov
Gets the left field of view of this view volume. If it was undefined it will return a default value of (0.0).- Returns:
- a left field of view value for this view volume
-
getRightFov
Gets the right field of view of this view volume. If it was undefined it will return a default value of (0.0).- Returns:
- a right field of view value for this view volume
-
getBottomFov
Gets the bottom field of view of this view volume. If it was undefined it will return a default value of (0.0).- Returns:
- a bottom field of view value for this view volume
-
getTopFov
Gets the top field of view of this view volume. If it was undefined it will return a default value of (0.0).- Returns:
- a top field of view value for this view volume
-
getNear
Gets the near plane of this view volume. If it was undefined it will return a default value of (0.0).- Returns:
- a near plane for this view volume
-
setLeftFov
Sets the value of the property that maps to theleftFov
element.- Parameters:
aValue
- the value to set for theLEFT_FOV_PROPERTY
property.
-
setRightFov
Sets the value of the property that maps to therightFov
element.- Parameters:
aValue
- the value to set for theRIGHT_FOV_PROPERTY
property.
-
setBottomFov
Sets the value of the property that maps to thebottomFov
element.- Parameters:
aValue
- the value to set for theBOTTOM_FOV_PROPERTY
property.
-
setTopFov
Sets the value of the property that maps to thetopFov
element.- Parameters:
aValue
- the value to set for theTOP_FOV_PROPERTY
property.
-
setNear
Sets the value of the property that maps to thenear
element.- Parameters:
aValue
- the value to set for theNEAR_PROPERTY
property.
-