vmm3d.ode
Class ODE_3D
- java.lang.Object
-
- vmm3d.core.Exhibit
-
- vmm3d.core3D.Exhibit3D
-
- vmm3d.ode.ODE_3D
-
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
- Direct Known Subclasses:
- ChargedParticles, ODE1stOrder3D, ODE1stOrder3DNonAutonomous, ODE2ndOrder3D, ODE2ndOrder3DNonAutonomous
public abstract class ODE_3D extends Exhibit3D
Represents an ODE exhibit that will be displayed in three dimensions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description classODE_3D.ODEViewRepresents the default view for an ODEFirstOrder2D.
-
Field Summary
Fields Modifier and Type Field and Description static intORBIT_TYPE_BOTHstatic intORBIT_TYPE_EULERstatic intORBIT_TYPE_RUNGE_KUTTA
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TimerAnimationgetCreateAnimation(View view)For an ODE view, returns the animation that redraws the current orbit, if there is one, or draws the default orbit as defined byinitialDataDefault, if the value of that variable is non-null.ViewgetDefaultView()Returns a view of typeODE_3D.ODEView.-
Methods inherited from class vmm3d.core3D.Exhibit3D
getDefaultTransform, getDefaultViewpoint, getDefaultViewUp, setDefaultViewpoint, setDefaultViewUp
-
Methods inherited from class vmm3d.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addView, clearDecorations, forceRedraw, getActionsForView, getAdditionalAnimationsForView, getAlternativeViews, getBuildAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
-
-
-
-
Field Detail
-
ORBIT_TYPE_RUNGE_KUTTA
public static final int ORBIT_TYPE_RUNGE_KUTTA
- See Also:
- Constant Field Values
-
ORBIT_TYPE_BOTH
public static final int ORBIT_TYPE_BOTH
- See Also:
- Constant Field Values
-
ORBIT_TYPE_EULER
public static final int ORBIT_TYPE_EULER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateAnimation
public TimerAnimation getCreateAnimation(View view)
For an ODE view, returns the animation that redraws the current orbit, if there is one, or draws the default orbit as defined byinitialDataDefault, if the value of that variable is non-null. Otherwise, the return value is null.- Overrides:
getCreateAnimationin classExhibit- Parameters:
view- A View that is displaying this Exhibit. The animation, if any, that is returned by this method will be installed in the View's display. If the view is null, than a creation animation that can run independently of a view could be returned.- Returns:
- A creation animation for the given View of this Exhibit. The return value can be null to indicate that no creation animation is to be run.
-
getDefaultView
public View getDefaultView()
Returns a view of typeODE_3D.ODEView.- Overrides:
getDefaultViewin classExhibit3D
-
-
DMelt 3.0 © DataMelt by jWork.ORG