hydroScalingAPI.examples.visad
Class SatDisplay
java.lang.Object
hydroScalingAPI.examples.visad.SatDisplay
- All Implemented Interfaces:
- java.util.EventListener, visad.DisplayListener
public class SatDisplay
- extends java.lang.Object
- implements visad.DisplayListener
Example class to display a satellite image in VisAD.
- Author:
- Don Murray - Unidata
|
Constructor Summary |
SatDisplay(java.lang.String mapFile,
java.lang.String imageSource,
boolean display3D,
boolean remap)
Construct a satellite display using the specified McIDAS map file,
image source. |
|
Method Summary |
void |
displayChanged(visad.DisplayEvent e)
|
static void |
main(java.lang.String[] args)
run 'java -mx64m SatDisplay' for globe display
run 'java -mx64m SatDisplay X remap' for remapped globe display
run 'java -mx64m SatDisplay X 2D' for flat display
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SatDisplay
public SatDisplay(java.lang.String mapFile,
java.lang.String imageSource,
boolean display3D,
boolean remap)
- Construct a satellite display using the specified McIDAS map file,
image source. The image can be displayed on a 3D globe or on a
flat rectillinear projection.
- Parameters:
mapFile - location of the McIDAS map file (path or URL)imageSource - location of the image source (path or URL)display3D - if true, use 3D display, otherwise flat rectillinearremap - remap the image into a domain over North America
displayChanged
public void displayChanged(visad.DisplayEvent e)
throws visad.VisADException,
java.rmi.RemoteException
- Specified by:
displayChanged in interface visad.DisplayListener
- Throws:
visad.VisADException
java.rmi.RemoteException
main
public static void main(java.lang.String[] args)
- run 'java -mx64m SatDisplay' for globe display
- run 'java -mx64m SatDisplay X remap' for remapped globe display
- run 'java -mx64m SatDisplay X 2D' for flat display
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.