pose_to_quatT_pose_to_quatPoseToQuatPoseToQuatpose_to_quat (Operator)

Name

pose_to_quatT_pose_to_quatPoseToQuatPoseToQuatpose_to_quat — Convert the rotational part of a 3D pose to a quaternion.

Signature

pose_to_quat( : : Pose : Quaternion)

Herror T_pose_to_quat(const Htuple Pose, Htuple* Quaternion)

void PoseToQuat(const HTuple& Pose, HTuple* Quaternion)

static HQuaternionArray HQuaternion::PoseToQuat(const HPoseArray& Pose)

void HQuaternion::PoseToQuat(const HPose& Pose)

static void HOperatorSet.PoseToQuat(HTuple pose, out HTuple quaternion)

static HQuaternion[] HQuaternion.PoseToQuat(HPose[] pose)

void HQuaternion.PoseToQuat(HPose pose)

def pose_to_quat(pose: Sequence[Union[float, int]]) -> Sequence[float]

Description

The operator pose_to_quatpose_to_quatPoseToQuatPoseToQuatPoseToQuatpose_to_quat converts the rotation of the input 3D pose PosePosePosePoseposepose into its corresponding quaternion QuaternionQuaternionQuaternionQuaternionquaternionquaternion. Note that the translation of PosePosePosePoseposepose is ignored. Multiple poses can be passed in PosePosePosePoseposepose, in which case a quaternion is returned for each of them.

Execution Information

Parameters

PosePosePosePoseposepose (input_control)  pose(-array) HPose, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

3D Pose.

QuaternionQuaternionQuaternionQuaternionquaternionquaternion (output_control)  quaternion(-array) HQuaternion, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Rotation quaternion.

Possible Predecessors

create_posecreate_poseCreatePoseCreatePoseCreatePosecreate_pose, read_poseread_poseReadPoseReadPoseReadPoseread_pose

Possible Successors

quat_composequat_composeQuatComposeQuatComposeQuatComposequat_compose, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3dquat_rotate_point_3d, quat_interpolatequat_interpolateQuatInterpolateQuatInterpolateQuatInterpolatequat_interpolate

Alternatives

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuataxis_angle_to_quat

See also

quat_to_posequat_to_poseQuatToPoseQuatToPoseQuatToPosequat_to_pose, quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dQuatToHomMat3dquat_to_hom_mat3d, quat_composequat_composeQuatComposeQuatComposeQuatComposequat_compose, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3dquat_rotate_point_3d, pose_to_dual_quatpose_to_dual_quatPoseToDualQuatPoseToDualQuatPoseToDualQuatpose_to_dual_quat

Module

Foundation