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.Objectclone()voiddeactivate()Should be called once a tool is deactivated; instances of Tool should perform clean-up activities here.voidhandleToolEvent(ToolInputEvent e)Handle this tool eventbooleanisExclusive()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, showPopupMenuMethods 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:ToolSpecifies whether this tool requires exclusively; otherwise it will run in parallel with the default tool, if one exists.- Specified by:
isExclusivein interfaceTool- Overrides:
isExclusivein classTool3D- Returns:
-
handleToolEvent
Description copied from interface:ToolInputListenerHandle this tool event- Specified by:
handleToolEventin interfaceToolInputListener- Overrides:
handleToolEventin classTool3D
-
deactivate
public void deactivate()Description copied from interface:ToolShould be called once a tool is deactivated; instances of Tool should perform clean-up activities here.- Specified by:
deactivatein interfaceTool- Overrides:
deactivatein classTool3D
-
clone
public java.lang.Object clone()
-