public class Flythrough extends SharableImpl implements java.beans.PropertyChangeListener, java.awt.image.ImageObserver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_ALT
xml tag and attr name
|
static java.lang.String |
ATTR_DATE
xml tag and attr name
|
static java.lang.String |
ATTR_LAT
xml tag and attr name
|
static java.lang.String |
ATTR_LON
xml tag and attr name
|
static java.lang.String |
ATTR_MATRIX
xml tag and attr name
|
static java.lang.String[] |
ATTR_TILT
xml tag and attr name
|
static java.lang.String |
ATTR_ZOOM
xml tag and attr name
|
protected java.awt.Point |
dashboardImageOffset
_more_
|
static java.lang.String |
ORIENT_DOWN
_more_
|
static java.lang.String |
ORIENT_FORWARD
_more_
|
static java.lang.String |
ORIENT_LEFT
_more_
|
static java.lang.String |
ORIENT_POINT
_more_
|
static java.lang.String |
ORIENT_RIGHT
_more_
|
static java.lang.String |
ORIENT_UP
_more_
|
static java.lang.String |
TAG_DESCRIPTION
xml tag and attr name
|
static java.lang.String |
TAG_FLYTHROUGH
xml tag and attr name
|
static java.lang.String |
TAG_POINT
xml tag and attr name
|
Constructor and Description |
---|
Flythrough()
_more_
|
Flythrough(MapViewManager viewManager)
_more_
|
Modifier and Type | Method and Description |
---|---|
FlythroughPoint |
addPoint(boolean includeTime)
_more_
|
FlythroughPoint |
addPointWithoutTime()
_more_
|
FlythroughPoint |
addPointWithTime()
_more_
|
void |
animationTimeChanged()
_more_
|
void |
clearPoints()
_more_
|
void |
clearSamples()
_more_
|
static org.jfree.chart.JFreeChart |
createChart(org.jfree.data.xy.XYDataset dataset)
Creates a chart.
|
void |
destroy()
_more_
|
void |
displayChanged(visad.DisplayEvent event)
_more_
|
void |
displayControlChanged()
_more_
|
void |
doDrive(boolean takeStep,
double heading)
_more_
|
void |
doDrive(boolean takeStep,
double heading,
boolean forward)
_more_
|
void |
doExport()
_more_
|
boolean |
doGlobe()
_more_
|
void |
doImport()
_more_
|
javax.swing.JComponent |
doMakeDashboardPanel()
_more_
|
javax.swing.JComponent |
doMakeDescriptionPanel()
_more_
|
javax.swing.JMenuBar |
doMakeMenuBar()
_more_
|
javax.swing.JComponent |
doMakeNavigationPanel()
_more_
|
javax.swing.JComponent |
doMakePointsPanel()
_more_
|
javax.swing.JComponent |
doMakeValuesPanel()
_more_
|
javax.swing.JComponent |
doMakeViewpointPanel()
_more_
|
void |
doRepaint(javax.swing.JComponent c)
_more_
|
void |
doUpdate()
_more_
|
void |
driveBack()
_more_
|
void |
driveForward()
_more_
|
void |
driveLeft()
_more_
|
void |
driveRight()
_more_
|
void |
flyAlongLatitude()
_more_
|
void |
flyAlongLongitude()
_more_
|
void |
flythrough(float[][] pts)
_more_
|
void |
flythrough(java.util.List<FlythroughPoint> newPoints)
tmp
|
void |
flythrough(java.util.List<FlythroughPoint> newPoints,
boolean andShow)
_more_
|
double |
getAlt(visad.georef.EarthLocation location)
_more_
|
boolean |
getAnimate()
Get the Animate property.
|
Animation |
getAnimation()
_more_
|
AnimationInfo |
getAnimationInfo()
Get the AnimationInfo property.
|
int |
getAnimationSpeed()
Get the AnimationSpeed property.
|
AnimationWidget |
getAnimationWidget()
_more_
|
boolean |
getChangeViewpoint()
Get the ChangeViewpoint property.
|
int |
getCurrentIndex()
Get the CurrentIndex property.
|
FlythroughPoint |
getCurrentPoint()
_more_
|
java.awt.Image |
getDashboardImage()
_more_
|
java.util.List<FlythroughDecorator> |
getDecorators()
Get the Decorators property.
|
boolean |
getGoToClick()
Get the GoToClick property.
|
double |
getHeading()
Get the Heading property.
|
IntegratedDataViewer |
getIdv()
_more_
|
visad.georef.EarthLocation |
getLastLocation()
_more_
|
double |
getLat(visad.georef.EarthLocation location)
_more_
|
visad.georef.EarthLocation |
getLocation()
Get the Location property.
|
double |
getLon(visad.georef.EarthLocation location)
_more_
|
visad.VisADGeometryArray |
getMarker()
_more_
|
java.lang.String |
getOrientation()
Get the Orientation property.
|
java.util.List<FlythroughPoint> |
getPoints()
Get the Points property.
|
java.util.List<FlythroughPoint> |
getPointsToUse()
_more_
|
boolean |
getShowAnimation()
Get the ShowAnimation property.
|
boolean |
getShowDecoration()
Get the ShowDecoration property.
|
boolean |
getShowLine()
Get the ShowLine property.
|
boolean |
getShowMarker()
Get the ShowMarker property.
|
boolean |
getShown()
Get the Shown property.
|
boolean |
getShowReadout()
Get the ShowReadout property.
|
boolean |
getShowTimes()
Get the ShowTimes property.
|
int |
getStride()
Get the Stride property.
|
double[] |
getTilt()
Get the Tilt property.
|
boolean |
getUseFixedZ()
Get the UseFixedZ property.
|
MapViewManager |
getViewManager()
_more_
|
java.awt.Rectangle |
getWindowBounds()
Get the WindowBounds property.
|
double |
getZoom()
Get the Zoom property.
|
protected void |
goTo(FlythroughPoint pt1,
double[] xyz1,
double[] xyz2,
double[] actualPoint,
boolean animateMove)
_more_
|
void |
goToCurrent()
_more_
|
boolean |
hasPoints()
_more_
|
boolean |
imageUpdate(java.awt.Image img,
int flags,
int x,
int y,
int width,
int height)
_more_
|
void |
init(MapViewManager viewManager)
_more_
|
void |
initEditMenu(javax.swing.JMenu editMenu)
_more_
|
void |
initFileMenu(javax.swing.JMenu fileMenu)
_more_
|
void |
initViewMenu(javax.swing.JMenu viewMenu)
_more_
|
void |
initWith(Flythrough that)
_more_
|
boolean |
isActive()
_more_
|
void |
logException(java.lang.String msg,
java.lang.Throwable exc)
_more_
|
void |
paintDashboardAfter(java.awt.Graphics g,
javax.swing.JComponent comp)
_more_
|
void |
paintDashboardBackground(java.awt.Graphics g,
javax.swing.JComponent comp)
_more_
|
protected void |
processReadout(FlythroughPoint pt1)
_more_
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
_more_
|
void |
setAnimate(boolean value)
Set the Animate property.
|
void |
setAnimateSpeed(long value)
Set the AnimateSpeed property.
|
void |
setAnimationInfo(AnimationInfo value)
Set the AnimationInfo property.
|
void |
setAnimationSpeed(int value)
Set the AnimationSpeed property.
|
void |
setChangeViewpoint(boolean value)
Set the ChangeViewpoint property.
|
void |
setClip(boolean value)
Set the Clip property.
|
void |
setCurrentIndex(int value)
Set the CurrentIndex property.
|
void |
setDecorators(java.util.List<FlythroughDecorator> value)
Set the Decorators property.
|
void |
setFrameLocation(java.awt.Point value)
Set the FrameLocation property.
|
void |
setGoToClick(boolean value)
Set the GoToClick property.
|
void |
setHeading(double value)
Set the Heading property.
|
void |
setLocation(visad.georef.EarthLocation value)
Set the Location property.
|
void |
setMaxPoints(int value)
Set the MaxPoints property.
|
void |
setOrientation(java.lang.String value)
Set the Orientation property.
|
void |
setPoints(java.util.List<FlythroughPoint> value)
Set the Points property.
|
void |
setRelativeOrientation(boolean value)
_more_
|
void |
setScaleOnMarkers()
_more_
|
void |
setShareGroup(java.lang.Object shareGroup)
_more_
|
void |
setSharing(boolean sharing)
_more_
|
void |
setShowAnimation(boolean value)
Set the ShowAnimation property.
|
void |
setShowChart(boolean value)
Set the ShowChart property.
|
void |
setShowDecoration(boolean value)
Set the ShowDecoration property.
|
void |
setShowLine(boolean value)
Set the ShowLine property.
|
void |
setShowMarker(boolean value)
Set the ShowMarker property.
|
void |
setShown(boolean value)
Set the Shown property.
|
void |
setShowReadout(boolean value)
Set the ShowReadout property.
|
void |
setShowTimes(boolean value)
Set the ShowTimes property.
|
void |
setStride(int value)
Set the Stride property.
|
void |
setTilt(double[] value)
Set the Tilt property.
|
void |
setTiltX(double value)
Set the Tilt property.
|
void |
setTiltY(double value)
Set the Tilt property.
|
void |
setTiltZ(double value)
Set the Tilt propertz.
|
void |
setUseFixedZ(boolean value)
Set the UseFixedZ property.
|
void |
setViewManager(MapViewManager viewManager)
_more_
|
void |
setWindowBounds(java.awt.Rectangle value)
Set the WindowBounds property.
|
void |
setZoom(double value)
Set the Zoom property.
|
void |
show()
_more_
|
void |
updateDashboard()
_more_
|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setUniqueId, showSharableDialog
public static final java.lang.String ORIENT_POINT
public static final java.lang.String ORIENT_FORWARD
public static final java.lang.String ORIENT_UP
public static final java.lang.String ORIENT_DOWN
public static final java.lang.String ORIENT_LEFT
public static final java.lang.String ORIENT_RIGHT
public static final java.lang.String TAG_FLYTHROUGH
public static final java.lang.String TAG_DESCRIPTION
public static final java.lang.String TAG_POINT
public static final java.lang.String ATTR_DATE
public static final java.lang.String ATTR_LAT
public static final java.lang.String ATTR_LON
public static final java.lang.String ATTR_ALT
public static final java.lang.String[] ATTR_TILT
public static final java.lang.String ATTR_ZOOM
public static final java.lang.String ATTR_MATRIX
protected java.awt.Point dashboardImageOffset
public Flythrough()
public Flythrough(MapViewManager viewManager)
viewManager
- _more_public void setViewManager(MapViewManager viewManager)
viewManager
- _more_public void init(MapViewManager viewManager)
viewManager
- _more_public void initWith(Flythrough that)
that
- _more_public MapViewManager getViewManager()
public IntegratedDataViewer getIdv()
public void destroy() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- _more_visad.VisADException
- _more_public AnimationWidget getAnimationWidget()
public Animation getAnimation()
public void flythrough(float[][] pts)
pts
- _more_public void flythrough(java.util.List<FlythroughPoint> newPoints)
newPoints
- _more_public void flythrough(java.util.List<FlythroughPoint> newPoints, boolean andShow)
newPoints
- _more_andShow
- _more_public void goToCurrent()
public void updateDashboard()
public boolean imageUpdate(java.awt.Image img, int flags, int x, int y, int width, int height)
imageUpdate
in interface java.awt.image.ImageObserver
img
- _more_flags
- _more_x
- _more_y
- _more_width
- _more_height
- _more_public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- _more_public javax.swing.JComponent doMakeDescriptionPanel()
public javax.swing.JMenuBar doMakeMenuBar()
public javax.swing.JComponent doMakeViewpointPanel() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- _more_visad.VisADException
- _more_public void setScaleOnMarkers()
public javax.swing.JComponent doMakePointsPanel()
public javax.swing.JComponent doMakeValuesPanel()
public javax.swing.JComponent doMakeDashboardPanel()
public void doRepaint(javax.swing.JComponent c)
c
- _more_public visad.georef.EarthLocation getLastLocation()
public void paintDashboardAfter(java.awt.Graphics g, javax.swing.JComponent comp)
g
- _more_comp
- _more_public java.awt.Image getDashboardImage()
public static org.jfree.chart.JFreeChart createChart(org.jfree.data.xy.XYDataset dataset)
dataset
- the data for the chart.public void paintDashboardBackground(java.awt.Graphics g, javax.swing.JComponent comp)
g
- _more_comp
- _more_public void displayChanged(visad.DisplayEvent event) throws visad.VisADException, java.rmi.RemoteException
event
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public javax.swing.JComponent doMakeNavigationPanel()
public void driveLeft()
public void driveRight()
public void driveForward()
public void driveBack()
public void doDrive(boolean takeStep, double heading)
takeStep
- _more_heading
- _more_public void doDrive(boolean takeStep, double heading, boolean forward)
takeStep
- _more_heading
- _more_forward
- _more_public double getLat(visad.georef.EarthLocation location) throws visad.VisADException
location
- _more_visad.VisADException
- _more_public double getLon(visad.georef.EarthLocation location) throws visad.VisADException
location
- _more_visad.VisADException
- _more_public double getAlt(visad.georef.EarthLocation location) throws visad.VisADException
location
- _more_visad.VisADException
- _more_public void clearPoints()
public void initEditMenu(javax.swing.JMenu editMenu)
editMenu
- _more_public void initFileMenu(javax.swing.JMenu fileMenu)
fileMenu
- _more_public void initViewMenu(javax.swing.JMenu viewMenu)
viewMenu
- _more_public void clearSamples()
public void setSharing(boolean sharing)
setSharing
in class SharableImpl
sharing
- _more_public void setShareGroup(java.lang.Object shareGroup)
setShareGroup
in class SharableImpl
shareGroup
- _more_public void doImport()
public FlythroughPoint addPointWithoutTime()
public void flyAlongLatitude() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- _more_visad.VisADException
- _more_public void flyAlongLongitude() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- _more_visad.VisADException
- _more_public FlythroughPoint addPointWithTime()
public FlythroughPoint addPoint(boolean includeTime)
includeTime
- _more_public void doExport()
public void show()
public boolean isActive()
protected void goTo(FlythroughPoint pt1, double[] xyz1, double[] xyz2, double[] actualPoint, boolean animateMove)
pt1
- _more_xyz1
- _more_xyz2
- _more_actualPoint
- _more_animateMove
- _more_public boolean doGlobe()
public visad.VisADGeometryArray getMarker()
public void logException(java.lang.String msg, java.lang.Throwable exc)
msg
- _more_exc
- _more_public void displayControlChanged()
public void doUpdate()
public void animationTimeChanged()
protected void processReadout(FlythroughPoint pt1) throws java.lang.Exception
pt1
- _more_java.lang.Exception
- _more_public FlythroughPoint getCurrentPoint()
public void setPoints(java.util.List<FlythroughPoint> value)
value
- The new value for Pointspublic java.util.List<FlythroughPoint> getPoints()
public java.util.List<FlythroughPoint> getPointsToUse()
public boolean hasPoints()
public void setTiltX(double value)
value
- The new value for Tiltpublic void setTiltY(double value)
value
- The new value for Tiltpublic void setTiltZ(double value)
value
- The new value for Tiltpublic void setTilt(double[] value)
value
- The new value for Tiltpublic double[] getTilt()
public void setZoom(double value)
value
- The new value for Zoompublic double getZoom()
public void setChangeViewpoint(boolean value)
value
- The new value for ChangeViewpointpublic boolean getChangeViewpoint()
public void setShowReadout(boolean value)
value
- The new value for ShowReadoutpublic boolean getShowReadout()
public void setShowTimes(boolean value)
value
- The new value for ShowTimespublic boolean getShowTimes()
public void setShowLine(boolean value)
value
- The new value for ShowLinepublic boolean getShowLine()
public void setShowMarker(boolean value)
value
- The new value for ShowMarkerpublic boolean getShowMarker()
public void setAnimate(boolean value)
value
- The new value for Animatepublic boolean getAnimate()
public void setRelativeOrientation(boolean value)
value
- _more_public void setOrientation(java.lang.String value)
value
- The new value for Orientationpublic java.lang.String getOrientation()
public void setShown(boolean value)
value
- The new value for Shownpublic boolean getShown()
public void setClip(boolean value) throws java.lang.Exception
value
- The new value for Clipjava.lang.Exception
- _more_public void setUseFixedZ(boolean value)
value
- The new value for UseFixedZpublic boolean getUseFixedZ()
public void setCurrentIndex(int value)
value
- The new value for CurrentIndexpublic int getCurrentIndex()
public void setAnimateSpeed(long value)
value
- The new value for AnimateSpeedpublic void setAnimationSpeed(int value)
value
- The new value for AnimationSpeedpublic int getAnimationSpeed()
public void setLocation(visad.georef.EarthLocation value)
value
- The new value for Locationpublic visad.georef.EarthLocation getLocation()
public void setHeading(double value)
value
- The new value for Headingpublic double getHeading()
public void setFrameLocation(java.awt.Point value)
value
- The new value for FrameLocationpublic void setGoToClick(boolean value)
value
- The new value for GoToClickpublic boolean getGoToClick()
public void setShowChart(boolean value)
value
- The new value for ShowChartpublic void setShowDecoration(boolean value)
value
- The new value for ShowDecorationpublic boolean getShowDecoration()
public void setShowAnimation(boolean value)
value
- The new value for ShowAnimationpublic boolean getShowAnimation()
public void setAnimationInfo(AnimationInfo value)
value
- The new value for AnimationInfopublic AnimationInfo getAnimationInfo()
public void setWindowBounds(java.awt.Rectangle value)
value
- The new value for WindowBoundspublic java.awt.Rectangle getWindowBounds()
public void setMaxPoints(int value)
value
- The new value for MaxPointspublic void setStride(int value)
value
- The new value for Stridepublic int getStride()
public void setDecorators(java.util.List<FlythroughDecorator> value)
value
- The new value for Decoratorspublic java.util.List<FlythroughDecorator> getDecorators()