public class DownRoundingAnimationControlJ3D extends AnimationControlJ3D implements Runnable, AnimationControl
Doug Lindholm (DML) - Dec 2001
AVControlJ3D.SwitchSetcurrent| Constructor and Description |
|---|
DownRoundingAnimationControlJ3D(DisplayImplJ3D d,
RealType r) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getIndexLessThanValue(Set set,
double value)
Return the index of the sample with the nearest value less than or equal
to the given value, -1 if no earlier samples.
|
void |
init()
actually set Switches (Java3D) or VisADSwitches (Java2D) to
child nodes corresponding to current ordinal step number
|
void |
selectSwitches(double value,
Set animation_set) |
void |
setCurrent(double value)
set the current step by the value of the RealType
mapped to Display.Animation
|
void |
setCurrent(int c)
set the current ordinal step number = c
|
equals, getComputeSet, getCurrent, getDirection, getOn, getRealType, getSaveString, getSet, getStep, getSteps, run, setComputeSet, setDirection, setOn, setSaveString, setSet, setSet, setStep, setSteps, stop, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, syncControl, takeStep, toggleaddPair, addPair, clearSwitches, getSwitches, nullControl, setIntervaladdControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, peekTicks, removeControlListener, resetTicks, setTicks, toStringfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComputeSet, getCurrent, getDirection, getOn, getSet, getStep, getSteps, run, setComputeSet, setDirection, setOn, setSet, setSet, setStep, setSteps, stop, takeStep, toggleaddControlListener, clearSwitches, getSaveString, removeControlListener, setSaveStringpublic DownRoundingAnimationControlJ3D(DisplayImplJ3D d, RealType r)
public void setCurrent(int c)
throws VisADException,
RemoteException
AnimationControlJ3DsetCurrent in interface AnimationControlsetCurrent in class AnimationControlJ3Dc - - value for current ordinal step numberVisADException - - a VisAD error occurredRemoteException - - an RMI error occurredpublic void setCurrent(double value)
throws VisADException,
RemoteException
AnimationControlJ3DsetCurrent in interface AnimationControlsetCurrent in class AnimationControlJ3Dvalue - - RealType value that is converted to an
ordinal step numberVisADException - - a VisAD error occurredRemoteException - - an RMI error occurredprotected int getIndexLessThanValue(Set set, double value) throws VisADException
VisADExceptionpublic void init()
throws VisADException
AnimationControlinit in interface AnimationControlinit in class AnimationControlJ3DVisADException - - a VisAD error occurred.public void selectSwitches(double value,
Set animation_set)
throws VisADException
selectSwitches in class AVControlJ3DVisADExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.