Blender V5.0
IK_QTranslateSegment Class Reference

#include <IK_QSegment.h>

Inherits IK_QSegment.

Public Member Functions

 IK_QTranslateSegment (int axis1)
 IK_QTranslateSegment (int axis1, int axis2)
 IK_QTranslateSegment ()
Vector3d Axis (int dof) const override
bool UpdateAngle (const IK_QJacobian &jacobian, Vector3d &delta, bool *clamp) override
void Lock (int, IK_QJacobian &, Vector3d &) override
void UpdateAngleApply () override
void SetWeight (int axis, double weight) override
void SetLimit (int axis, double lmin, double lmax) override
void Scale (double scale) override
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)
double MaxExtension () const
Matrix3d BasisChange () const
Vector3d TranslationChange () const
Vector3d GlobalStart () 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)
virtual void SetBasis (const Matrix3d &basis)
void PrependBasis (const Matrix3d &mat)
void Reset ()

Additional Inherited Members

Protected Member Functions inherited from IK_QSegment
 IK_QSegment (int num_DoF, bool translational)
void extracted ()
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 331 of file IK_QSegment.h.

Constructor & Destructor Documentation

◆ IK_QTranslateSegment() [1/3]

IK_QTranslateSegment::IK_QTranslateSegment ( int axis1)

Definition at line 771 of file IK_QSegment.cpp.

References IK_QSegment::IK_QSegment(), and true.

◆ IK_QTranslateSegment() [2/3]

IK_QTranslateSegment::IK_QTranslateSegment ( int axis1,
int axis2 )

Definition at line 781 of file IK_QSegment.cpp.

References IK_QSegment::IK_QSegment(), and true.

◆ IK_QTranslateSegment() [3/3]

IK_QTranslateSegment::IK_QTranslateSegment ( )

Definition at line 793 of file IK_QSegment.cpp.

References IK_QSegment::IK_QSegment(), and true.

Member Function Documentation

◆ Axis()

Vector3d IK_QTranslateSegment::Axis ( int dof) const
overridevirtual

Implements IK_QSegment.

Definition at line 804 of file IK_QSegment.cpp.

References IK_QSegment::m_global_transform.

◆ Lock()

void IK_QTranslateSegment::Lock ( int dof,
IK_QJacobian & jacobian,
Vector3d & delta )
overridevirtual

Reimplemented from IK_QSegment.

Definition at line 852 of file IK_QSegment.cpp.

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

◆ Scale()

void IK_QTranslateSegment::Scale ( double scale)
overridevirtual

Reimplemented from IK_QSegment.

Definition at line 880 of file IK_QSegment.cpp.

References i, and IK_QSegment::Scale().

◆ SetLimit()

void IK_QTranslateSegment::SetLimit ( int axis,
double lmin,
double lmax )
overridevirtual

Reimplemented from IK_QSegment.

Definition at line 869 of file IK_QSegment.cpp.

◆ SetWeight()

void IK_QTranslateSegment::SetWeight ( int axis,
double weight )
overridevirtual

Reimplemented from IK_QSegment.

Definition at line 858 of file IK_QSegment.cpp.

References i, IK_QSegment::m_num_DoF, and IK_QSegment::m_weight.

◆ UpdateAngle()

bool IK_QTranslateSegment::UpdateAngle ( const IK_QJacobian & jacobian,
Vector3d & delta,
bool * clamp )
overridevirtual

◆ UpdateAngleApply()

void IK_QTranslateSegment::UpdateAngleApply ( )
overridevirtual

Implements IK_QSegment.

Definition at line 847 of file IK_QSegment.cpp.

References IK_QSegment::m_translation.


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