deAnimatorRuleStateManipulator Class Reference

Animator State Manipulator Rule Class. More...

#include <deAnimatorRuleStateManipulator.h>

Inheritance diagram for deAnimatorRuleStateManipulator:
deAnimatorRule

List of all members.

Public Member Functions

Constructors and Destructors
 deAnimatorRuleStateManipulator ()
 Creates a new animator rule.
virtual ~deAnimatorRuleStateManipulator ()
 Cleans up the animator rule.
Management
const decVectorGetMinimumPosition () const
 Retrieves the minimum position.
void SetMinimumPosition (const decVector &position)
 Sets the minimum position.
const decVectorGetMaximumPosition () const
 Retrieves the maximum position.
void SetMaximumPosition (const decVector &position)
 Sets the maximum position.
const decQuaternionGetMinimumOrientation () const
 Retrieves the minimum orientation.
void SetMinimumOrientation (const decQuaternion &orientation)
 Sets the minimum orientation.
const decQuaternionGetMaximumOrientation () const
 Retrieves the maximum orientation.
void SetMaximumOrientation (const decQuaternion &orientation)
 Sets the maximum orientation.
const decVectorGetMinimumSize () const
 Retrieves the minimum size.
void SetMinimumSize (const decVector &size)
 Sets the minimum size.
const decVectorGetMaximumSize () const
 Retrieves the maximum size.
void SetMaximumSize (const decVector &size)
 Sets the maximum size.
bool GetEnablePosition () const
 Determines if position manipulation is enabled.
void SetEnablePosition (bool enabled)
 Sets if position manipulation is enabled.
bool GetEnableOrientation () const
 Determines if orientation manipulation is enabled.
void SetEnableOrientation (bool enabled)
 Sets if orientation manipulation is enabled.
bool GetEnableSize () const
 Determines if size manipulation is enabled.
void SetEnableSize (bool enabled)
 Sets if size manipulation is enabled.
deAnimatorControllerTargetGetTargetPosition ()
 Retrieves the position target.
deAnimatorControllerTargetGetTargetOrientation ()
 Retrieves the orientation target.
deAnimatorControllerTargetGetTargetSize ()
 Retrieves the size target.
Visiting
virtual void Visit (deAnimatorRuleVisitor *visitor)
 Visits the rule.

Detailed Description

Animator State Manipulator Rule Class.

Sometimes manipulating the state of a bone directly is desired. This could be used to move around eyes or any other bone where the location of the bone has no influence on the orientation of the bone itself. For this you specify the minimum and maximum values of position, orientation and size. For each a controller can be assigned the same way as in the bone rotator. You can then enable position, orientation and size manipulation individually ( if you wish only one or two of those properties to be altered ).

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

Constructor & Destructor Documentation

deAnimatorRuleStateManipulator::deAnimatorRuleStateManipulator (  )

Creates a new animator rule.

virtual deAnimatorRuleStateManipulator::~deAnimatorRuleStateManipulator (  ) [virtual]

Cleans up the animator rule.


Member Function Documentation

bool deAnimatorRuleStateManipulator::GetEnableOrientation (  ) const [inline]

Determines if orientation manipulation is enabled.

bool deAnimatorRuleStateManipulator::GetEnablePosition (  ) const [inline]

Determines if position manipulation is enabled.

bool deAnimatorRuleStateManipulator::GetEnableSize (  ) const [inline]

Determines if size manipulation is enabled.

const decQuaternion& deAnimatorRuleStateManipulator::GetMaximumOrientation (  ) const [inline]

Retrieves the maximum orientation.

const decVector& deAnimatorRuleStateManipulator::GetMaximumPosition (  ) const [inline]

Retrieves the maximum position.

const decVector& deAnimatorRuleStateManipulator::GetMaximumSize (  ) const [inline]

Retrieves the maximum size.

const decQuaternion& deAnimatorRuleStateManipulator::GetMinimumOrientation (  ) const [inline]

Retrieves the minimum orientation.

const decVector& deAnimatorRuleStateManipulator::GetMinimumPosition (  ) const [inline]

Retrieves the minimum position.

const decVector& deAnimatorRuleStateManipulator::GetMinimumSize (  ) const [inline]

Retrieves the minimum size.

deAnimatorControllerTarget& deAnimatorRuleStateManipulator::GetTargetOrientation (  ) [inline]

Retrieves the orientation target.

deAnimatorControllerTarget& deAnimatorRuleStateManipulator::GetTargetPosition (  ) [inline]

Retrieves the position target.

deAnimatorControllerTarget& deAnimatorRuleStateManipulator::GetTargetSize (  ) [inline]

Retrieves the size target.

void deAnimatorRuleStateManipulator::SetEnableOrientation ( bool  enabled )

Sets if orientation manipulation is enabled.

void deAnimatorRuleStateManipulator::SetEnablePosition ( bool  enabled )

Sets if position manipulation is enabled.

void deAnimatorRuleStateManipulator::SetEnableSize ( bool  enabled )

Sets if size manipulation is enabled.

void deAnimatorRuleStateManipulator::SetMaximumOrientation ( const decQuaternion orientation )

Sets the maximum orientation.

void deAnimatorRuleStateManipulator::SetMaximumPosition ( const decVector position )

Sets the maximum position.

void deAnimatorRuleStateManipulator::SetMaximumSize ( const decVector size )

Sets the maximum size.

void deAnimatorRuleStateManipulator::SetMinimumOrientation ( const decQuaternion orientation )

Sets the minimum orientation.

void deAnimatorRuleStateManipulator::SetMinimumPosition ( const decVector position )

Sets the minimum position.

void deAnimatorRuleStateManipulator::SetMinimumSize ( const decVector size )

Sets the minimum size.

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

Visits the rule.

Reimplemented from deAnimatorRule.


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