|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectartofillusion.ui.Compound3DManipulator.HandleEvent
artofillusion.ui.Compound3DManipulator.HandleDraggedEvent
public class Compound3DManipulator.HandleDraggedEvent
This is the event class generated when the user drags on a handle.
| Constructor Summary | |
|---|---|
Compound3DManipulator.HandleDraggedEvent(ViewerCanvas view,
Compound3DManipulator.HandleType handleType,
Compound3DManipulator.Axis axis,
java.awt.Rectangle screenBounds,
BoundingBox selectionBounds,
buoy.event.WidgetMouseEvent event,
Mat4 transform)
Create a HandleDraggedEvent for a MOVE drag. |
|
Compound3DManipulator.HandleDraggedEvent(ViewerCanvas view,
Compound3DManipulator.HandleType handleType,
Compound3DManipulator.Axis axis,
java.awt.Rectangle screenBounds,
BoundingBox selectionBounds,
buoy.event.WidgetMouseEvent event,
Mat4 transform,
double angle)
Create a HandleDraggedEvent for a ROTATE drag. |
|
Compound3DManipulator.HandleDraggedEvent(ViewerCanvas view,
Compound3DManipulator.HandleType handleType,
Compound3DManipulator.Axis axis,
java.awt.Rectangle screenBounds,
BoundingBox selectionBounds,
buoy.event.WidgetMouseEvent event,
Mat4 transform,
double scale1,
double scale2)
Create a HandleDraggedEvent for a SCALE drag. |
|
| Method Summary | |
|---|---|
double |
getPrimaryScale()
Get the scale factor for the primary axis, if this is a SCALE drag. |
double |
getRotationAngle()
Get the rotation angle in radians, if this is a ROTATE drag. |
double |
getSecondaryScale()
Get the scale factor for the second axis, if this is a UV SCALE drag. |
Mat4 |
getTransform()
Get a matrix which can be used to transform objects or vertices from their original positions to their moved, scaled, or rotated positions. |
| Methods inherited from class artofillusion.ui.Compound3DManipulator.HandleEvent |
|---|
getAxis, getHandleType, getManipulator, getMouseEvent, getScreenBounds, getSelectionBounds, getView |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Compound3DManipulator.HandleDraggedEvent(ViewerCanvas view,
Compound3DManipulator.HandleType handleType,
Compound3DManipulator.Axis axis,
java.awt.Rectangle screenBounds,
BoundingBox selectionBounds,
buoy.event.WidgetMouseEvent event,
Mat4 transform)
public Compound3DManipulator.HandleDraggedEvent(ViewerCanvas view,
Compound3DManipulator.HandleType handleType,
Compound3DManipulator.Axis axis,
java.awt.Rectangle screenBounds,
BoundingBox selectionBounds,
buoy.event.WidgetMouseEvent event,
Mat4 transform,
double angle)
public Compound3DManipulator.HandleDraggedEvent(ViewerCanvas view,
Compound3DManipulator.HandleType handleType,
Compound3DManipulator.Axis axis,
java.awt.Rectangle screenBounds,
BoundingBox selectionBounds,
buoy.event.WidgetMouseEvent event,
Mat4 transform,
double scale1,
double scale2)
| Method Detail |
|---|
public Mat4 getTransform()
public double getRotationAngle()
public double getPrimaryScale()
public double getSecondaryScale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||