Top |
XrdGrabState *
xrd_controller_get_grab_state (XrdController *self
);
XrdHoverState *
xrd_controller_get_hover_state (XrdController *self
);
XrdPointerTip *
xrd_controller_get_pointer_tip (XrdController *self
);
void xrd_controller_get_pose_hand_grip (XrdController *self
,graphene_matrix_t *pose
);
void xrd_controller_set_pointer (XrdController *self
,XrdPointer *pointer
);
void xrd_controller_set_pointer_tip (XrdController *self
,XrdPointerTip *tip
);
void xrd_controller_update_pose_hand_grip (XrdController *self
,graphene_matrix_t *pose
);
The type of transformation the grab action is currently locked to. This will be detected at the begginging of a grab transformation and reset after the transformation is done.
typedef struct { XrdWindow *window; /* window rotation, controller rotation, offset at the moment the window * was grabbed, enables keeping transform when grabbing a window. */ graphene_quaternion_t window_rotation; graphene_quaternion_t inverse_controller_rotation; graphene_point3d_t grab_offset; XrdTransformLock transform_lock; } XrdGrabState;
typedef struct { XrdWindow *window; graphene_matrix_t pose; float distance; graphene_point_t intersection_2d; } XrdHoverState;