Blender V2.61 - r43446
Public Member Functions | Protected Attributes

IK_QTask Class Reference

#include <IK_QTask.h>

Inheritance diagram for IK_QTask:
Inheritance graph
[legend]

List of all members.

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
MT_Scalar Weight () const
void SetWeight (MT_Scalar weight)
virtual void ComputeJacobian (IK_QJacobian &jacobian)=0
virtual MT_Scalar Distance () const =0
virtual bool PositionTask () const
virtual void Scale (float)

Protected Attributes

int m_id
int m_size
bool m_primary
bool m_active
const IK_QSegmentm_segment
MT_Scalar m_weight

Detailed Description

Definition at line 43 of file IK_QTask.h.


Constructor & Destructor Documentation

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

Definition at line 38 of file IK_QTask.cpp.

virtual IK_QTask::~IK_QTask ( ) [inline, virtual]

Definition at line 52 of file IK_QTask.h.


Member Function Documentation

bool IK_QTask::Active ( ) const [inline]

Definition at line 66 of file IK_QTask.h.

References m_active.

virtual void IK_QTask::ComputeJacobian ( IK_QJacobian jacobian) [pure virtual]
virtual MT_Scalar IK_QTask::Distance ( ) const [pure virtual]
int IK_QTask::Id ( ) const [inline]

Definition at line 54 of file IK_QTask.h.

References m_size.

virtual bool IK_QTask::PositionTask ( ) const [inline, virtual]

Reimplemented in IK_QPositionTask.

Definition at line 79 of file IK_QTask.h.

bool IK_QTask::Primary ( ) const [inline]

Definition at line 63 of file IK_QTask.h.

References m_primary.

Referenced by IK_QJacobianSolver::Setup().

virtual void IK_QTask::Scale ( float  ) [inline, virtual]

Reimplemented in IK_QPositionTask, and IK_QCenterOfMassTask.

Definition at line 81 of file IK_QTask.h.

void IK_QTask::SetId ( int  id) [inline]

Definition at line 57 of file IK_QTask.h.

References m_id.

Referenced by IK_QJacobianSolver::Setup().

void IK_QTask::SetWeight ( MT_Scalar  weight) [inline]
int IK_QTask::Size ( ) const [inline]

Definition at line 60 of file IK_QTask.h.

References m_size.

Referenced by IK_QJacobianSolver::Setup().

MT_Scalar IK_QTask::Weight ( ) const [inline]

Definition at line 69 of file IK_QTask.h.

References m_weight.

Referenced by IK_QJacobianSolver::Setup().


Member Data Documentation

bool IK_QTask::m_active [protected]

Definition at line 87 of file IK_QTask.h.

Referenced by Active().

int IK_QTask::m_id [protected]
bool IK_QTask::m_primary [protected]

Definition at line 86 of file IK_QTask.h.

Referenced by Primary().

const IK_QSegment* IK_QTask::m_segment [protected]
int IK_QTask::m_size [protected]

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