Blender  V3.3
Public Member Functions | List of all members
IK_QCenterOfMassTask Class Reference

#include <IK_QTask.h>

Inheritance diagram for IK_QCenterOfMassTask:
IK_QTask

Public Member Functions

 IK_QCenterOfMassTask (bool primary, const IK_QSegment *segment, const Vector3d &center)
 
void ComputeJacobian (IK_QJacobian &jacobian)
 
double Distance () const
 
void Scale (double scale)
 
- Public Member Functions inherited from IK_QTask
 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 bool PositionTask () const
 

Additional Inherited Members

- Protected Attributes inherited from IK_QTask
int m_id
 
int m_size
 
bool m_primary
 
bool m_active
 
const IK_QSegmentm_segment
 
double m_weight
 

Detailed Description

Definition at line 116 of file IK_QTask.h.

Constructor & Destructor Documentation

◆ IK_QCenterOfMassTask()

IK_QCenterOfMassTask::IK_QCenterOfMassTask ( bool  primary,
const IK_QSegment segment,
const Vector3d &  center 
)

Definition at line 121 of file IK_QTask.cpp.

References FuzzyZero(), and IK_QTask::m_segment.

Member Function Documentation

◆ ComputeJacobian()

void IK_QCenterOfMassTask::ComputeJacobian ( IK_QJacobian jacobian)
virtual

◆ Distance()

double IK_QCenterOfMassTask::Distance ( ) const
virtual

Implements IK_QTask.

Definition at line 197 of file IK_QTask.cpp.

◆ Scale()

void IK_QCenterOfMassTask::Scale ( double  scale)
inlinevirtual

Reimplemented from IK_QTask.

Definition at line 124 of file IK_QTask.h.


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