Public Member Functions | |
void | disableHandler () |
void | processDragOperation (MouseEvent evt, BehaviorInfo info) |
void | processPicking (MouseEvent evt, BehaviorInfo info) |
void | processReleased (MouseEvent evt, BehaviorInfo info) |
void | processStartDrag (MouseEvent evt, BehaviorInfo info) |
boolean | processTimerOperation (BehaviorInfo info) |
void | setPickTarget (TransformGroup tg, BehaviorInfo info) |
Private Member Functions | |
void | _jointAngleChanged (BehaviorInfo info) |
Private Attributes | |
double | angle_ |
boolean | isPicked_ |
int | mode_ |
Point3d | pointTarget_ |
Point | prevPoint_ = new Point() |
TransformGroup | tgTarget_ |
Vector3d | vectorCylinder_ |
Static Private Attributes | |
static final int | CYLINDER_MODE = 2 |
static final int | DISK_MODE = 1 |
static final float | FACTOR = 0.004f |
static final int | MODE_NONE = 0 |
static final double | THRESHOLD = 0.262f |
Definition at line 30 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler._jointAngleChanged | ( | BehaviorInfo | info | ) | [inline, private] |
Definition at line 262 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler.disableHandler | ( | ) | [inline, virtual] |
Implements com.generalrobotix.ui.view.tdview.OperationHandler.
Definition at line 250 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler.processDragOperation | ( | MouseEvent | evt, |
BehaviorInfo | info | ||
) | [inline] |
Implements com.generalrobotix.ui.view.tdview.BehaviorHandler.
Definition at line 156 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler.processPicking | ( | MouseEvent | evt, |
BehaviorInfo | info | ||
) | [inline] |
Implements com.generalrobotix.ui.view.tdview.BehaviorHandler.
Definition at line 56 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler.processReleased | ( | MouseEvent | evt, |
BehaviorInfo | info | ||
) | [inline] |
Implements com.generalrobotix.ui.view.tdview.BehaviorHandler.
Definition at line 238 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler.processStartDrag | ( | MouseEvent | evt, |
BehaviorInfo | info | ||
) | [inline] |
Implements com.generalrobotix.ui.view.tdview.BehaviorHandler.
Definition at line 92 of file JointRotationHandler.java.
boolean com.generalrobotix.ui.view.tdview.JointRotationHandler.processTimerOperation | ( | BehaviorInfo | info | ) | [inline] |
Implements com.generalrobotix.ui.view.tdview.BehaviorHandler.
Definition at line 244 of file JointRotationHandler.java.
void com.generalrobotix.ui.view.tdview.JointRotationHandler.setPickTarget | ( | TransformGroup | tg, |
BehaviorInfo | info | ||
) | [inline, virtual] |
Implements com.generalrobotix.ui.view.tdview.OperationHandler.
Definition at line 253 of file JointRotationHandler.java.
double com.generalrobotix.ui.view.tdview.JointRotationHandler.angle_ [private] |
Definition at line 46 of file JointRotationHandler.java.
final int com.generalrobotix.ui.view.tdview.JointRotationHandler.CYLINDER_MODE = 2 [static, private] |
Definition at line 35 of file JointRotationHandler.java.
final int com.generalrobotix.ui.view.tdview.JointRotationHandler.DISK_MODE = 1 [static, private] |
Definition at line 34 of file JointRotationHandler.java.
final float com.generalrobotix.ui.view.tdview.JointRotationHandler.FACTOR = 0.004f [static, private] |
Definition at line 36 of file JointRotationHandler.java.
Definition at line 47 of file JointRotationHandler.java.
Definition at line 43 of file JointRotationHandler.java.
final int com.generalrobotix.ui.view.tdview.JointRotationHandler.MODE_NONE = 0 [static, private] |
Definition at line 33 of file JointRotationHandler.java.
Point3d com.generalrobotix.ui.view.tdview.JointRotationHandler.pointTarget_ [private] |
Definition at line 52 of file JointRotationHandler.java.
Point com.generalrobotix.ui.view.tdview.JointRotationHandler.prevPoint_ = new Point() [private] |
Definition at line 45 of file JointRotationHandler.java.
TransformGroup com.generalrobotix.ui.view.tdview.JointRotationHandler.tgTarget_ [private] |
Definition at line 44 of file JointRotationHandler.java.
final double com.generalrobotix.ui.view.tdview.JointRotationHandler.THRESHOLD = 0.262f [static, private] |
Definition at line 39 of file JointRotationHandler.java.
Vector3d com.generalrobotix.ui.view.tdview.JointRotationHandler.vectorCylinder_ [private] |
Definition at line 48 of file JointRotationHandler.java.