artisynth.core.gui.editorManager
Class AttachParticleBodyAgent

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

public class AttachParticleBodyAgent
extends AddComponentAgent<DynamicAttachment>

Responsible for attaching particles to each other within a mech model


Constructor Summary
AttachParticleBodyAgent(Main main, MechModel model, RigidBody body)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void selectionChanged(SelectionEvent e)
           
 void setProjectPoints(boolean project)
           
 
Methods inherited from class artisynth.core.gui.editorManager.AddComponentAgent
addBasicProps, addComponentType, addComponentType, componentChanged, dispose, handleLocationEvent, 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

AttachParticleBodyAgent

public AttachParticleBodyAgent(Main main,
                               MechModel model,
                               RigidBody body)
Method Detail

setProjectPoints

public void setProjectPoints(boolean project)

selectionChanged

public void selectionChanged(SelectionEvent e)
Specified by:
selectionChanged in interface SelectionListener
Overrides:
selectionChanged in class AddComponentAgent<DynamicAttachment>

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class AddComponentAgent<DynamicAttachment>