deAnimatorRuleGroup Class Reference

Animator Group Rule. More...

#include <deAnimatorRuleGroup.h>

Inheritance diagram for deAnimatorRuleGroup:
deAnimatorRule

List of all members.

Public Member Functions

Constructors and Destructors
 deAnimatorRuleGroup ()
 Creates a new animator rule.
virtual ~deAnimatorRuleGroup ()
 Cleans up the animator rule.
Management
int GetRuleCount () const
 Retrieves the number of rules.
deAnimatorRuleGetRuleAt (int index) const
 Retrieves the rule at the given index.
int IndexOfRule (deAnimatorRule *rule) const
 Retrieves the index of the given rule or -1 if not found.
bool HasRule (deAnimatorRule *rule) const
 Determines if the given rule exists.
void AddRule (deAnimatorRule *rule)
 Adds a rule.
void RemoveRule (deAnimatorRule *rule)
 Removes the given rule.
void RemoveAllRules ()
 Removes all rules.
Visiting
virtual void Visit (deAnimatorRuleVisitor *visitor)
 Visits the rule.

Detailed Description

Animator Group Rule.

The group rule stores a list of rules and applies them in order like the animator itself but does not apply the individual rules to the intermediate bone states but the result of the entire group of rules. Usefule to compose a state using various rules and to apply them as a whole.

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

Constructor & Destructor Documentation

deAnimatorRuleGroup::deAnimatorRuleGroup (  )

Creates a new animator rule.

virtual deAnimatorRuleGroup::~deAnimatorRuleGroup (  ) [virtual]

Cleans up the animator rule.


Member Function Documentation

void deAnimatorRuleGroup::AddRule ( deAnimatorRule rule )

Adds a rule.

deAnimatorRule* deAnimatorRuleGroup::GetRuleAt ( int  index ) const

Retrieves the rule at the given index.

int deAnimatorRuleGroup::GetRuleCount (  ) const [inline]

Retrieves the number of rules.

bool deAnimatorRuleGroup::HasRule ( deAnimatorRule rule ) const

Determines if the given rule exists.

int deAnimatorRuleGroup::IndexOfRule ( deAnimatorRule rule ) const

Retrieves the index of the given rule or -1 if not found.

void deAnimatorRuleGroup::RemoveAllRules (  )

Removes all rules.

void deAnimatorRuleGroup::RemoveRule ( deAnimatorRule rule )

Removes the given rule.

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

Visits the rule.

Reimplemented from deAnimatorRule.


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