artisynth.core.gui.editorManager
Class FrameMarkerAgent

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

public class FrameMarkerAgent
extends AddComponentAgent<FrameMarker>

Responsible for adding FrameMarkers to a MechModel.


Constructor Summary
FrameMarkerAgent(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

FrameMarkerAgent

public FrameMarkerAgent(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<FrameMarker>