ucar.unidata.data.gis
Class KmlPhotoOverlay

java.lang.Object
  extended by ucar.unidata.data.gis.KmlInfo
      extended by ucar.unidata.data.gis.KmlImageElement
          extended by ucar.unidata.data.gis.KmlPhotoOverlay

public class KmlPhotoOverlay
extends KmlImageElement

Class KmlPhotoOverlay represents a photo overlay in KML

Version:
$Revision: 1.12 $
Author:
IDV Development Team

Field Summary
static String TAG_ALTITUDE
           
static String TAG_BOTTOMFOV
           
static String TAG_CAMERA
           
static String TAG_HEADING
           
static String TAG_LATITUDE
           
static String TAG_LEFTFOV
           
static String TAG_LONGITUDE
           
static String TAG_NEAR
          xml tags
static String TAG_RIGHTFOV
           
static String TAG_ROLL
           
static String TAG_ROTATION
          xml tags
static String TAG_TILT
           
static String TAG_TOPFOV
           
static String TAG_VIEWVOLUME
           
 
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
 
Constructor Summary
KmlPhotoOverlay()
          ctor
KmlPhotoOverlay(Element node, String displayCategory, String baseUrl)
          ctor
 
Method Summary
 double getAltitude()
          Get the Altitude property.
 double getBottomFov()
          Get the BottomFov property.
 Data getData(KmlDataSource dataSource, Object loadId)
          get the image data
 double getHeading()
          Get the Heading property.
 double getLatitude()
          Get the Latitude property.
 double getLeftFov()
          Get the LeftFov property.
 double getLongitude()
          Get the Longitude property.
 double getNear()
          Get the Near property.
 double getRightFov()
          Get the RightFov property.
 double getRoll()
          Get the Roll property.
 double getRotation()
          Get the Rotation property.
 double getTilt()
          Get the Tilt property.
 double getTopFov()
          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, setBaseUrl, setHref
 
Methods inherited from class ucar.unidata.data.gis.KmlInfo
getCategories, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NEAR

public static final String TAG_NEAR
xml tags

See Also:
Constant Field Values

TAG_CAMERA

public static final String TAG_CAMERA
See Also:
Constant Field Values

TAG_LONGITUDE

public static final String TAG_LONGITUDE
See Also:
Constant Field Values

TAG_LATITUDE

public static final String TAG_LATITUDE
See Also:
Constant Field Values

TAG_ALTITUDE

public static final String TAG_ALTITUDE
See Also:
Constant Field Values

TAG_HEADING

public static final String TAG_HEADING
See Also:
Constant Field Values

TAG_TILT

public static final String TAG_TILT
See Also:
Constant Field Values

TAG_ROLL

public static final String TAG_ROLL
See Also:
Constant Field Values

TAG_VIEWVOLUME

public static final String TAG_VIEWVOLUME
See Also:
Constant Field Values

TAG_LEFTFOV

public static final String TAG_LEFTFOV
See Also:
Constant Field Values

TAG_RIGHTFOV

public static final String TAG_RIGHTFOV
See Also:
Constant Field Values

TAG_BOTTOMFOV

public static final String TAG_BOTTOMFOV
See Also:
Constant Field Values

TAG_TOPFOV

public static final String TAG_TOPFOV
See Also:
Constant Field Values

TAG_ROTATION

public static final String TAG_ROTATION
xml tags

See Also:
Constant Field Values
Constructor Detail

KmlPhotoOverlay

public KmlPhotoOverlay()
ctor


KmlPhotoOverlay

public KmlPhotoOverlay(Element node,
                       String displayCategory,
                       String baseUrl)
ctor

Parameters:
node - kml node
displayCategory - display category
baseUrl - url of the kml doc
Method Detail

getData

public Data getData(KmlDataSource dataSource,
                    Object loadId)
             throws VisADException,
                    RemoteException
get the image data

Specified by:
getData in class KmlInfo
Parameters:
dataSource - data source
loadId - for loading
Returns:
image data
Throws:
RemoteException - On badness
VisADException - 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