Package mgui.interfaces.tools.shapes
Class ToolCutMeshWithPlane
java.lang.Object
mgui.interfaces.tools.dialogs.DialogTool
mgui.interfaces.tools.shapes.ToolCutMeshWithPlane
- All Implemented Interfaces:
java.lang.Cloneable
,PopupMenuObject
,Tool
,ToolInputListener
,IconObject
public class ToolCutMeshWithPlane extends DialogTool
Tool to cut a mesh into parts by intersecting it with a Plane3D object.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.interfaces.tools.dialogs.DialogTool
icon, listeners, message, show_progress
-
Constructor Summary
Constructors Constructor Description ToolCutMeshWithPlane()
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
protected boolean
doTaskBlocking(InterfaceOptions options, InterfaceProgressBar progress_bar)
Runs this tool's task and blocks until it is complete.protected DialogToolDialogBox
getDialogBox()
protected java.lang.String
getToolTitle()
protected void
setIcon()
Methods inherited from class mgui.interfaces.tools.dialogs.DialogTool
activate, activate, addListener, deactivate, doTask, getName, getObjectIcon, getPopupMenu, getPopupMenu, getPreviousTool, handlePopupEvent, handleToolEvent, init, isExclusive, isImmediate, removeListener, reportSuccess, setTargetPanel, showPopupMenu
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ToolCutMeshWithPlane
public ToolCutMeshWithPlane()
-
-
Method Details
-
clone
public java.lang.Object clone()- Specified by:
clone
in interfaceTool
- Specified by:
clone
in classDialogTool
-
doTaskBlocking
Description copied from class:DialogTool
Runs this tool's task and blocks until it is complete. To avoid GUI freezing, call DialogTool.doTask(mgui.interfaces.InterfaceOptions) instead.- Specified by:
doTaskBlocking
in classDialogTool
- Returns:
-
setIcon
protected void setIcon()- Overrides:
setIcon
in classDialogTool
-
getToolTitle
protected java.lang.String getToolTitle()- Specified by:
getToolTitle
in classDialogTool
-
getDialogBox
- Specified by:
getDialogBox
in classDialogTool
-