NL3D::CChannelMixer::CSlot Class Reference


Detailed Description

An animation slot.

Definition at line 81 of file channel_mixer.h.

Private Member Functions

 CSlot ()
 Default Ctor.

void empty ()
 Empty the slot.

bool isEmpty ()
 Is the slot empty ?


Private Attributes

const CAnimation_Animation
 Animation pointer to use by this slot. If NULL, slot is empty.

bool _Dirt
 Dirt flag. True if the animation of this slot as been modified.

bool _InvertedSkeletonWeight
 Skeleton weight pointer inverted or not.

const CSkeletonWeight_SkeletonWeight
 Skeleton weight pointer.

TAnimationTime _Time
 Time to use to eval the animation.

float _Weight

Friends

class CChannelMixer


Constructor & Destructor Documentation

NL3D::CChannelMixer::CSlot::CSlot  )  [inline, private]
 

Default Ctor.

Definition at line 86 of file channel_mixer.h.

References _Dirt, _Weight, and empty().

00087                 {
00088                         // Not modified
00089                         _Dirt=false;
00090 
00091                         // default is 1.
00092                         _Weight= 1.f;
00093 
00094                         // Set it empty
00095                         empty ();
00096                 }


Member Function Documentation

void NL3D::CChannelMixer::CSlot::empty  )  [inline, private]
 

Empty the slot.

Definition at line 99 of file channel_mixer.h.

References _InvertedSkeletonWeight.

Referenced by CSlot(), and NL3D::CChannelMixer::emptySlot().

00100                 {
00101                         _Animation=NULL;
00102                         _SkeletonWeight=NULL;
00103                         _InvertedSkeletonWeight=false;
00104                 }

bool NL3D::CChannelMixer::CSlot::isEmpty  )  [inline, private]
 

Is the slot empty ?

Definition at line 107 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::dirtAll(), NL3D::CChannelMixer::emptySlot(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalChannels(), and NL3D::CChannelMixer::refreshList().

00108                 {
00109                         return _Animation==NULL;
00110                 }


Friends And Related Function Documentation

friend class CChannelMixer [friend]
 

Definition at line 83 of file channel_mixer.h.


Field Documentation

const CAnimation* NL3D::CChannelMixer::CSlot::_Animation [private]
 

Animation pointer to use by this slot. If NULL, slot is empty.

Definition at line 114 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::getSlotAnimation(), NL3D::CChannelMixer::refreshList(), and NL3D::CChannelMixer::setSlotAnimation().

bool NL3D::CChannelMixer::CSlot::_Dirt [private]
 

Dirt flag. True if the animation of this slot as been modified.

Definition at line 134 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::cleanAll(), CSlot(), NL3D::CChannelMixer::dirtAll(), NL3D::CChannelMixer::emptySlot(), NL3D::CChannelMixer::refreshList(), and NL3D::CChannelMixer::setSlotAnimation().

bool NL3D::CChannelMixer::CSlot::_InvertedSkeletonWeight [private]
 

Skeleton weight pointer inverted or not.

Definition at line 120 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::applySkeletonWeight(), empty(), and NL3D::CChannelMixer::resetSkeletonWeight().

const CSkeletonWeight* NL3D::CChannelMixer::CSlot::_SkeletonWeight [private]
 

Skeleton weight pointer.

Definition at line 117 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::applySkeletonWeight(), and NL3D::CChannelMixer::resetSkeletonWeight().

TAnimationTime NL3D::CChannelMixer::CSlot::_Time [private]
 

Time to use to eval the animation.

Definition at line 123 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::eval(), and NL3D::CChannelMixer::setSlotTime().

float NL3D::CChannelMixer::CSlot::_Weight [private]
 

Global weight to apply to the animation of this slot. This weight can be gived in any range because renormalisatio is done in final weight evaluation. If weight is 0.f, the final mix is not influenced by the animation of this slot.

Definition at line 131 of file channel_mixer.h.

Referenced by CSlot(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalChannels(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::setSlotWeight().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 06:45:00 2004 for NeL by doxygen 1.3.6