|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.manipulation.TransformationManipulator
Abstract superclass for mouse manipulators that change the transformation of scene objects.
Constructor Summary | |
TransformationManipulator()
|
Method Summary | |
abstract void |
clearSelection()
Clears current selection of scene object(s) to be manipulated. |
TransformScope |
getSelectedScope()
Returns value of the axis or set of axii affected by current manipulation. |
void |
setBeginPoint(int x,
int y)
Sets the location at which manipulation started. |
void |
setCanvas3D(javax.media.j3d.Canvas3D canvas)
Sets the Canvas3D from which manipulation is performed. |
void |
setCurrentPoint(int x,
int y)
Sets current location of mouse cursor. |
void |
setTransformationMode(TransformMode mode)
Sets mode of current manipulation. |
void |
setTransformationScope(TransformScope scope)
Sets value of the axis or set of axii affected by current manipulation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransformationManipulator()
Method Detail |
public void setBeginPoint(int x, int y)
x
- x coordinate of initial mouse click.y
- y coordinate of initial mouse click.public void setTransformationScope(TransformScope scope)
TransformScope
public TransformScope getSelectedScope()
TransformScope
public void setTransformationMode(TransformMode mode)
TransformMode
public void setCurrentPoint(int x, int y)
x
- x coordinate of initial mouse click.y
- y coordinate of initial mouse click.public void setCanvas3D(javax.media.j3d.Canvas3D canvas)
public abstract void clearSelection()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |