vmm.ode.secondorder3D
Class UserMagneticField

java.lang.Object
  extended by vmm.core.Exhibit
      extended by vmm.core3D.Exhibit3D
          extended by vmm.ode.ODE_3D
              extended by vmm.ode.secondorder3D.ChargedParticles
                  extended by vmm.ode.secondorder3D.UserMagneticField
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable, UserExhibit, UserExhibit3D

public class UserMagneticField
extends ChargedParticles
implements UserExhibit3D


Nested Class Summary
 
Nested classes/interfaces inherited from class vmm.ode.ODE_3D
ODE_3D.ODEView
 
Nested classes/interfaces inherited from interface vmm.core3D.UserExhibit3D
UserExhibit3D.Support
 
Nested classes/interfaces inherited from interface vmm.core.UserExhibit
UserExhibit.FunctionInfo
 
Field Summary
 
Fields inherited from class vmm.ode.ODE_3D
addAnimateCheckBoxontrolPanel, addLinesCheckBoxontrolPanel, addOrbitTypesToControlPanel, anaglyphIsDefault, canShowVectorField, dtDefault, initialDataDefault, inputLabelNames, isAutonomous, ORBIT_TYPE_BOTH, ORBIT_TYPE_EULER, ORBIT_TYPE_RUNGE_KUTTA, showAxes, timeSpanDefault
 
Fields inherited from class vmm.core3D.Exhibit3D
defaultViewpoint, defaultViewUp, previousTransform3D
 
Fields inherited from class vmm.core.Exhibit
decorations, exhibitNeedsRedraw, isMorphing, morphingView, parameters, previousTransform
 
Constructor Summary
UserMagneticField()
           
 
Method Summary
 UserExhibit3D.Support getUserExhibitSupport()
          This method should return a non-null object that is created and customized in the constructor of the class that implements UserExhbit.
protected  void magneticField(double x, double y, double z, Vector3D answer)
          Store the value of the magnetice field at x,y,z into the prexisting vector answer
 
Methods inherited from class vmm.ode.secondorder3D.ChargedParticles
makeDefaultMouseTask, nextEulerPoint, nextRungeKuttaPoint
 
Methods inherited from class vmm.ode.ODE_3D
doDraw, extractPointFromData, getCreateAnimation, getDefaultView, screenPointTo3DPoint, vectorField_x, vectorField_y
 
Methods inherited from class vmm.core3D.Exhibit3D
computeDrawData3D, computeDrawDataHook, doDraw3D, doDrawHook, getDefaultTransform, getDefaultViewpoint, getDefaultViewUp, setDefaultViewpoint, setDefaultViewUp
 
Methods inherited from class vmm.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addParameter, addView, clearDecorations, computeDrawData, fireExhibitChangeEvent, forceRedraw, getActionsForView, getAdditionalAnimationsForView, getAlternativeViews, getBuildAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeParameter, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vmm.core3D.UserExhibit3D
getDefaultViewpoint, setDefaultViewpoint
 
Methods inherited from interface vmm.core.UserExhibit
getDefaultView, getDefaultWindow, getParameters, setDefaultWindow
 
Methods inherited from interface vmm.core.Parameterizable
parameterChanged
 

Constructor Detail

UserMagneticField

public UserMagneticField()
Method Detail

getUserExhibitSupport

public UserExhibit3D.Support getUserExhibitSupport()
Description copied from interface: UserExhibit
This method should return a non-null object that is created and customized in the constructor of the class that implements UserExhbit.

Specified by:
getUserExhibitSupport in interface UserExhibit

magneticField

protected void magneticField(double x,
                             double y,
                             double z,
                             Vector3D answer)
Description copied from class: ChargedParticles
Store the value of the magnetice field at x,y,z into the prexisting vector answer

Specified by:
magneticField in class ChargedParticles