|
Blender
V2.93
|
#include <IK_QTask.h>
Inherited by IK_QCenterOfMassTask, IK_QOrientationTask, and IK_QPositionTask.
Public Member Functions | |
| 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) |
| virtual void | ComputeJacobian (IK_QJacobian &jacobian)=0 |
| virtual double | Distance () const =0 |
| virtual bool | PositionTask () const |
| virtual void | Scale (double) |
Protected Attributes | |
| int | m_id |
| int | m_size |
| bool | m_primary |
| bool | m_active |
| const IK_QSegment * | m_segment |
| double | m_weight |
Definition at line 31 of file IK_QTask.h.
| IK_QTask::IK_QTask | ( | int | size, |
| bool | primary, | ||
| bool | active, | ||
| const IK_QSegment * | segment | ||
| ) |
Definition at line 28 of file IK_QTask.cpp.
|
inlinevirtual |
Definition at line 34 of file IK_QTask.h.
|
inline |
Definition at line 58 of file IK_QTask.h.
References m_active.
|
pure virtual |
Implemented in IK_QCenterOfMassTask, IK_QOrientationTask, and IK_QPositionTask.
|
pure virtual |
Implemented in IK_QCenterOfMassTask, IK_QOrientationTask, and IK_QPositionTask.
|
inline |
Definition at line 38 of file IK_QTask.h.
References m_size.
|
inlinevirtual |
Reimplemented in IK_QPositionTask.
Definition at line 77 of file IK_QTask.h.
|
inline |
Definition at line 53 of file IK_QTask.h.
References m_primary.
Referenced by IK_QJacobianSolver::Setup().
|
inlinevirtual |
Reimplemented in IK_QCenterOfMassTask, and IK_QPositionTask.
Definition at line 82 of file IK_QTask.h.
|
inline |
Definition at line 43 of file IK_QTask.h.
Referenced by IK_QJacobianSolver::Setup().
|
inline |
Definition at line 68 of file IK_QTask.h.
References m_weight, and sqrt().
Referenced by IK_SolverAddGoal(), IK_SolverAddGoalOrientation(), and IK_QJacobianSolver::Setup().
|
inline |
Definition at line 48 of file IK_QTask.h.
References m_size.
Referenced by IK_QJacobianSolver::Setup().
|
inline |
Definition at line 63 of file IK_QTask.h.
References m_weight.
Referenced by IK_QJacobianSolver::Setup().
|
protected |
Definition at line 90 of file IK_QTask.h.
Referenced by Active().
|
protected |
Definition at line 87 of file IK_QTask.h.
Referenced by IK_QPositionTask::ComputeJacobian(), IK_QOrientationTask::ComputeJacobian(), IK_QCenterOfMassTask::ComputeJacobian(), and SetId().
|
protected |
Definition at line 89 of file IK_QTask.h.
Referenced by Primary().
|
protected |
Definition at line 91 of file IK_QTask.h.
Referenced by IK_QPositionTask::ComputeJacobian(), IK_QOrientationTask::ComputeJacobian(), IK_QCenterOfMassTask::ComputeJacobian(), IK_QPositionTask::Distance(), IK_QCenterOfMassTask::IK_QCenterOfMassTask(), and IK_QPositionTask::IK_QPositionTask().
|
protected |
Definition at line 88 of file IK_QTask.h.
Referenced by IK_QPositionTask::ComputeJacobian(), IK_QOrientationTask::ComputeJacobian(), IK_QCenterOfMassTask::ComputeJacobian(), Id(), and Size().
|
protected |
Definition at line 92 of file IK_QTask.h.
Referenced by IK_QPositionTask::ComputeJacobian(), IK_QOrientationTask::ComputeJacobian(), IK_QCenterOfMassTask::ComputeJacobian(), SetWeight(), and Weight().