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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringxml tagsstatic final Stringstatic final Stringstatic final Stringxml tagsstatic final Stringstatic final Stringstatic final StringFields inherited from class ucar.unidata.data.gis.KmlImageElement
TAG_HREF, TAG_ICON, TAG_NAMEFields inherited from class ucar.unidata.data.gis.KmlInfo
TAG_ADDRESS, TAG_COORDINATES, TAG_DESCRIPTION, TAG_LINESTRINGFields inherited from class ucar.unidata.data.DirectDataChoice
dataSource, PROP_WRITEDATASOURCEFields 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 TypeMethodDescriptiondoubleGet the Altitude property.doubleGet the BottomFov property.getData(JsonDataSource dataSource, Object loadId) get the image datagetData(KmlDataSource dataSource, Object loadId) get the image datadoubleGet the Heading property.doubleGet the Latitude property.doubleGet the LeftFov property.doubleGet the Longitude property.doublegetNear()Get the Near property.doubleGet the RightFov property.doublegetRoll()Get the Roll property.doubleGet the Rotation property.doublegetTilt()Get the Tilt property.doubleGet the TopFov property.voidsetAltitude(double value) Set the Altitude property.voidsetBottomFov(double value) Set the BottomFov property.voidsetHeading(double value) Set the Heading property.voidsetLatitude(double value) Set the Latitude property.voidsetLeftFov(double value) Set the LeftFov property.voidsetLongitude(double value) Set the Longitude property.voidsetNear(double value) Set the Near property.voidsetRightFov(double value) Set the RightFov property.voidsetRoll(double value) Set the Roll property.voidsetRotation(double value) Set the Rotation property.voidsetTilt(double value) Set the Tilt property.voidsetTopFov(double value) Set the TopFov property.Methods inherited from class ucar.unidata.data.gis.KmlImageElement
getBaseUrl, getHref, getHref, getImage, getImage, setBaseUrl, setHrefMethods inherited from class ucar.unidata.data.gis.KmlInfo
getCategories, getName, setNameMethods inherited from class ucar.unidata.data.DirectDataChoice
addDataChangeListener, basicallyEquals, cloneMe, equals, getAllDateTimes, getAllLevels, getData, getDataSource, getDataSources, getFinalDataChoices, getFullDescription, getSelectedDateTimes, hashCode, initAfterUnPersistence, removeDataChangeListener, setDataSourceMethods 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:
getDatain 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:
getDatain 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
-