public class TLcdKML22ViewVolume extends TLcdKML22AbstractObject
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.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BOTTOM_FOV_PROPERTY
Data property that maps to the
bottomFov element. |
static TLcdDataProperty |
LEFT_FOV_PROPERTY
Data property that maps to the
leftFov element. |
static TLcdDataProperty |
NEAR_PROPERTY
Data property that maps to the
near element. |
static TLcdDataProperty |
RIGHT_FOV_PROPERTY
Data property that maps to the
rightFov element. |
static TLcdDataProperty |
TOP_FOV_PROPERTY
Data property that maps to the
topFov element. |
static TLcdDataProperty |
VIEW_VOLUME_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ViewVolumeObjectExtensionGroup element. |
static TLcdDataProperty |
VIEW_VOLUME_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ViewVolumeSimpleExtensionGroup element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22ViewVolume(TLcdDataType aType)
Creates a new
TLcdKML22ViewVolume with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
Double |
getBottomFov()
Gets the bottom field of view of this view volume.
|
Double |
getLeftFov()
Gets the left field of view of this view volume.
|
Double |
getNear()
Gets the near plane of this view volume.
|
Double |
getRightFov()
Gets the right field of view of this view volume.
|
Double |
getTopFov()
Gets the top field of view of this view volume.
|
void |
setBottomFov(Double aValue)
Sets the value of the property that maps to the
bottomFov element. |
void |
setLeftFov(Double aValue)
Sets the value of the property that maps to the
leftFov element. |
void |
setNear(Double aValue)
Sets the value of the property that maps to the
near element. |
void |
setRightFov(Double aValue)
Sets the value of the property that maps to the
rightFov element. |
void |
setTopFov(Double aValue)
Sets the value of the property that maps to the
topFov element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty LEFT_FOV_PROPERTY
leftFov
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty RIGHT_FOV_PROPERTY
rightFov
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty BOTTOM_FOV_PROPERTY
bottomFov
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty TOP_FOV_PROPERTY
topFov
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty NEAR_PROPERTY
near
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty VIEW_VOLUME_SIMPLE_EXTENSION_GROUP_PROPERTY
ViewVolumeSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty VIEW_VOLUME_OBJECT_EXTENSION_GROUP_PROPERTY
ViewVolumeObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22ViewVolume(TLcdDataType aType)
TLcdKML22ViewVolume
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public Double getLeftFov()
public Double getRightFov()
public Double getBottomFov()
public Double getTopFov()
public Double getNear()
public void setLeftFov(Double aValue)
leftFov
element.aValue
- the value to set for the LEFT_FOV_PROPERTY
property.public void setRightFov(Double aValue)
rightFov
element.aValue
- the value to set for the RIGHT_FOV_PROPERTY
property.public void setBottomFov(Double aValue)
bottomFov
element.aValue
- the value to set for the BOTTOM_FOV_PROPERTY
property.public void setTopFov(Double aValue)
topFov
element.aValue
- the value to set for the TOP_FOV_PROPERTY
property.public void setNear(Double aValue)
near
element.aValue
- the value to set for the NEAR_PROPERTY
property.