public class FemNodeSelectionAgent extends FrameBasedEditingAgent implements SelectionListener
Modifier and Type | Class and Description |
---|---|
static class |
FemNodeSelectionAgent.SelectionMode |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ALLOW_BRANCHING |
static double |
DEFAULT_DISTANCE |
static double |
DEFAULT_MAX_BEND_ANG |
static int |
DEFAULT_MAX_COLS |
static double |
DEFAULT_MAX_EDGE_ANG |
static double |
DEFAULT_MIN_BEND_ANG |
static FemNodeSelectionAgent.SelectionMode |
DEFAULT_MODE |
static boolean |
DEFAULT_SURFACE_NODES_ONLY |
static boolean |
DEFAULT_USE_SIGNED_DISTANCE |
static int |
DEFAULT_WRITE_FLAGS |
Constructor and Description |
---|
FemNodeSelectionAgent(Main main,
FemModel3d fem) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
dispose()
Disconnects the agent from the ArtiSynth infrastructure and disposes of
its resources.
|
FemNodeSelectionAgent.SelectionMode |
getSelectionMode() |
void |
objectDeselected(SelectionEvent e) |
void |
selectionChanged(SelectionEvent e) |
void |
show(java.awt.Rectangle popupBounds)
Connects the agent to the ArtiSynth infrastructure and makes it visible.
|
addWidget, componentChanged, getDisplay, isVisible
getCenter, intersectClipPlane, intersectViewPlane
public static final FemNodeSelectionAgent.SelectionMode DEFAULT_MODE
public static final double DEFAULT_MAX_BEND_ANG
public static final double DEFAULT_MIN_BEND_ANG
public static final double DEFAULT_MAX_EDGE_ANG
public static final boolean DEFAULT_ALLOW_BRANCHING
public static final double DEFAULT_DISTANCE
public static final boolean DEFAULT_SURFACE_NODES_ONLY
public static final boolean DEFAULT_USE_SIGNED_DISTANCE
public static final int DEFAULT_MAX_COLS
public static final int DEFAULT_WRITE_FLAGS
public FemNodeSelectionAgent(Main main, FemModel3d fem)
public void show(java.awt.Rectangle popupBounds)
FrameBasedEditingAgent
show
in class FrameBasedEditingAgent
popupBounds
- TODOpublic void dispose()
FrameBasedEditingAgent
dispose
in interface Disposable
dispose
in class FrameBasedEditingAgent
public FemNodeSelectionAgent.SelectionMode getSelectionMode()
public void selectionChanged(SelectionEvent e)
selectionChanged
in interface SelectionListener
public void objectDeselected(SelectionEvent e)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FrameBasedEditingAgent