Blender  V3.3
Public Member Functions | List of all members
IK_QSwingSegment Class Reference

#include <IK_QSegment.h>

Inheritance diagram for IK_QSwingSegment:
IK_QSegment

Public Member Functions

 IK_QSwingSegment ()
 
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)
 
- Public Member Functions inherited from IK_QSegment
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_QSegmentChild () const
 
IK_QSegmentSibling () const
 
IK_QSegmentParent () const
 
void SetComposite (IK_QSegment *seg)
 
IK_QSegmentComposite () 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

- Protected Member Functions inherited from IK_QSegment
 IK_QSegment (int num_DoF, bool translational)
 
void RemoveChild (IK_QSegment *child)
 
- Protected Attributes inherited from IK_QSegment
IK_QSegmentm_parent
 
IK_QSegmentm_child
 
IK_QSegmentm_sibling
 
IK_QSegmentm_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]
 

Detailed Description

Definition at line 290 of file IK_QSegment.h.

Constructor & Destructor Documentation

◆ IK_QSwingSegment()

IK_QSwingSegment::IK_QSwingSegment ( )

Definition at line 430 of file IK_QSegment.cpp.

Member Function Documentation

◆ Axis()

Vector3d IK_QSwingSegment::Axis ( int  dof) const
virtual

Implements IK_QSegment.

Definition at line 440 of file IK_QSegment.cpp.

References IK_QSegment::m_global_transform.

◆ Lock()

void IK_QSwingSegment::Lock ( int  dof,
IK_QJacobian jacobian,
Vector3d &  delta 
)
virtual

Reimplemented from IK_QSegment.

Definition at line 539 of file IK_QSegment.cpp.

References IK_QJacobian::Lock(), IK_QSegment::m_DoF_id, and IK_QSegment::m_locked.

◆ SetBasis()

void IK_QSwingSegment::SetBasis ( const Matrix3d &  basis)
virtual

Reimplemented from IK_QSegment.

Definition at line 434 of file IK_QSegment.cpp.

References IK_QSegment::m_basis, and RemoveTwist().

◆ SetLimit()

void IK_QSwingSegment::SetLimit ( int  axis,
double  lmin,
double  lmax 
)
virtual

Reimplemented from IK_QSegment.

Definition at line 551 of file IK_QSegment.cpp.

References Clamp, M_PI, offset, and KDL::sin().

◆ SetWeight()

void IK_QSwingSegment::SetWeight ( int  axis,
double  weight 
)
virtual

Reimplemented from IK_QSegment.

Definition at line 585 of file IK_QSegment.cpp.

References IK_QSegment::m_weight.

◆ UpdateAngle()

bool IK_QSwingSegment::UpdateAngle ( const IK_QJacobian jacobian,
Vector3d &  delta,
bool clamp 
)
virtual

◆ UpdateAngleApply()

void IK_QSwingSegment::UpdateAngleApply ( )
virtual

Implements IK_QSegment.

Definition at line 546 of file IK_QSegment.cpp.

References IK_QSegment::m_basis.


The documentation for this class was generated from the following files: