Class TLcdKML22PhotoOverlay
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.feature.TLcdKML22AbstractFeature
com.luciad.format.kml22.model.feature.TLcdKML22AbstractOverlay
com.luciad.format.kml22.model.feature.TLcdKML22PhotoOverlay
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdTimeBounded
,ILcdCache
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Domain class modeling the KML PhotoOverlayType type.
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractOverlayGroup The kml:PhotoOverlay element is used to position a photograph relative to the camera viewpoint and also to define field-of-view parameters. The kml:PhotoOverlay may be rendered on one of three shapes (as determined by the value of kml:shape): a 2D planar rectangle, a cylinder (for a panoramic photo), or a sphere (for a spherical panorama). The the photo overlay faces toward the viewpoint and its center is placed at the head of the view vector. The view vector is defined as the vector based at the viewpoint and in the direction specified by the corresponding kml:AbstractView element. The length of the view vector is determined by the value of the kml:near element. The photo overlay is positioned such that the view vector points toward the photo and is orthogonal to the center of the image (see Figure 9). Figure 9: kml:PhotoOverlay View Vector The URL for the kml:PhotoOverlay image is specified in the kml:Icon tag, which is inherited from kml:AbstractOverlayGroup. The kml:Icon tag must contain a kml:href element that specifies the image resource to use for the kml:PhotoOverlay. A kml:PhotoOverlay element shall contain the kml:Icon, kml:ViewVolume, kml:Point, and kml:Camera 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 theAbstractFeatureObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractFeatureSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractOverlayObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractOverlaySimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractStyleSelectorGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractTimePrimitiveGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractViewGroup
element.static final TLcdDataProperty
Data property that maps to theAddressDetails
element.static final TLcdDataProperty
Data property that maps to theaddress
element.static final TLcdDataProperty
Data property that maps to thelink
element.static final TLcdDataProperty
Data property that maps to theauthor
element.static final TLcdDataProperty
Data property that maps to thecolor
element.static final TLcdDataProperty
Data property that maps to thedescription
element.static final TLcdDataProperty
Data property that maps to thedrawOrder
element.static final TLcdDataProperty
Data property that maps to the choice between theMetadata
andExtendedData
elements.static final TLcdDataProperty
Data property that maps to theIcon
element.static final TLcdDataProperty
Data property that maps to theImagePyramid
element.static final TLcdDataProperty
Data property that maps to thename
element.static final TLcdDataProperty
Data property that maps to theopen
element.static final TLcdDataProperty
Data property that maps to thephoneNumber
element.static final TLcdDataProperty
Data property that maps to thePhotoOverlayObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thePhotoOverlaySimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thePoint
element.static final TLcdDataProperty
Data property that maps to theRegion
element.static final TLcdDataProperty
Data property that maps to therotation
element.static final TLcdDataProperty
Data property that maps to theshape
element.static final TLcdDataProperty
Data property that maps to the choice between theSnippet
andsnippet
elements.static final TLcdDataProperty
Data property that maps to thestyleUrl
element.static final TLcdDataProperty
Data property that maps to theViewVolume
element.static final TLcdDataProperty
Data property that maps to thevisibility
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionCreates a newTLcdKML22PhotoOverlay
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theAbstractStyleSelectorGroup
element.Returns the value of the property that maps to theAbstractTimePrimitiveGroup
element.Returns the value of the property that maps to theAbstractViewGroup
element.Returns the value of the property that maps to theaddress
element.Returns the value of the property that maps to theAddressDetails
element.Returns the value of the property that maps to thelink
element.Returns the value of the property that maps to theauthor
element.Returns the bounds of this photo overlay.getColor()
Returns the value of the property that maps to thecolor
element.Returns the value of the property that maps to thedescription
element.Returns the value of the property that maps to thedrawOrder
element.Returns the value of the property that maps to the choice between theMetadata
andExtendedData
elements.Returns the value of the property that maps to theIcon
element.Returns the value of the property that maps to theImagePyramid
element.getName()
Returns the value of the property that maps to thename
element.getOpen()
Returns the value of the property that maps to theopen
element.Returns the value of the property that maps to thephoneNumber
element.getPoint()
Returns the value of the property that maps to thePoint
element.Returns the value of the property that maps to theRegion
element.Returns the value of the property that maps to therotation
element.getShape()
Returns the value of the property that maps to theshape
element.Returns the value of the property that maps to the choice between theSnippet
andsnippet
elements.Returns the value of the property that maps to thestyleUrl
element.Returns the value of the property that maps to theViewVolume
element.void
Sets the value of the property that maps to theAbstractTimePrimitiveGroup
element.void
Sets the value of the property that maps to theAbstractViewGroup
element.void
setAddress
(String aValue) Sets the value of the property that maps to theaddress
element.void
setAddressDetails
(ILcdDataObject aValue) Sets the value of the property that maps to theAddressDetails
element.void
setAtomLink
(ILcdDataObject aValue) Sets the value of the property that maps to thelink
element.void
setAuthor
(ILcdDataObject aValue) Sets the value of the property that maps to theauthor
element.void
Sets the value of the property that maps to thecolor
element.void
setDescription
(String aValue) Sets the value of the property that maps to thedescription
element.void
setDrawOrder
(Integer aValue) Sets the value of the property that maps to thedrawOrder
element.void
setExtendedData
(ILcdDataObject aValue) Sets the value of the property that maps to the choice between theMetadata
andExtendedData
elements.void
setImageLink
(TLcdKML22Link aValue) Sets the value of the property that maps to theIcon
element.void
setImagePyramid
(TLcdKML22ImagePyramid aValue) Sets the value of the property that maps to theImagePyramid
element.void
Sets the value of the property that maps to thename
element.void
Sets the value of the property that maps to theopen
element.void
setPhoneNumber
(String aValue) Sets the value of the property that maps to thephoneNumber
element.void
setPoint
(TLcdKML22Point aValue) Sets the value of the property that maps to thePoint
element.void
setRegion
(TLcdKML22Region aValue) Sets the value of the property that maps to theRegion
element.void
setRotation
(Double aValue) Sets the value of the property that maps to therotation
element.void
setShape
(ELcdKML22Shape aValue) Sets the value of the property that maps to theshape
element.void
setSnippet
(TLcdKML22Snippet aValue) Sets the value of the property that maps to the choice between theSnippet
andsnippet
elements.void
setStyleUrl
(String aValue) Sets the value of the property that maps to thestyleUrl
element.void
setViewVolume
(TLcdKML22ViewVolume aValue) Sets the value of the property that maps to theViewVolume
element.void
setVisibility
(Boolean aValue) Sets the value of the property that maps to thevisibility
element.Methods inherited from class com.luciad.format.kml22.model.feature.TLcdKML22AbstractFeature
clearCache, clone, getCachedObject, getInnerStyleSelector, getKMLSourceName, getTimeBounds, getVisibility, insertIntoCache, removeCachedObject, setKMLSourceName
Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
-
Field Details
-
ROTATION_PROPERTY
Data property that maps to therotation
element. The possible values for this property are instances ofDouble
. -
VIEW_VOLUME_PROPERTY
Data property that maps to theViewVolume
element. The possible values for this property are instances ofTLcdKML22ViewVolume
. -
IMAGE_PYRAMID_PROPERTY
Data property that maps to theImagePyramid
element. The possible values for this property are instances ofTLcdKML22ImagePyramid
. -
POINT_PROPERTY
Data property that maps to thePoint
element. The possible values for this property are instances ofTLcdKML22Point
. -
SHAPE_PROPERTY
Data property that maps to theshape
element. The possible values for this property are instances ofELcdKML22Shape
. -
PHOTO_OVERLAY_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to thePhotoOverlaySimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
PHOTO_OVERLAY_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to thePhotoOverlayObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
COLOR_PROPERTY
Data property that maps to thecolor
element. The possible values for this property are instances ofColor
. -
DRAW_ORDER_PROPERTY
Data property that maps to thedrawOrder
element. The possible values for this property are instances ofInteger
. -
IMAGE_LINK_PROPERTY
Data property that maps to theIcon
element. The possible values for this property are instances ofTLcdKML22Link
. -
ABSTRACT_OVERLAY_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractOverlaySimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_OVERLAY_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractOverlayObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
NAME_PROPERTY
Data property that maps to thename
element. The possible values for this property are instances ofString
. -
VISIBILITY_PROPERTY
Data property that maps to thevisibility
element. The possible values for this property are instances ofBoolean
. -
OPEN_PROPERTY
Data property that maps to theopen
element. The possible values for this property are instances ofBoolean
. -
AUTHOR_PROPERTY
Data property that maps to theauthor
element. The possible values for this property are instances ofILcdDataObject
. -
ATOM_LINK_PROPERTY
Data property that maps to thelink
element. The possible values for this property are instances ofILcdDataObject
. -
ADDRESS_PROPERTY
Data property that maps to theaddress
element. The possible values for this property are instances ofString
. -
ADDRESS_DETAILS_PROPERTY
Data property that maps to theAddressDetails
element. The possible values for this property are instances ofILcdDataObject
. -
PHONE_NUMBER_PROPERTY
Data property that maps to thephoneNumber
element. The possible values for this property are instances ofString
. -
SNIPPET_PROPERTY
Data property that maps to the choice between theSnippet
andsnippet
elements. The possible values for this property are instances ofTLcdKML22Snippet
String
-
DESCRIPTION_PROPERTY
Data property that maps to thedescription
element. The possible values for this property are instances ofString
. -
ABSTRACT_VIEW_GROUP_PROPERTY
Data property that maps to theAbstractViewGroup
element. The possible values for this property are instances ofTLcdKML22AbstractView
. -
ABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
Data property that maps to theAbstractTimePrimitiveGroup
element. The possible values for this property are instances ofTLcdKML22AbstractTimePrimitive
. -
STYLE_URL_PROPERTY
Data property that maps to thestyleUrl
element. The possible values for this property are instances ofString
. -
ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
Data property that maps to theAbstractStyleSelectorGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractStyleSelector>
. -
REGION_PROPERTY
Data property that maps to theRegion
element. The possible values for this property are instances ofTLcdKML22Region
. -
EXTENDED_DATA_PROPERTY
Data property that maps to the choice between theMetadata
andExtendedData
elements. The possible values for this property are instances of -
ABSTRACT_FEATURE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractFeatureSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_FEATURE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractFeatureObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22PhotoOverlay
Creates a newTLcdKML22PhotoOverlay
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
getBounds
Returns the bounds of this photo overlay. Returns null if no bounds were available.- Specified by:
getBounds
in interfaceILcdBounded
- Returns:
- The bounds of the point of this photo overlay.
-
getRotation
Returns the value of the property that maps to therotation
element.- Returns:
- the value of the
ROTATION_PROPERTY
property.
-
setRotation
Sets the value of the property that maps to therotation
element.- Parameters:
aValue
- the value to set for theROTATION_PROPERTY
property.
-
getViewVolume
Returns the value of the property that maps to theViewVolume
element.- Returns:
- the value of the
VIEW_VOLUME_PROPERTY
property.
-
setViewVolume
Sets the value of the property that maps to theViewVolume
element.- Parameters:
aValue
- the value to set for theVIEW_VOLUME_PROPERTY
property.
-
getImagePyramid
Returns the value of the property that maps to theImagePyramid
element.- Returns:
- the value of the
IMAGE_PYRAMID_PROPERTY
property.
-
setImagePyramid
Sets the value of the property that maps to theImagePyramid
element.- Parameters:
aValue
- the value to set for theIMAGE_PYRAMID_PROPERTY
property.
-
getPoint
Returns the value of the property that maps to thePoint
element.- Returns:
- the value of the
POINT_PROPERTY
property.
-
setPoint
Sets the value of the property that maps to thePoint
element.- Parameters:
aValue
- the value to set for thePOINT_PROPERTY
property.
-
getShape
Returns the value of the property that maps to theshape
element.- Returns:
- the value of the
SHAPE_PROPERTY
property.
-
setShape
Sets the value of the property that maps to theshape
element.- Parameters:
aValue
- the value to set for theSHAPE_PROPERTY
property.
-
getColor
Returns the value of the property that maps to thecolor
element.- Returns:
- the value of the
COLOR_PROPERTY
property.
-
setColor
Sets the value of the property that maps to thecolor
element.- Parameters:
aValue
- the value to set for theCOLOR_PROPERTY
property.
-
getDrawOrder
Returns the value of the property that maps to thedrawOrder
element.- Returns:
- the value of the
DRAW_ORDER_PROPERTY
property.
-
setDrawOrder
Sets the value of the property that maps to thedrawOrder
element.- Parameters:
aValue
- the value to set for theDRAW_ORDER_PROPERTY
property.
-
getImageLink
Returns the value of the property that maps to theIcon
element.- Returns:
- the value of the
IMAGE_LINK_PROPERTY
property.
-
setImageLink
Sets the value of the property that maps to theIcon
element.- Parameters:
aValue
- the value to set for theIMAGE_LINK_PROPERTY
property.
-
getName
Returns the value of the property that maps to thename
element.- Returns:
- the value of the
NAME_PROPERTY
property.
-
setName
Sets the value of the property that maps to thename
element.- Parameters:
aValue
- the value to set for theNAME_PROPERTY
property.
-
setVisibility
Sets the value of the property that maps to thevisibility
element.- Parameters:
aValue
- the value to set for theVISIBILITY_PROPERTY
property.
-
getOpen
Returns the value of the property that maps to theopen
element.- Returns:
- the value of the
OPEN_PROPERTY
property.
-
setOpen
Sets the value of the property that maps to theopen
element.- Parameters:
aValue
- the value to set for theOPEN_PROPERTY
property.
-
getAuthor
Returns the value of the property that maps to theauthor
element.- Returns:
- the value of the
AUTHOR_PROPERTY
property.
-
setAuthor
Sets the value of the property that maps to theauthor
element.- Parameters:
aValue
- the value to set for theAUTHOR_PROPERTY
property.
-
getAtomLink
Returns the value of the property that maps to thelink
element.- Returns:
- the value of the
ATOM_LINK_PROPERTY
property.
-
setAtomLink
Sets the value of the property that maps to thelink
element.- Parameters:
aValue
- the value to set for theATOM_LINK_PROPERTY
property.
-
getAddress
Returns the value of the property that maps to theaddress
element.- Returns:
- the value of the
ADDRESS_PROPERTY
property.
-
setAddress
Sets the value of the property that maps to theaddress
element.- Parameters:
aValue
- the value to set for theADDRESS_PROPERTY
property.
-
getAddressDetails
Returns the value of the property that maps to theAddressDetails
element.This container defines the details of the address. Can define multiple addresses including tracking address history
- Returns:
- the value of the
ADDRESS_DETAILS_PROPERTY
property.
-
setAddressDetails
Sets the value of the property that maps to theAddressDetails
element.This container defines the details of the address. Can define multiple addresses including tracking address history
- Parameters:
aValue
- the value to set for theADDRESS_DETAILS_PROPERTY
property.
-
getPhoneNumber
Returns the value of the property that maps to thephoneNumber
element.- Returns:
- the value of the
PHONE_NUMBER_PROPERTY
property.
-
setPhoneNumber
Sets the value of the property that maps to thephoneNumber
element.- Parameters:
aValue
- the value to set for thePHONE_NUMBER_PROPERTY
property.
-
getSnippet
Returns the value of the property that maps to the choice between theSnippet
andsnippet
elements.The possible values for this property are instances of
TLcdKML22Snippet
String
- Returns:
- the value of the
SNIPPET_PROPERTY
property.
-
setSnippet
Sets the value of the property that maps to the choice between theSnippet
andsnippet
elements.The possible values for this property are instances of
TLcdKML22Snippet
String
- Parameters:
aValue
- the value to set for theSNIPPET_PROPERTY
property.
-
getDescription
Returns the value of the property that maps to thedescription
element.- Returns:
- the value of the
DESCRIPTION_PROPERTY
property.
-
setDescription
Sets the value of the property that maps to thedescription
element.- Parameters:
aValue
- the value to set for theDESCRIPTION_PROPERTY
property.
-
getAbstractViewGroup
Returns the value of the property that maps to theAbstractViewGroup
element.- Returns:
- the value of the
ABSTRACT_VIEW_GROUP_PROPERTY
property.
-
setAbstractViewGroup
Sets the value of the property that maps to theAbstractViewGroup
element.- Parameters:
aValue
- the value to set for theABSTRACT_VIEW_GROUP_PROPERTY
property.
-
getAbstractTimePrimitiveGroup
Returns the value of the property that maps to theAbstractTimePrimitiveGroup
element.- Returns:
- the value of the
ABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
property.
-
setAbstractTimePrimitiveGroup
Sets the value of the property that maps to theAbstractTimePrimitiveGroup
element.- Parameters:
aValue
- the value to set for theABSTRACT_TIME_PRIMITIVE_GROUP_PROPERTY
property.
-
getStyleUrl
Returns the value of the property that maps to thestyleUrl
element.- Returns:
- the value of the
STYLE_URL_PROPERTY
property.
-
setStyleUrl
Sets the value of the property that maps to thestyleUrl
element.- Parameters:
aValue
- the value to set for theSTYLE_URL_PROPERTY
property.
-
getAbstractStyleSelectorGroup
Returns the value of the property that maps to theAbstractStyleSelectorGroup
element.- Returns:
- the value of the
ABSTRACT_STYLE_SELECTOR_GROUP_PROPERTY
property.
-
getRegion
Returns the value of the property that maps to theRegion
element.- Returns:
- the value of the
REGION_PROPERTY
property.
-
setRegion
Sets the value of the property that maps to theRegion
element.- Parameters:
aValue
- the value to set for theREGION_PROPERTY
property.
-
getExtendedData
Returns the value of the property that maps to the choice between theMetadata
andExtendedData
elements.The possible values for this property are instances of
- Returns:
- the value of the
EXTENDED_DATA_PROPERTY
property.
-
setExtendedData
Sets the value of the property that maps to the choice between theMetadata
andExtendedData
elements.The possible values for this property are instances of
- Parameters:
aValue
- the value to set for theEXTENDED_DATA_PROPERTY
property.
-