public class TLcdKML22Camera extends TLcdKML22AbstractView
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractViewGroup The kml:Camera element specifies the position and orientation of a virtual camera. This can be used to specify views of the earth or of objects in space. A kml:Camera element should contain the kml:longitude, kml:latitude,and kml:altitude child elements outside of an update context, that is when not a descendant of kml:Update.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ALTITUDE_MODE_PROPERTY
Data property that maps to the
altitudeModeGroup element. |
static TLcdDataProperty |
ALTITUDE_PROPERTY
Data property that maps to the
altitude element. |
static TLcdDataProperty |
CAMERA_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
CameraObjectExtensionGroup element. |
static TLcdDataProperty |
CAMERA_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
CameraSimpleExtensionGroup element. |
static TLcdDataProperty |
HEADING_PROPERTY
Data property that maps to the
heading element. |
static TLcdDataProperty |
LATITUDE_PROPERTY
Data property that maps to the
latitude element. |
static TLcdDataProperty |
LONGITUDE_PROPERTY
Data property that maps to the
longitude element. |
static TLcdDataProperty |
ROLL_PROPERTY
Data property that maps to the
roll element. |
static TLcdDataProperty |
TILT_PROPERTY
Data property that maps to the
tilt element. |
ABSTRACT_VIEW_OBJECT_EXTENSION_GROUP_PROPERTY, ABSTRACT_VIEW_SIMPLE_EXTENSION_GROUP_PROPERTY
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22Camera(TLcdDataType aType)
Creates a new
TLcdKML22Camera with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
Double |
getAltitude()
Returns the value of the property that maps to the
altitude element. |
ELcdKML22AltitudeMode |
getAltitudeMode()
Returns the value of the property that maps to the
altitudeModeGroup element. |
Double |
getHeading()
Returns the value of the property that maps to the
heading element. |
Double |
getLatitude()
Returns the value of the property that maps to the
latitude element. |
Double |
getLongitude()
Returns the value of the property that maps to the
longitude element. |
Double |
getRoll()
Returns the value of the property that maps to the
roll element. |
Double |
getTilt()
Returns the value of the property that maps to the
tilt element. |
void |
setAltitude(Double aValue)
Sets the value of the property that maps to the
altitude element. |
void |
setAltitudeMode(ELcdKML22AltitudeMode aValue)
Sets the value of the property that maps to the
altitudeModeGroup element. |
void |
setHeading(Double aValue)
Sets the value of the property that maps to the
heading element. |
void |
setLatitude(Double aValue)
Sets the value of the property that maps to the
latitude element. |
void |
setLongitude(Double aValue)
Sets the value of the property that maps to the
longitude element. |
void |
setRoll(Double aValue)
Sets the value of the property that maps to the
roll element. |
void |
setTilt(Double aValue)
Sets the value of the property that maps to the
tilt element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty LONGITUDE_PROPERTY
longitude
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty LATITUDE_PROPERTY
latitude
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty ALTITUDE_PROPERTY
altitude
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty HEADING_PROPERTY
heading
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty TILT_PROPERTY
tilt
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty ROLL_PROPERTY
roll
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty ALTITUDE_MODE_PROPERTY
altitudeModeGroup
element.
The possible values for this property are instances of ELcdKML22AltitudeMode
.public static final TLcdDataProperty CAMERA_SIMPLE_EXTENSION_GROUP_PROPERTY
CameraSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty CAMERA_OBJECT_EXTENSION_GROUP_PROPERTY
CameraObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22Camera(TLcdDataType aType)
TLcdKML22Camera
with a custom TLcdDataType
.aType
- a TLcdDataType
.public ELcdKML22AltitudeMode getAltitudeMode()
altitudeModeGroup
element.ALTITUDE_MODE_PROPERTY
property.public Double getLongitude()
longitude
element.LONGITUDE_PROPERTY
property.public void setLongitude(Double aValue)
longitude
element.aValue
- the value to set for the LONGITUDE_PROPERTY
property.public Double getLatitude()
latitude
element.LATITUDE_PROPERTY
property.public void setLatitude(Double aValue)
latitude
element.aValue
- the value to set for the LATITUDE_PROPERTY
property.public Double getAltitude()
altitude
element.ALTITUDE_PROPERTY
property.public void setAltitude(Double aValue)
altitude
element.aValue
- the value to set for the ALTITUDE_PROPERTY
property.public Double getHeading()
heading
element.HEADING_PROPERTY
property.public void setHeading(Double aValue)
heading
element.aValue
- the value to set for the HEADING_PROPERTY
property.public Double getTilt()
tilt
element.TILT_PROPERTY
property.public void setTilt(Double aValue)
tilt
element.aValue
- the value to set for the TILT_PROPERTY
property.public Double getRoll()
roll
element.ROLL_PROPERTY
property.public void setRoll(Double aValue)
roll
element.aValue
- the value to set for the ROLL_PROPERTY
property.public void setAltitudeMode(ELcdKML22AltitudeMode aValue)
altitudeModeGroup
element.aValue
- the value to set for the ALTITUDE_MODE_PROPERTY
property.