deAnimatorRuleRetarget Class Reference

Retarget Animation Rule Class. More...

#include <deAnimatorRuleRetarget.h>

Inheritance diagram for deAnimatorRuleRetarget:
deAnimatorRule

List of all members.

Public Member Functions

Constructors and Destructors
 deAnimatorRuleRetarget ()
 Creates a new animator rule.
virtual ~deAnimatorRuleRetarget ()
 Cleans up the animator rule.
Management
deRigGetSourceRig () const
 Retrieves the source rig or NULL if not set.
void SetSourceRig (deRig *rig)
 Sets the source rig or NULL if not set.
deRigGetDestinationRig () const
 Retrieves the destination rig or NULL to use the rig from the attached component.
void SetDestinationRig (deRig *rig)
 Sets the destination rig or NULL to use the rig from the attached component.
Visiting
virtual void Visit (deAnimatorRuleVisitor *visitor)
 Visits the rule.

Detailed Description

Retarget Animation Rule Class.

Adjusts the existing animation to match a different rig. For this a source and destination rig as well as a list of bone matchings have to be provided. The source rig defines the structure of the existing animation data. The destination rig defines the structure to match the animation to. The destination rig can be NULL in which case the rig from the attached component is used. The bone matching list defines pairs of bone names assigning bones from the existing animation to a new bone. Bones without such a matching are assumed to stay the same but with different rest poses.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deAnimatorRuleRetarget::deAnimatorRuleRetarget (  )

Creates a new animator rule.

virtual deAnimatorRuleRetarget::~deAnimatorRuleRetarget (  ) [virtual]

Cleans up the animator rule.


Member Function Documentation

deRig* deAnimatorRuleRetarget::GetDestinationRig (  ) const [inline]

Retrieves the destination rig or NULL to use the rig from the attached component.

deRig* deAnimatorRuleRetarget::GetSourceRig (  ) const [inline]

Retrieves the source rig or NULL if not set.

void deAnimatorRuleRetarget::SetDestinationRig ( deRig rig )

Sets the destination rig or NULL to use the rig from the attached component.

void deAnimatorRuleRetarget::SetSourceRig ( deRig rig )

Sets the source rig or NULL if not set.

virtual void deAnimatorRuleRetarget::Visit ( deAnimatorRuleVisitor visitor ) [virtual]

Visits the rule.

Reimplemented from deAnimatorRule.


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