ClassesClasses | | Operators

pose_to_quatT_pose_to_quatPoseToQuatPoseToQuat (Operator)

Name

pose_to_quatT_pose_to_quatPoseToQuatPoseToQuat — 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)

Description

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

Execution Information

Parameters

PosePosePosePosepose (input_control)  pose(-array) HPose, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

3D Pose.

QuaternionQuaternionQuaternionQuaternionquaternion (output_control)  quaternion(-array) HQuaternion, HTupleHTupleHtuple (real) (double) (double) (double)

Rotation quaternion.

Possible Predecessors

create_posecreate_poseCreatePoseCreatePoseCreatePose, read_poseread_poseReadPoseReadPoseReadPose

Possible Successors

quat_composequat_composeQuatComposeQuatComposeQuatCompose, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3d, quat_interpolatequat_interpolateQuatInterpolateQuatInterpolateQuatInterpolate

Alternatives

axis_angle_to_quataxis_angle_to_quatAxisAngleToQuatAxisAngleToQuatAxisAngleToQuat

See also

quat_to_posequat_to_poseQuatToPoseQuatToPoseQuatToPose, quat_to_hom_mat3dquat_to_hom_mat3dQuatToHomMat3dQuatToHomMat3dQuatToHomMat3d, quat_composequat_composeQuatComposeQuatComposeQuatCompose, quat_rotate_point_3dquat_rotate_point_3dQuatRotatePoint3dQuatRotatePoint3dQuatRotatePoint3d, pose_to_dual_quatpose_to_dual_quatPoseToDualQuatPoseToDualQuatPoseToDualQuat

Module

Foundation


ClassesClasses | | Operators