artofillusion
Class ThickenMeshTool

java.lang.Object
  extended by artofillusion.ui.EditingTool
      extended by artofillusion.ui.MeshEditingTool
          extended by artofillusion.ThickenMeshTool

public class ThickenMeshTool
extends MeshEditingTool

ThickenMeshTool is an EditingTool used for making pieces of TriangleMeshes thicker or thinner.


Field Summary
 
Fields inherited from class artofillusion.ui.EditingTool
ALL_CLICKS, HANDLE_CLICKS, OBJECT_CLICKS
 
Constructor Summary
ThickenMeshTool(EditingWindow fr, MeshEditController controller)
           
 
Method Summary
 boolean allowSelectionChanges()
          Get whether the selection may be changed while this tool is active.
 void drawOverlay(ViewerCanvas view)
          Draw any graphics that this tool overlays on top of the view.
 java.lang.String getToolTipText()
          Get the tool tip text to display for this tool (or null if it does not have a tool tip).
 void mouseDragged(WidgetMouseEvent e, ViewerCanvas view)
           
 void mousePressed(WidgetMouseEvent e, ViewerCanvas view)
           
 void mouseReleased(WidgetMouseEvent e, ViewerCanvas view)
           
 
Methods inherited from class artofillusion.ui.EditingTool
activate, deactivate, getButton, getWindow, hilightSelection, iconDoubleClicked, isEditable, keyPressed, mouseMoved, mousePressedOnHandle, mousePressedOnObject, whichClicks
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThickenMeshTool

public ThickenMeshTool(EditingWindow fr,
                       MeshEditController controller)
Method Detail

allowSelectionChanges

public boolean allowSelectionChanges()
Description copied from class: EditingTool
Get whether the selection may be changed while this tool is active. The default implementation returns true if whichClicks() requests either OBJECT_CLICKS or HANDLE_CLICKS.

Overrides:
allowSelectionChanges in class EditingTool

getToolTipText

public java.lang.String getToolTipText()
Description copied from class: EditingTool
Get the tool tip text to display for this tool (or null if it does not have a tool tip).

Overrides:
getToolTipText in class EditingTool

drawOverlay

public void drawOverlay(ViewerCanvas view)
Description copied from class: EditingTool
Draw any graphics that this tool overlays on top of the view.

Overrides:
drawOverlay in class EditingTool

mousePressed

public void mousePressed(WidgetMouseEvent e,
                         ViewerCanvas view)
Overrides:
mousePressed in class EditingTool

mouseDragged

public void mouseDragged(WidgetMouseEvent e,
                         ViewerCanvas view)
Overrides:
mouseDragged in class EditingTool

mouseReleased

public void mouseReleased(WidgetMouseEvent e,
                          ViewerCanvas view)
Overrides:
mouseReleased in class EditingTool


Copyright © 1999-2011 by Peter Eastman.