Blender
V3.3
|
#include <IK_QSegment.h>
Public Member Functions | |
IK_QElbowSegment (int axis) | |
Vector3d | Axis (int dof) const |
bool | UpdateAngle (const IK_QJacobian &jacobian, Vector3d &delta, bool *clamp) |
void | Lock (int dof, IK_QJacobian &jacobian, Vector3d &delta) |
void | UpdateAngleApply () |
void | SetLimit (int axis, double lmin, double lmax) |
void | SetWeight (int axis, double weight) |
void | SetBasis (const Matrix3d &basis) |
![]() | |
virtual EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ~IK_QSegment () |
void | SetTransform (const Vector3d &start, const Matrix3d &rest_basis, const Matrix3d &basis, const double length) |
void | SetParent (IK_QSegment *parent) |
IK_QSegment * | Child () const |
IK_QSegment * | Sibling () const |
IK_QSegment * | Parent () const |
void | SetComposite (IK_QSegment *seg) |
IK_QSegment * | Composite () const |
int | NumberOfDoF () const |
int | DoFId () const |
void | SetDoFId (int dof_id) |
const double | MaxExtension () const |
Matrix3d | BasisChange () const |
Vector3d | TranslationChange () const |
const Vector3d | GlobalStart () const |
const Vector3d | GlobalEnd () const |
const Affine3d & | GlobalTransform () const |
bool | Translational () const |
bool | Locked (int dof) const |
void | UnLock () |
double | Weight (int dof) const |
void | ScaleWeight (int dof, double scale) |
void | UpdateTransform (const Affine3d &global) |
void | PrependBasis (const Matrix3d &mat) |
void | Reset () |
virtual void | Scale (double scale) |
Additional Inherited Members | |
![]() | |
IK_QSegment (int num_DoF, bool translational) | |
void | RemoveChild (IK_QSegment *child) |
![]() | |
IK_QSegment * | m_parent |
IK_QSegment * | m_child |
IK_QSegment * | m_sibling |
IK_QSegment * | m_composite |
Vector3d | m_start |
Matrix3d | m_rest_basis |
Matrix3d | m_basis |
Vector3d | m_translation |
Matrix3d | m_orig_basis |
Vector3d | m_orig_translation |
double | m_max_extension |
Vector3d | m_global_start |
Affine3d | m_global_transform |
int | m_num_DoF |
int | m_DoF_id |
bool | m_locked [3] |
bool | m_translational |
double | m_weight [3] |
Definition at line 312 of file IK_QSegment.h.
IK_QElbowSegment::IK_QElbowSegment | ( | int | axis | ) |
Definition at line 595 of file IK_QSegment.cpp.
|
virtual |
Implements IK_QSegment.
Definition at line 618 of file IK_QSegment.cpp.
References IK_QSegment::m_global_transform, and v.
|
virtual |
Reimplemented from IK_QSegment.
Definition at line 677 of file IK_QSegment.cpp.
References IK_QJacobian::Lock(), IK_QSegment::m_DoF_id, and IK_QSegment::m_locked.
|
virtual |
Reimplemented from IK_QSegment.
Definition at line 607 of file IK_QSegment.cpp.
References ComputeTwist(), ComputeTwistMatrix(), EulerAngleFromMatrix(), IK_QSegment::m_basis, RemoveTwist(), and RotationMatrix().
Reimplemented from IK_QSegment.
Definition at line 703 of file IK_QSegment.cpp.
Reimplemented from IK_QSegment.
Definition at line 724 of file IK_QSegment.cpp.
References IK_QSegment::m_weight.
|
virtual |
Implements IK_QSegment.
Definition at line 633 of file IK_QSegment.cpp.
References IK_QJacobian::AngleUpdate(), blender::math::clamp(), IK_QSegment::m_DoF_id, and IK_QSegment::m_locked.
|
virtual |
Implements IK_QSegment.
Definition at line 689 of file IK_QSegment.cpp.
References A, KDL::cos(), IK_QSegment::m_basis, RotationMatrix(), KDL::sin(), and T.