Package artofillusion.ui

Examples of artofillusion.ui.NinePointManipulator$HandlePosition


  public BevelExtrudeTool(EditingWindow fr, MeshEditController controller)
  {
    super(fr, controller);
    initButton("bevel");
    manipulator = new NinePointManipulator(new Image[] {null, null, null, null, NinePointManipulator.ARROWS_ALL, null, null, null, null});
    manipulator.addEventLink(HandlePressedEvent.class, this, "handlePressed");
    manipulator.addEventLink(HandleDraggedEvent.class, this, "handleDragged");
    manipulator.addEventLink(HandleReleasedEvent.class, this, "handleReleased");
  }
View Full Code Here


  public ScaleMeshTool(EditingWindow fr, MeshEditController controller)
  {
    super(fr, controller);
    initButton("scalePoints");
    manipulator = new NinePointManipulator(new Image[] {
      NinePointManipulator.ARROWS_NW_SE, NinePointManipulator.ARROWS_N_S, NinePointManipulator.ARROWS_NE_SW,
      NinePointManipulator.ARROWS_E_W, null, NinePointManipulator.ARROWS_E_W,
      NinePointManipulator.ARROWS_NE_SW, NinePointManipulator.ARROWS_N_S, NinePointManipulator.ARROWS_NW_SE});
    manipulator.addEventLink(HandlePressedEvent.class, this, "handlePressed");
    manipulator.addEventLink(HandleDraggedEvent.class, this, "handleDragged");
View Full Code Here

  public ThickenMeshTool(EditingWindow fr, MeshEditController controller)
  {
    super(fr, controller);
    initButton("outsetPoints");
    manipulator = new NinePointManipulator(new Image[] {null, null, null, null, NinePointManipulator.ARROWS_N_S, null, null, null, null});
    manipulator.addEventLink(HandlePressedEvent.class, this, "handlePressed");
    manipulator.addEventLink(HandleDraggedEvent.class, this, "handleDragged");
    manipulator.addEventLink(HandleReleasedEvent.class, this, "handleReleased");
  }
View Full Code Here

  public RotateMeshTool(EditingWindow fr, MeshEditController controller, boolean only2D)
  {
    super(fr, controller);
    initButton("rotatePoints");
    if (only2D)
      manipulator = new NinePointManipulator(new Image[] {
        NinePointManipulator.ROTATE_TOPLEFT, null, NinePointManipulator.ROTATE_TOPRIGHT,
        null, null, null,
        NinePointManipulator.ROTATE_BOTTOMLEFT, null, NinePointManipulator.ROTATE_BOTTOMRIGHT});
    else
      manipulator = new NinePointManipulator(new Image[] {
        NinePointManipulator.ROTATE_TOPLEFT, NinePointManipulator.ROTATE_TOP, NinePointManipulator.ROTATE_TOPRIGHT,
        NinePointManipulator.ROTATE_LEFT, null, NinePointManipulator.ROTATE_RIGHT,
        NinePointManipulator.ROTATE_BOTTOMLEFT, NinePointManipulator.ROTATE_BOTTOM, NinePointManipulator.ROTATE_BOTTOMRIGHT});
    manipulator.addEventLink(HandlePressedEvent.class, this, "handlePressed");
    manipulator.addEventLink(HandleDraggedEvent.class, this, "handleDragged");
View Full Code Here

  public SkewMeshTool(EditingWindow fr, MeshEditController controller)
  {
    super(fr, controller);
    initButton("skewPoints");
    manipulator = new NinePointManipulator(new Image[] {
      NinePointManipulator.ARROWS_S_E, NinePointManipulator.ARROWS_E_W, NinePointManipulator.ARROWS_S_W,
      NinePointManipulator.ARROWS_N_S, null, NinePointManipulator.ARROWS_N_S,
      NinePointManipulator.ARROWS_N_E, NinePointManipulator.ARROWS_E_W, NinePointManipulator.ARROWS_N_W});
    manipulator.addEventLink(HandlePressedEvent.class, this, "handlePressed");
    manipulator.addEventLink(HandleDraggedEvent.class, this, "handleDragged");
View Full Code Here

  public TaperMeshTool(EditingWindow fr, MeshEditController controller)
  {
    super(fr, controller);
    initButton("taperPoints");
    manipulator = new NinePointManipulator(new Image[] {
      NinePointManipulator.ARROWS_S_E, null, NinePointManipulator.ARROWS_S_W,
      null, null, null,
      NinePointManipulator.ARROWS_N_E, null, NinePointManipulator.ARROWS_N_W});
    manipulator.addEventLink(HandlePressedEvent.class, this, "handlePressed");
    manipulator.addEventLink(HandleDraggedEvent.class, this, "handleDragged");
View Full Code Here

TOP

Related Classes of artofillusion.ui.NinePointManipulator$HandlePosition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.