NL3D::CChannelMixer::CChannel Class Reference


Detailed Description

An animated channel of the CChannelMixer. This class is used internaly in the CChannelMixer.

Author:
Cyril 'Hulud' Corvazier

Nevrax France

Date:
2001

Definition at line 145 of file channel_mixer.h.

Public Types

enum  { EnableUserFlag = 1, EnableLodFlag = 2, EnableAllFlag = 3 }

Public Member Functions

 CChannel ()
 Default ctor.


Private Attributes

std::string _ChannelName
 Name of the channel in the channel mixer. Must be the same than the animated value name.

const ITrack_DefaultTracks
 The default track pointer used when track are missing in the animation. Can't be NULL.

bool _Detail
 the detail mode.

uint8 _EnableFlags
 enabled Flags. User | Lod

bool _InTheList
 True if this channel is in the list.

bool _IsQuat
 Is this Animated Value a CQuat Animated Value???

CChannel_Next
IAnimatable_Object
 A pointer on the IAnimatable object that handles the channel value.

uint32 _OwnerValueId
 The id of the OwnerBit to touch the IAnimatable object. Usefull for IAnimatable derivation.

const ITrack_Tracks [NumAnimationSlot]
IAnimatedValue_Value
 A pointer on the IAnimatedValue animated by this channel. If NULL, the channel is empty.

uint32 _ValueId
 The id of the animated value in the IAnimatable object.

float _Weights [NumAnimationSlot]

Friends

class CChannelMixer


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
EnableUserFlag 
EnableLodFlag 
EnableAllFlag 

Definition at line 149 of file channel_mixer.h.


Constructor & Destructor Documentation

NL3D::CChannelMixer::CChannel::CChannel  )  [inline]
 

Default ctor.

Definition at line 153 of file channel_mixer.h.

References _EnableFlags, _InTheList, and EnableAllFlag.

00154                 {
00155                         // not in the list
00156                         _InTheList=false;
00157                         // enabled by default.
00158                         _EnableFlags= EnableAllFlag;
00159                 }


Friends And Related Function Documentation

friend class CChannelMixer [friend]
 

Definition at line 147 of file channel_mixer.h.


Field Documentation

std::string NL3D::CChannelMixer::CChannel::_ChannelName [private]
 

Name of the channel in the channel mixer. Must be the same than the animated value name.

Definition at line 175 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), and NL3D::CChannelMixer::refreshList().

const ITrack* NL3D::CChannelMixer::CChannel::_DefaultTracks [private]
 

The default track pointer used when track are missing in the animation. Can't be NULL.

Definition at line 190 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), and NL3D::CChannelMixer::refreshList().

bool NL3D::CChannelMixer::CChannel::_Detail [private]
 

the detail mode.

Definition at line 165 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), and NL3D::CChannelMixer::refreshList().

uint8 NL3D::CChannelMixer::CChannel::_EnableFlags [private]
 

enabled Flags. User | Lod

Definition at line 168 of file channel_mixer.h.

Referenced by CChannel(), and NL3D::CChannelMixer::refreshListToEval().

bool NL3D::CChannelMixer::CChannel::_InTheList [private]
 

True if this channel is in the list.

Definition at line 162 of file channel_mixer.h.

Referenced by CChannel(), and NL3D::CChannelMixer::refreshList().

bool NL3D::CChannelMixer::CChannel::_IsQuat [private]
 

Is this Animated Value a CQuat Animated Value???

Definition at line 171 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), and NL3D::CChannelMixer::evalSingleChannel().

CChannel* NL3D::CChannelMixer::CChannel::_Next [private]
 

Pointer on the next channel selected for the animations selected in the slots

This list is used to only visit the channels animated by the animations set in the slots of the mixer

Definition at line 212 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::refreshList(), and NL3D::CChannelMixer::refreshListToEval().

IAnimatable* NL3D::CChannelMixer::CChannel::_Object [private]
 

A pointer on the IAnimatable object that handles the channel value.

Definition at line 178 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::refreshList().

uint32 NL3D::CChannelMixer::CChannel::_OwnerValueId [private]
 

The id of the OwnerBit to touch the IAnimatable object. Usefull for IAnimatable derivation.

Definition at line 187 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::refreshList().

const ITrack* NL3D::CChannelMixer::CChannel::_Tracks[NumAnimationSlot] [private]
 

A track pointer on each slot CAnimation. Can't be NULL. If no track found for this channel, the pointer is _DefaultTracks.

Definition at line 196 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::refreshList().

IAnimatedValue* NL3D::CChannelMixer::CChannel::_Value [private]
 

A pointer on the IAnimatedValue animated by this channel. If NULL, the channel is empty.

Definition at line 181 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::refreshList().

uint32 NL3D::CChannelMixer::CChannel::_ValueId [private]
 

The id of the animated value in the IAnimatable object.

Definition at line 184 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), NL3D::CChannelMixer::eval(), NL3D::CChannelMixer::evalSingleChannel(), and NL3D::CChannelMixer::refreshList().

float NL3D::CChannelMixer::CChannel::_Weights[NumAnimationSlot] [private]
 

A weight array for to blend each slot. This value must be between 0.f and 1.f. If it is 0.f, the slot is not used. If it is 1.f, the slot is used at 100%. This weight can be set using a "skeleton template weight". Default value is 1.f.

Definition at line 204 of file channel_mixer.h.

Referenced by NL3D::CChannelMixer::addChannel(), NL3D::CChannelMixer::eval(), and NL3D::CChannelMixer::evalSingleChannel().


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