Blender V2.61 - r43446
Public Member Functions

BL_ArmatureConstraint Class Reference

#include <BL_ArmatureConstraint.h>

Inheritance diagram for BL_ArmatureConstraint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BL_ArmatureConstraint (class BL_ArmatureObject *armature, struct bPoseChannel *posechannel, struct bConstraint *constraint, KX_GameObject *target, KX_GameObject *subtarget)
virtual ~BL_ArmatureConstraint ()
BL_ArmatureConstraintGetReplica () const
void ReParent (BL_ArmatureObject *armature)
void Relink (CTR_Map< CTR_HashedPtr, void * > *map)
bool UnlinkObject (SCA_IObject *clientobj)
void UpdateTarget ()
void RestoreTarget ()
bool Match (const char *posechannel, const char *constraint)
const char * GetName ()
void SetConstraintFlag (int flag)
void ClrConstraintFlag (int flag)
void SetWeight (float weight)
void SetTarget (KX_GameObject *target)
void SetSubtarget (KX_GameObject *subtarget)

Detailed Description

SG_DList : element of controlled constraint list head = BL_ArmatureObject::m_controlledConstraints SG_QList : not used

Definition at line 53 of file BL_ArmatureConstraint.h.


Constructor & Destructor Documentation

BL_ArmatureConstraint::BL_ArmatureConstraint ( class BL_ArmatureObject armature,
struct bPoseChannel posechannel,
struct bConstraint constraint,
KX_GameObject target,
KX_GameObject subtarget 
)
BL_ArmatureConstraint::~BL_ArmatureConstraint ( ) [virtual]

Definition at line 101 of file BL_ArmatureConstraint.cpp.

References SCA_IObject::UnregisterObject().


Member Function Documentation

void BL_ArmatureConstraint::ClrConstraintFlag ( int  flag) [inline]

Definition at line 95 of file BL_ArmatureConstraint.h.

References bConstraint::flag.

Referenced by BL_ArmatureActuator::Update().

const char* BL_ArmatureConstraint::GetName ( ) [inline]

Definition at line 88 of file BL_ArmatureConstraint.h.

Referenced by BL_ArmatureObject::GetConstraint().

BL_ArmatureConstraint * BL_ArmatureConstraint::GetReplica ( void  ) const
bool BL_ArmatureConstraint::Match ( const char *  posechannel,
const char *  constraint 
)

Definition at line 213 of file BL_ArmatureConstraint.cpp.

References bPoseChannel::name, and bConstraint::name.

Referenced by BL_ArmatureObject::GetConstraint().

void BL_ArmatureConstraint::Relink ( CTR_Map< CTR_HashedPtr, void * > *  map)
void BL_ArmatureConstraint::ReParent ( BL_ArmatureObject armature)
void BL_ArmatureConstraint::RestoreTarget ( )
void BL_ArmatureConstraint::SetConstraintFlag ( int  flag) [inline]

Definition at line 90 of file BL_ArmatureConstraint.h.

References bConstraint::flag, and bPose::flag.

Referenced by BL_ArmatureActuator::Update().

void BL_ArmatureConstraint::SetSubtarget ( KX_GameObject subtarget)
void BL_ArmatureConstraint::SetTarget ( KX_GameObject target)
void BL_ArmatureConstraint::SetWeight ( float  weight) [inline]
bool BL_ArmatureConstraint::UnlinkObject ( SCA_IObject clientobj)

Definition at line 165 of file BL_ArmatureConstraint.cpp.

References NULL.

void BL_ArmatureConstraint::UpdateTarget ( )

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