Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
IK_QTask Class Referenceabstract

#include <IK_QTask.h>

Inheritance diagram for IK_QTask:
IK_QCenterOfMassTask IK_QOrientationTask 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_QSegmentm_segment
 
double m_weight
 

Detailed Description

Definition at line 14 of file IK_QTask.h.

Constructor & Destructor Documentation

◆ IK_QTask()

IK_QTask::IK_QTask ( int  size,
bool  primary,
bool  active,
const IK_QSegment segment 
)

Definition at line 12 of file IK_QTask.cpp.

◆ ~IK_QTask()

virtual IK_QTask::~IK_QTask ( )
inlinevirtual

Definition at line 17 of file IK_QTask.h.

Member Function Documentation

◆ Active()

bool IK_QTask::Active ( ) const
inline

Definition at line 41 of file IK_QTask.h.

References m_active.

◆ ComputeJacobian()

virtual void IK_QTask::ComputeJacobian ( IK_QJacobian jacobian)
pure virtual

◆ Distance()

virtual double IK_QTask::Distance ( ) const
pure virtual

◆ Id()

int IK_QTask::Id ( ) const
inline

Definition at line 21 of file IK_QTask.h.

References m_size.

◆ PositionTask()

virtual bool IK_QTask::PositionTask ( ) const
inlinevirtual

Reimplemented in IK_QPositionTask.

Definition at line 60 of file IK_QTask.h.

◆ Primary()

bool IK_QTask::Primary ( ) const
inline

Definition at line 36 of file IK_QTask.h.

References m_primary.

Referenced by IK_QJacobianSolver::Setup().

◆ Scale()

virtual void IK_QTask::Scale ( double  )
inlinevirtual

Reimplemented in IK_QCenterOfMassTask, and IK_QPositionTask.

Definition at line 65 of file IK_QTask.h.

◆ SetId()

void IK_QTask::SetId ( int  id)
inline

Definition at line 26 of file IK_QTask.h.

References id, and m_id.

Referenced by IK_QJacobianSolver::Setup().

◆ SetWeight()

void IK_QTask::SetWeight ( double  weight)
inline

Definition at line 51 of file IK_QTask.h.

References m_weight, and sqrt().

Referenced by IK_SolverAddGoal(), IK_SolverAddGoalOrientation(), and IK_QJacobianSolver::Setup().

◆ Size()

int IK_QTask::Size ( ) const
inline

Definition at line 31 of file IK_QTask.h.

References m_size.

Referenced by IK_QJacobianSolver::Setup().

◆ Weight()

double IK_QTask::Weight ( ) const
inline

Definition at line 46 of file IK_QTask.h.

References m_weight.

Referenced by IK_QJacobianSolver::Setup().

Member Data Documentation

◆ m_active

bool IK_QTask::m_active
protected

Definition at line 73 of file IK_QTask.h.

Referenced by Active().

◆ m_id

int IK_QTask::m_id
protected

◆ m_primary

bool IK_QTask::m_primary
protected

Definition at line 72 of file IK_QTask.h.

Referenced by Primary().

◆ m_segment

const IK_QSegment* IK_QTask::m_segment
protected

◆ m_size

int IK_QTask::m_size
protected

◆ m_weight

double IK_QTask::m_weight
protected

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