artisynth.core.gui.editorManager
Class ParticleAgent

java.lang.Object
  extended by artisynth.core.gui.editorManager.EditingAgent
      extended by artisynth.core.gui.editorManager.FrameBasedEditingAgent
          extended by artisynth.core.gui.editorManager.AddComponentAgent<Particle>
              extended by artisynth.core.gui.editorManager.ParticleAgent
All Implemented Interfaces:
SelectionListener, ComponentChangeListener, java.awt.event.ActionListener, java.util.EventListener, Disposable, ValueChangeListener

public class ParticleAgent
extends AddComponentAgent<Particle>

Responsible for adding Particles to a MechModel.


Constructor Summary
ParticleAgent(Main main, MechModel model)
           
 
Method Summary
 void handleLocationEvent(GLViewer viewer, MouseRayEvent rayEvent)
          Called after a left mouse press in one of the viewers when a location listener is installed.
 
Methods inherited from class artisynth.core.gui.editorManager.AddComponentAgent
actionPerformed, addBasicProps, addComponentType, addComponentType, componentChanged, dispose, selectionChanged, setComponentType, show, valueChange
 
Methods inherited from class artisynth.core.gui.editorManager.FrameBasedEditingAgent
addWidget, isVisible
 
Methods inherited from class artisynth.core.gui.editorManager.EditingAgent
getCenter, intersectClipPlane, intersectViewPlane
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleAgent

public ParticleAgent(Main main,
                     MechModel model)
Method Detail

handleLocationEvent

public void handleLocationEvent(GLViewer viewer,
                                MouseRayEvent rayEvent)
Description copied from class: AddComponentAgent
Called after a left mouse press in one of the viewers when a location listener is installed.

Overrides:
handleLocationEvent in class AddComponentAgent<Particle>