visad.java3d
Class DownRoundingAnimationControlJ3D
- java.lang.Object
-
- visad.Control
-
- visad.java3d.AVControlJ3D
-
- visad.java3d.AnimationControlJ3D
-
- visad.java3d.DownRoundingAnimationControlJ3D
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Runnable, AnimationControl, AVControl
public class DownRoundingAnimationControlJ3D extends AnimationControlJ3D implements java.lang.Runnable, AnimationControl
DownRoundingAnimationControlJ3D extends AnimationControlJ3D to provide a different sampling behavior. Instead of nearest neighbor, the nearest sample LESS THAN the current value will be displayed.Doug Lindholm (DML) - Dec 2001
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DownRoundingAnimationControlJ3D(DisplayImplJ3D d, RealType r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidinit()actually set Switches (Java3D) or VisADSwitches (Java2D) to child nodes corresponding to current ordinal step numbervoidselectSwitches(double value, Set animation_set)voidsetCurrent(double value)set the current step by the value of the RealType mapped to Display.AnimationvoidsetCurrent(int c)set the current ordinal step number = c-
Methods inherited from class visad.java3d.AnimationControlJ3D
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, toggle
-
Methods inherited from class visad.java3d.AVControlJ3D
addPair, addPair, clearSwitches, getSwitches, nullControl, setInterval
-
Methods inherited from class visad.Control
addControlListener, animation_string, changeControl, checkTicks, clone, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, peekTicks, removeControlListener, resetTicks, setTicks, toString
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface visad.AnimationControl
getComputeSet, getCurrent, getDirection, getOn, getSet, getStep, getSteps, run, setComputeSet, setDirection, setOn, setSet, setSet, setStep, setSteps, stop, takeStep, toggle
-
Methods inherited from interface visad.AVControl
addControlListener, clearSwitches, getSaveString, removeControlListener, setSaveString
-
-
-
-
Constructor Detail
-
DownRoundingAnimationControlJ3D
public DownRoundingAnimationControlJ3D(DisplayImplJ3D d, RealType r)
-
-
Method Detail
-
setCurrent
public void setCurrent(int c) throws VisADException, java.rmi.RemoteExceptionDescription copied from class:AnimationControlJ3Dset the current ordinal step number = c- Specified by:
setCurrentin interfaceAnimationControl- Overrides:
setCurrentin classAnimationControlJ3D- Parameters:
c- - value for current ordinal step number- Throws:
VisADException- - a VisAD error occurredjava.rmi.RemoteException- - an RMI error occurred
-
setCurrent
public void setCurrent(double value) throws VisADException, java.rmi.RemoteExceptionDescription copied from class:AnimationControlJ3Dset the current step by the value of the RealType mapped to Display.Animation- Specified by:
setCurrentin interfaceAnimationControl- Overrides:
setCurrentin classAnimationControlJ3D- Parameters:
value- - RealType value that is converted to an ordinal step number- Throws:
VisADException- - a VisAD error occurredjava.rmi.RemoteException- - an RMI error occurred
-
init
public void init() throws VisADExceptionDescription copied from interface:AnimationControlactually set Switches (Java3D) or VisADSwitches (Java2D) to child nodes corresponding to current ordinal step number- Specified by:
initin interfaceAnimationControl- Overrides:
initin classAnimationControlJ3D- Throws:
VisADException- - a VisAD error occurred.
-
selectSwitches
public void selectSwitches(double value, Set animation_set) throws VisADException- Overrides:
selectSwitchesin classAVControlJ3D- Throws:
VisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG