|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.flythrough.Flythrough
public class Flythrough
| Field Summary | |
|---|---|
static String |
ATTR_ALT
xml tag and attr name |
static String |
ATTR_DATE
xml tag and attr name |
static String |
ATTR_LAT
xml tag and attr name |
static String |
ATTR_LON
xml tag and attr name |
static String |
ATTR_MATRIX
xml tag and attr name |
static String[] |
ATTR_TILT
xml tag and attr name |
static String |
ATTR_ZOOM
xml tag and attr name |
protected Point |
dashboardImageOffset
_more_ |
static String |
ORIENT_DOWN
_more_ |
static String |
ORIENT_FORWARD
_more_ |
static String |
ORIENT_LEFT
_more_ |
static String |
ORIENT_POINT
_more_ |
static String |
ORIENT_RIGHT
_more_ |
static String |
ORIENT_UP
_more_ |
static String |
TAG_DESCRIPTION
xml tag and attr name |
static String |
TAG_FLYTHROUGH
xml tag and attr name |
static String |
TAG_POINT
xml tag and attr name |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
Flythrough()
_more_ |
|
Flythrough(MapViewManager viewManager)
_more_ |
|
| Method Summary | |
|---|---|
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(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_ |
JComponent |
doMakeDashboardPanel()
_more_ |
JComponent |
doMakeDescriptionPanel()
_more_ |
JMenuBar |
doMakeMenuBar()
_more_ |
JComponent |
doMakeNavigationPanel()
_more_ |
JComponent |
doMakePointsPanel()
_more_ |
JComponent |
doMakeValuesPanel()
_more_ |
JComponent |
doMakeViewpointPanel()
_more_ |
void |
doRepaint(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(List<FlythroughPoint> newPoints)
tmp |
void |
flythrough(List<FlythroughPoint> newPoints,
boolean andShow)
_more_ |
double |
getAlt(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_ |
Image |
getDashboardImage()
_more_ |
List<FlythroughDecorator> |
getDecorators()
Get the Decorators property. |
boolean |
getGoToClick()
Get the GoToClick property. |
double |
getHeading()
Get the Heading property. |
IntegratedDataViewer |
getIdv()
_more_ |
EarthLocation |
getLastLocation()
_more_ |
double |
getLat(EarthLocation location)
_more_ |
EarthLocation |
getLocation()
Get the Location property. |
double |
getLon(EarthLocation location)
_more_ |
VisADGeometryArray |
getMarker()
_more_ |
String |
getOrientation()
Get the Orientation property. |
List<FlythroughPoint> |
getPoints()
Get the Points property. |
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_ |
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(Image img,
int flags,
int x,
int y,
int width,
int height)
_more_ |
void |
init(MapViewManager viewManager)
_more_ |
void |
initEditMenu(JMenu editMenu)
_more_ |
void |
initFileMenu(JMenu fileMenu)
_more_ |
void |
initViewMenu(JMenu viewMenu)
_more_ |
void |
initWith(Flythrough that)
_more_ |
boolean |
isActive()
_more_ |
void |
logException(String msg,
Throwable exc)
_more_ |
void |
paintDashboardAfter(Graphics g,
JComponent comp)
_more_ |
void |
paintDashboardBackground(Graphics g,
JComponent comp)
_more_ |
protected void |
processReadout(FlythroughPoint pt1)
_more_ |
void |
propertyChange(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(List<FlythroughDecorator> value)
Set the Decorators property. |
void |
setFrameLocation(Point value)
Set the FrameLocation property. |
void |
setGoToClick(boolean value)
Set the GoToClick property. |
void |
setHeading(double value)
Set the Heading property. |
void |
setLocation(EarthLocation value)
Set the Location property. |
void |
setMaxPoints(int value)
Set the MaxPoints property. |
void |
setOrientation(String value)
Set the Orientation property. |
void |
setPoints(List<FlythroughPoint> value)
Set the Points property. |
void |
setRelativeOrientation(boolean value)
_more_ |
void |
setScaleOnMarkers()
_more_ |
void |
setShareGroup(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(Rectangle value)
Set the WindowBounds property. |
void |
setZoom(double value)
Set the Zoom property. |
void |
show()
_more_ |
void |
updateDashboard()
_more_ |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ORIENT_POINT
public static final String ORIENT_FORWARD
public static final String ORIENT_UP
public static final String ORIENT_DOWN
public static final String ORIENT_LEFT
public static final String ORIENT_RIGHT
public static final String TAG_FLYTHROUGH
public static final String TAG_DESCRIPTION
public static final String TAG_POINT
public static final String ATTR_DATE
public static final String ATTR_LAT
public static final String ATTR_LON
public static final String ATTR_ALT
public static final String[] ATTR_TILT
public static final String ATTR_ZOOM
public static final String ATTR_MATRIX
protected Point dashboardImageOffset
| Constructor Detail |
|---|
public Flythrough()
public Flythrough(MapViewManager viewManager)
viewManager - _more_| Method Detail |
|---|
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 VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_public AnimationWidget getAnimationWidget()
public Animation getAnimation()
public void flythrough(float[][] pts)
pts - _more_public void flythrough(List<FlythroughPoint> newPoints)
newPoints - _more_
public void flythrough(List<FlythroughPoint> newPoints,
boolean andShow)
newPoints - _more_andShow - _more_public void goToCurrent()
public void updateDashboard()
public boolean imageUpdate(Image img,
int flags,
int x,
int y,
int width,
int height)
imageUpdate in interface ImageObserverimg - _more_flags - _more_x - _more_y - _more_width - _more_height - _more_
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - _more_public JComponent doMakeDescriptionPanel()
public JMenuBar doMakeMenuBar()
public JComponent doMakeViewpointPanel()
throws VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_public void setScaleOnMarkers()
public JComponent doMakePointsPanel()
public JComponent doMakeValuesPanel()
public JComponent doMakeDashboardPanel()
public void doRepaint(JComponent c)
c - _more_public EarthLocation getLastLocation()
public void paintDashboardAfter(Graphics g,
JComponent comp)
g - _more_comp - _more_public Image getDashboardImage()
public static org.jfree.chart.JFreeChart createChart(org.jfree.data.xy.XYDataset dataset)
dataset - the data for the chart.
public void paintDashboardBackground(Graphics g,
JComponent comp)
g - _more_comp - _more_
public void displayChanged(DisplayEvent event)
throws VisADException,
RemoteException
event - _more_
RemoteException - _more_
VisADException - _more_public 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(EarthLocation location)
throws VisADException
location - _more_
VisADException - _more_
public double getLon(EarthLocation location)
throws VisADException
location - _more_
VisADException - _more_
public double getAlt(EarthLocation location)
throws VisADException
location - _more_
VisADException - _more_public void clearPoints()
public void initEditMenu(JMenu editMenu)
editMenu - _more_public void initFileMenu(JMenu fileMenu)
fileMenu - _more_public void initViewMenu(JMenu viewMenu)
viewMenu - _more_public void clearSamples()
public void setSharing(boolean sharing)
setSharing in class SharableImplsharing - _more_public void setShareGroup(Object shareGroup)
setShareGroup in class SharableImplshareGroup - _more_public void doImport()
public FlythroughPoint addPointWithoutTime()
public void flyAlongLatitude()
throws VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_
public void flyAlongLongitude()
throws VisADException,
RemoteException
RemoteException - _more_
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 VisADGeometryArray getMarker()
public void logException(String msg,
Throwable exc)
msg - _more_exc - _more_public void displayControlChanged()
public void doUpdate()
public void animationTimeChanged()
protected void processReadout(FlythroughPoint pt1)
throws Exception
pt1 - _more_
Exception - _more_public FlythroughPoint getCurrentPoint()
public void setPoints(List<FlythroughPoint> value)
value - The new value for Pointspublic List<FlythroughPoint> getPoints()
public 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(String value)
value - The new value for Orientationpublic String getOrientation()
public void setShown(boolean value)
value - The new value for Shownpublic boolean getShown()
public void setClip(boolean value)
throws Exception
value - The new value for Clip
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(EarthLocation value)
value - The new value for Locationpublic EarthLocation getLocation()
public void setHeading(double value)
value - The new value for Headingpublic double getHeading()
public void setFrameLocation(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(Rectangle value)
value - The new value for WindowBoundspublic 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(List<FlythroughDecorator> value)
value - The new value for Decoratorspublic List<FlythroughDecorator> getDecorators()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||