Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | List of all members
AChannel< LocalToGlobalType > Class Template Referenceabstract

#include <AChannel.h>

Inherits ABaseChannel.

Public Member Functions

void AnimateRoot (ATimeValue t, ABaseSystem *system)
 
void Animate (ATimeValue t, AChannel *otherchannel)
 
LocalToGlobalBaseType * GetChannelLocalToGlobalData () override
 
LocalToGlobalBaseType * GetLocalToGlobalBeforeChange () override
 
void ResetLocalToGlobalAfterChange (LocalToGlobalBaseType *tmp_data) override
 
LocalToGlobalBaseType * GetStandData () override
 
void SetStandData (LocalToGlobalBaseType *stddata) override
 
virtual void UpdateTransformParameters ()=0
 
virtual void SetStandStreamData ()=0
 
void UpdateLocalToGlobalData (AChannel *otherchannel)
 

Detailed Description

template<typename LocalToGlobalType>
class AChannel< LocalToGlobalType >

Class used to manage animation on a given group

Member Function Documentation

◆ Animate()

template<typename LocalToGlobalType >
void AChannel< LocalToGlobalType >::Animate ( ATimeValue  t,
AChannel< LocalToGlobalType > *  otherchannel 
)

called by the system to setup animation at time t

◆ AnimateRoot()

template<typename LocalToGlobalType >
void AChannel< LocalToGlobalType >::AnimateRoot ( ATimeValue  t,
ABaseSystem system 
)

called by the system to setup animation at time t for the root channel

Stream mixing

first test if we use the animation local to global data ( else we just have to copy the data given by user )

check if we have to update the local to global data when the animation loop ( else we just restart the animation from the starting PRS data )

◆ GetChannelLocalToGlobalData()

template<typename LocalToGlobalType >
LocalToGlobalBaseType* AChannel< LocalToGlobalType >::GetChannelLocalToGlobalData ( )
inlineoverride

return the channel local to global data

◆ GetLocalToGlobalBeforeChange()

template<typename LocalToGlobalType >
LocalToGlobalBaseType * AChannel< LocalToGlobalType >::GetLocalToGlobalBeforeChange
override

Used to change root channel data when mWeight are changed, or when a animation is add or sub ...


GetLocalToGlobalBeforeChange

◆ GetStandData()

template<typename LocalToGlobalType >
LocalToGlobalBaseType* AChannel< LocalToGlobalType >::GetStandData ( )
inlineoverride

Return a pointer on this AChannel stand data

◆ ResetLocalToGlobalAfterChange()

template<typename LocalToGlobalType >
void AChannel< LocalToGlobalType >::ResetLocalToGlobalAfterChange ( LocalToGlobalBaseType *  tmp_data)
override

After the mWeight change or sub/add animation done, reset the local to global data, so the animation does not "jump"


ResetLocalToGlobalAfterChange

◆ SetStandData()

template<typename LocalToGlobalType >
void AChannel< LocalToGlobalType >::SetStandData ( LocalToGlobalBaseType *  stddata)
inlineoverride

set the stand data for the channel

◆ SetStandStreamData()

template<typename LocalToGlobalType >
virtual void AChannel< LocalToGlobalType >::SetStandStreamData ( )
pure virtual

Set the stand stream data, called by the ASystem InitChanneld method

Implemented in ABoneChannel.

◆ UpdateLocalToGlobalData()

template<typename LocalToGlobalType >
void AChannel< LocalToGlobalType >::UpdateLocalToGlobalData ( AChannel< LocalToGlobalType > *  otherchannel)

Called after the stream mixing is done, set the local to global data given the father channel local to global data

◆ UpdateTransformParameters()

template<typename LocalToGlobalType >
virtual void AChannel< LocalToGlobalType >::UpdateTransformParameters ( )
pure virtual

after the stream mix is done, the parameters for the transformation must be update

Implemented in ABoneChannel.


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