Package ucar.unidata.data.gis
Class KmlPhotoOverlay
java.lang.Object
ucar.unidata.data.DataChoice
ucar.unidata.data.DirectDataChoice
ucar.unidata.data.gis.KmlInfo
ucar.unidata.data.gis.KmlImageElement
ucar.unidata.data.gis.KmlPhotoOverlay
Class KmlPhotoOverlay represents a photo overlay in KML
- Version:
- $Revision: 1.12 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
xml tagsstatic final String
static final String
static final String
xml tagsstatic final String
static final String
static final String
Fields inherited from class ucar.unidata.data.gis.KmlImageElement
TAG_HREF, TAG_ICON, TAG_NAME
Fields inherited from class ucar.unidata.data.gis.KmlInfo
TAG_ADDRESS, TAG_COORDINATES, TAG_DESCRIPTION, TAG_LINESTRING
Fields inherited from class ucar.unidata.data.DirectDataChoice
dataSource, PROP_WRITEDATASOURCE
Fields inherited from class ucar.unidata.data.DataChoice
description, id, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
-
Constructor Summary
ConstructorsConstructorDescriptionctorKmlPhotoOverlay
(Element node, String displayCategory, String baseUrl) ctor -
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the Altitude property.double
Get the BottomFov property.getData
(JsonDataSource dataSource, Object loadId) get the image datagetData
(KmlDataSource dataSource, Object loadId) get the image datadouble
Get the Heading property.double
Get the Latitude property.double
Get the LeftFov property.double
Get the Longitude property.double
getNear()
Get the Near property.double
Get the RightFov property.double
getRoll()
Get the Roll property.double
Get the Rotation property.double
getTilt()
Get the Tilt property.double
Get the TopFov property.void
setAltitude
(double value) Set the Altitude property.void
setBottomFov
(double value) Set the BottomFov property.void
setHeading
(double value) Set the Heading property.void
setLatitude
(double value) Set the Latitude property.void
setLeftFov
(double value) Set the LeftFov property.void
setLongitude
(double value) Set the Longitude property.void
setNear
(double value) Set the Near property.void
setRightFov
(double value) Set the RightFov property.void
setRoll
(double value) Set the Roll property.void
setRotation
(double value) Set the Rotation property.void
setTilt
(double value) Set the Tilt property.void
setTopFov
(double value) Set the TopFov property.Methods inherited from class ucar.unidata.data.gis.KmlImageElement
getBaseUrl, getHref, getHref, getImage, getImage, setBaseUrl, setHref
Methods inherited from class ucar.unidata.data.gis.KmlInfo
getCategories, getName, setName
Methods inherited from class ucar.unidata.data.DirectDataChoice
addDataChangeListener, basicallyEquals, cloneMe, equals, getAllDateTimes, getAllLevels, getData, getDataSource, getDataSources, getFinalDataChoices, getFullDescription, getSelectedDateTimes, hashCode, initAfterUnPersistence, removeDataChangeListener, setDataSource
Methods inherited from class ucar.unidata.data.DataChoice
addCategory, addCurrentName, addParamNameToCategories, cloneDataChoices, createClone, getAllLevels, getCurrentNames, getData, getData, getDataCategories, getDataCategories, getDataSelection, getDescription, getDisplayCategory, getFixedRequestProperties, getForUser, getId, getIndexedName, getParent, getProperties, getProperty, getProperty, getProperty, getStringId, isEndUserFormula, mergeRequestProperties, setCategories, setDataCategories, setDataSelection, setDescription, setFixedRequestProperties, setId, setLevelSelection, setObjectProperty, setParent, setProperties, setProperty, setProperty, setTimeSelection, toString
-
Field Details
-
TAG_NEAR
xml tags- See Also:
-
TAG_CAMERA
- See Also:
-
TAG_LONGITUDE
- See Also:
-
TAG_LATITUDE
- See Also:
-
TAG_ALTITUDE
- See Also:
-
TAG_HEADING
- See Also:
-
TAG_TILT
- See Also:
-
TAG_ROLL
- See Also:
-
TAG_VIEWVOLUME
- See Also:
-
TAG_LEFTFOV
- See Also:
-
TAG_RIGHTFOV
- See Also:
-
TAG_BOTTOMFOV
- See Also:
-
TAG_TOPFOV
- See Also:
-
TAG_ROTATION
xml tags- See Also:
-
-
Constructor Details
-
KmlPhotoOverlay
public KmlPhotoOverlay()ctor -
KmlPhotoOverlay
ctor- Parameters:
node
- kml nodedisplayCategory
- display categorybaseUrl
- url of the kml doc
-
-
Method Details
-
getData
get the image data- Specified by:
getData
in classKmlInfo
- Parameters:
dataSource
- data sourceloadId
- for loading- Returns:
- image data
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
getData
public Data getData(JsonDataSource dataSource, Object loadId) throws VisADException, RemoteException get the image data- Specified by:
getData
in classKmlInfo
- Parameters:
dataSource
- data sourceloadId
- for loading- Returns:
- image data
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
setRotation
public void setRotation(double value) Set the Rotation property.- Parameters:
value
- The new value for Rotation
-
getRotation
public double getRotation()Get the Rotation property.- Returns:
- The Rotation
-
setLongitude
public void setLongitude(double value) Set the Longitude property.- Parameters:
value
- The new value for Longitude
-
getLongitude
public double getLongitude()Get the Longitude property.- Returns:
- The Longitude
-
setLatitude
public void setLatitude(double value) Set the Latitude property.- Parameters:
value
- The new value for Latitude
-
getLatitude
public double getLatitude()Get the Latitude property.- Returns:
- The Latitude
-
setAltitude
public void setAltitude(double value) Set the Altitude property.- Parameters:
value
- The new value for Altitude
-
getAltitude
public double getAltitude()Get the Altitude property.- Returns:
- The Altitude
-
setTilt
public void setTilt(double value) Set the Tilt property.- Parameters:
value
- The new value for Tilt
-
getTilt
public double getTilt()Get the Tilt property.- Returns:
- The Tilt
-
setRoll
public void setRoll(double value) Set the Roll property.- Parameters:
value
- The new value for Roll
-
getRoll
public double getRoll()Get the Roll property.- Returns:
- The Roll
-
setHeading
public void setHeading(double value) Set the Heading property.- Parameters:
value
- The new value for Heading
-
getHeading
public double getHeading()Get the Heading property.- Returns:
- The Heading
-
setNear
public void setNear(double value) Set the Near property.- Parameters:
value
- The new value for Near
-
getNear
public double getNear()Get the Near property.- Returns:
- The Near
-
setLeftFov
public void setLeftFov(double value) Set the LeftFov property.- Parameters:
value
- The new value for LeftFov
-
getLeftFov
public double getLeftFov()Get the LeftFov property.- Returns:
- The LeftFov
-
setRightFov
public void setRightFov(double value) Set the RightFov property.- Parameters:
value
- The new value for RightFov
-
getRightFov
public double getRightFov()Get the RightFov property.- Returns:
- The RightFov
-
setBottomFov
public void setBottomFov(double value) Set the BottomFov property.- Parameters:
value
- The new value for BottomFov
-
getBottomFov
public double getBottomFov()Get the BottomFov property.- Returns:
- The BottomFov
-
setTopFov
public void setTopFov(double value) Set the TopFov property.- Parameters:
value
- The new value for TopFov
-
getTopFov
public double getTopFov()Get the TopFov property.- Returns:
- The TopFov
-