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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thebottomFovelement.static final TLcdDataPropertyData property that maps to theleftFovelement.static final TLcdDataPropertyData property that maps to thenearelement.static final TLcdDataPropertyData property that maps to therightFovelement.static final TLcdDataPropertyData property that maps to thetopFovelement.static final TLcdDataPropertyData property that maps to theViewVolumeObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theViewVolumeSimpleExtensionGroupelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML22ViewVolume(TLcdDataType aType) Creates a newTLcdKML22ViewVolumewith 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.voidsetBottomFov(Double aValue) Sets the value of the property that maps to thebottomFovelement.voidsetLeftFov(Double aValue) Sets the value of the property that maps to theleftFovelement.voidSets the value of the property that maps to thenearelement.voidsetRightFov(Double aValue) Sets the value of the property that maps to therightFovelement.voidSets the value of the property that maps to thetopFovelement.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
LEFT_FOV_PROPERTY
Data property that maps to theleftFovelement. The possible values for this property are instances ofDouble. -
RIGHT_FOV_PROPERTY
Data property that maps to therightFovelement. The possible values for this property are instances ofDouble. -
BOTTOM_FOV_PROPERTY
Data property that maps to thebottomFovelement. The possible values for this property are instances ofDouble. -
TOP_FOV_PROPERTY
Data property that maps to thetopFovelement. The possible values for this property are instances ofDouble. -
NEAR_PROPERTY
Data property that maps to thenearelement. The possible values for this property are instances ofDouble. -
VIEW_VOLUME_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theViewVolumeSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
VIEW_VOLUME_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theViewVolumeObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22ViewVolume
Creates a newTLcdKML22ViewVolumewith 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 theleftFovelement.- Parameters:
aValue- the value to set for theLEFT_FOV_PROPERTYproperty.
-
setRightFov
Sets the value of the property that maps to therightFovelement.- Parameters:
aValue- the value to set for theRIGHT_FOV_PROPERTYproperty.
-
setBottomFov
Sets the value of the property that maps to thebottomFovelement.- Parameters:
aValue- the value to set for theBOTTOM_FOV_PROPERTYproperty.
-
setTopFov
Sets the value of the property that maps to thetopFovelement.- Parameters:
aValue- the value to set for theTOP_FOV_PROPERTYproperty.
-
setNear
Sets the value of the property that maps to thenearelement.- Parameters:
aValue- the value to set for theNEAR_PROPERTYproperty.
-