# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CChannelMixer::CSlot Class Reference

An animation slot. More...

List of all members.

Private Methods

 CSlot ()
 Default Ctor. More...

void empty ()
 Empty the slot. More...

bool isEmpty ()
 Is the slot empty ? More...


Private Attributes

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

const CSkeletonWeight_SkeletonWeight
 Skeleton weight pointer. More...

bool _InvertedSkeletonWeight
 Skeleton weight pointer inverted or not. More...

TAnimationTime _Time
 Time to use to eval the animation. More...

float _Weight
 Global weight to apply to the animation of this slot. More...

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


Friends

class CChannelMixer


Detailed Description

An animation slot.

Definition at line 81 of file channel_mixer.h.


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.


Member Function Documentation

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

Empty the slot.

Definition at line 99 of file channel_mixer.h.

References _Animation, _InvertedSkeletonWeight, and _SkeletonWeight.

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

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

Is the slot empty ?

Definition at line 107 of file channel_mixer.h.

References _Animation.

Referenced by NL3D::CChannelMixer::emptySlot.


Friends And Related Function Documentation

friend class CChannelMixer [friend]
 

Definition at line 83 of file channel_mixer.h.


Member Data 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 empty, NL3D::CChannelMixer::getSlotAnimation, isEmpty, 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 CSlot, NL3D::CChannelMixer::emptySlot, 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, empty, 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::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, and NL3D::CChannelMixer::setSlotWeight.


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