edu.wisc.ssec.mcidasv.data
Class McIDASVLatLonProjection

java.lang.Object
  extended by ucar.unidata.geoloc.ProjectionImpl
      extended by ucar.unidata.geoloc.projection.LatLonProjection
          extended by edu.wisc.ssec.mcidasv.data.McIDASVLatLonProjection
All Implemented Interfaces:
Serializable, ucar.unidata.geoloc.Projection

public class McIDASVLatLonProjection
extends ucar.unidata.geoloc.projection.LatLonProjection

An extension of LatLonProjection that adds properties for the center point and dimensions of the projection box. Appropriate getters and setters are added so they will be picked up by the ProjectionImpl and thereby editable by the user.

Version:
$Id$
Author:
McIDAS-V Dev Team, UW SSEC
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class ucar.unidata.geoloc.ProjectionImpl
atts, defaultMapArea, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE
 
Constructor Summary
McIDASVLatLonProjection()
           
McIDASVLatLonProjection(String name)
           
McIDASVLatLonProjection(String name, ucar.unidata.geoloc.ProjectionRect mapArea)
           
 
Method Summary
 double getCenterX()
           
 double getCenterY()
           
 String getClassName()
          Get the class name
 double getLatHeight()
           
 double getLonWidth()
           
 String getProjectionTypeLabel()
          Get the label to be used in the gui for this type of projection
protected  ucar.unidata.geoloc.ProjectionImpl makeDefaultProjection()
          Make the default display projection
 void setCenterX(double x)
          Set the center of the projection box X coord.
 void setCenterY(double y)
          Set the center of the projection box Y coord.
 void setLatHeight(double h)
          Set the overall height of the projection box
 void setLonWidth(double w)
          Set the overall width of the projection box.
 
Methods inherited from class ucar.unidata.geoloc.projection.LatLonProjection
constructCopy, crossSeam, equals, getCenterLon, latLonToProj, latLonToProj, latLonToProj, latLonToProjRect, latLonToProjRect, paramsToString, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, setCenterLon, setDefaultMapArea
 
Methods inherited from class ucar.unidata.geoloc.ProjectionImpl
addParameter, addParameter, addParameter, findProjectionParameter, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getLatLonBoundingBox, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

McIDASVLatLonProjection

public McIDASVLatLonProjection()

McIDASVLatLonProjection

public McIDASVLatLonProjection(String name)

McIDASVLatLonProjection

public McIDASVLatLonProjection(String name,
                               ucar.unidata.geoloc.ProjectionRect mapArea)
Method Detail

getClassName

public String getClassName()
Get the class name

Specified by:
getClassName in interface ucar.unidata.geoloc.Projection
Overrides:
getClassName in class ucar.unidata.geoloc.ProjectionImpl
Returns:
class name

getProjectionTypeLabel

public String getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection

Overrides:
getProjectionTypeLabel in class ucar.unidata.geoloc.projection.LatLonProjection
Returns:
Type label

setCenterX

public void setCenterX(double x)
Set the center of the projection box X coord.

Parameters:
x -

setCenterY

public void setCenterY(double y)
Set the center of the projection box Y coord.

Parameters:
y -

setLonWidth

public void setLonWidth(double w)
Set the overall width of the projection box.

Parameters:
w -

setLatHeight

public void setLatHeight(double h)
Set the overall height of the projection box

Parameters:
h -

getCenterX

public double getCenterX()

getCenterY

public double getCenterY()

getLonWidth

public double getLonWidth()

getLatHeight

public double getLatHeight()

makeDefaultProjection

protected ucar.unidata.geoloc.ProjectionImpl makeDefaultProjection()
Make the default display projection

Returns:
Default display projection