Kigs Framework
Doc version 0.8
Open source multi purpose Rapid Application Development framework
|
#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) |
Class used to manage animation on a given group
void AChannel< LocalToGlobalType >::Animate | ( | ATimeValue | t, |
AChannel< LocalToGlobalType > * | otherchannel | ||
) |
called by the system to setup animation at time t
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 )
|
inlineoverride |
return the channel local to global data
|
override |
|
inlineoverride |
Return a pointer on this AChannel stand data
|
override |
|
inlineoverride |
set the stand data for the channel
|
pure virtual |
Set the stand stream data, called by the ASystem InitChanneld method
Implemented in ABoneChannel.
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
|
pure virtual |
after the stream mix is done, the parameters for the transformation must be update
Implemented in ABoneChannel.