Package mgui.interfaces.tools.shapes
Class ToolSelectRegionBoundaryNodes
java.lang.Object
mgui.interfaces.tools.graphics.Tool3D
mgui.interfaces.tools.shapes.ToolSelectRegionBoundaryNodes
- All Implemented Interfaces:
java.lang.Cloneable
,PopupMenuObject
,Tool
,ToolInputListener
,IconObject
public class ToolSelectRegionBoundaryNodes extends Tool3D
Tool selects region boundary nodes of a mesh region (defined by its vertex values) based upon a vertex selected
by a mouse click. (TODO) Dialog appears to specify the data column to use and whether to select all regions in mesh
or only those in the region containing the selected vertex.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.interfaces.tools.graphics.Tool3D
icon, isImmediate, listeners, name, previous_tool, targetPanel, targetShape, toolPhase
-
Constructor Summary
Constructors Constructor Description ToolSelectRegionBoundaryNodes()
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
void
deactivate()
Should be called once a tool is deactivated; instances of Tool should perform clean-up activities here.void
handleToolEvent(ToolInputEvent e)
Handle this tool eventboolean
isExclusive()
Specifies whether this tool requires exclusively; otherwise it will run in parallel with the default tool, if one exists.Methods inherited from class mgui.interfaces.tools.graphics.Tool3D
activate, addListener, fireDeactivated, fireListeners, getName, getObjectIcon, getPopupMenu, getPopupMenu, getPreviousTool, handlePopupEvent, isImmediate, removeListener, setIcon, setTargetPanel, setTargetShape, showPopupMenu
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ToolSelectRegionBoundaryNodes
public ToolSelectRegionBoundaryNodes()
-
-
Method Details
-
isExclusive
public boolean isExclusive()Description copied from interface:Tool
Specifies whether this tool requires exclusively; otherwise it will run in parallel with the default tool, if one exists.- Specified by:
isExclusive
in interfaceTool
- Overrides:
isExclusive
in classTool3D
- Returns:
-
handleToolEvent
Description copied from interface:ToolInputListener
Handle this tool event- Specified by:
handleToolEvent
in interfaceToolInputListener
- Overrides:
handleToolEvent
in classTool3D
-
deactivate
public void deactivate()Description copied from interface:Tool
Should be called once a tool is deactivated; instances of Tool should perform clean-up activities here.- Specified by:
deactivate
in interfaceTool
- Overrides:
deactivate
in classTool3D
-
clone
public java.lang.Object clone()
-