Blender
V3.3
|
#include <IK_QTask.h>
Public Member Functions | |
IK_QPositionTask (bool primary, const IK_QSegment *segment, const Vector3d &goal) | |
void | ComputeJacobian (IK_QJacobian &jacobian) |
double | Distance () const |
bool | PositionTask () const |
void | Scale (double scale) |
![]() | |
IK_QTask (int size, bool primary, bool active, const IK_QSegment *segment) | |
virtual | ~IK_QTask () |
int | Id () const |
void | SetId (int id) |
int | Size () const |
bool | Primary () const |
bool | Active () const |
double | Weight () const |
void | SetWeight (double weight) |
Additional Inherited Members | |
![]() | |
int | m_id |
int | m_size |
bool | m_primary |
bool | m_active |
const IK_QSegment * | m_segment |
double | m_weight |
Definition at line 78 of file IK_QTask.h.
IK_QPositionTask::IK_QPositionTask | ( | bool | primary, |
const IK_QSegment * | segment, | ||
const Vector3d & | goal | ||
) |
Definition at line 19 of file IK_QTask.cpp.
References IK_QTask::m_segment, IK_QSegment::MaxExtension(), and IK_QSegment::Parent().
|
virtual |
Implements IK_QTask.
Definition at line 37 of file IK_QTask.cpp.
References IK_QSegment::Axis(), IK_QSegment::DoFId(), IK_QSegment::GlobalEnd(), IK_QSegment::GlobalStart(), blender::math::length(), IK_QTask::m_id, IK_QTask::m_segment, IK_QTask::m_size, IK_QTask::m_weight, IK_QSegment::NumberOfDoF(), IK_QSegment::Parent(), pos, IK_QJacobian::SetBetas(), IK_QJacobian::SetDerivatives(), and IK_QSegment::Translational().
|
virtual |
Implements IK_QTask.
Definition at line 70 of file IK_QTask.cpp.
References IK_QSegment::GlobalEnd(), IK_QTask::m_segment, and pos.
|
inlinevirtual |
Reimplemented from IK_QTask.
Definition at line 86 of file IK_QTask.h.
Reimplemented from IK_QTask.
Definition at line 90 of file IK_QTask.h.