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, isVisiblegetCenter, intersectClipPlane, intersectViewPlanepublic 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)
FrameBasedEditingAgentshow in class FrameBasedEditingAgentpopupBounds - TODOpublic void dispose()
FrameBasedEditingAgentdispose in interface Disposabledispose in class FrameBasedEditingAgentpublic FemNodeSelectionAgent.SelectionMode getSelectionMode()
public void selectionChanged(SelectionEvent e)
selectionChanged in interface SelectionListenerpublic void objectDeselected(SelectionEvent e)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FrameBasedEditingAgent