Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HKeyframeChannel Class Reference

The HKeyframeChannel class is the base class for all channel related keyframe types. More...

#include <HBhvUtility.h>

List of all members.

Public Member Functions

virtual HKeyframeClone ()
 HKeyframeChannel ()
virtual void Interpolate (HKeyframeChannel **posarray, int keyframe, float fraction, int length, HPoint &res)

Public Attributes

HANIChannelType m_channeltype
HPoint m_cp

Detailed Description

The HKeyframeChannel class is the base class for all channel related keyframe types.

Channel keyframes are used for positional values as well as colour and scale.


Constructor & Destructor Documentation

HKeyframeChannel::HKeyframeChannel ( ) [inline]

Constructs an HKeyframeChannel object.

References HANIChannel.


Member Function Documentation

virtual HKeyframe* HKeyframeChannel::Clone ( ) [inline, virtual]

This method makes an exact copy of the current HKeyframeChannel and returns a pointer to the newly created HKeyframeChannel object.

Returns:
A pointer to the newly created HKeyframeChannel object.

Reimplemented from HKeyframe.

Reimplemented in HKeyframeChannelFollowPath, HKeyframeChannelCurve, HKeyframeChannelDiscrete, and HKeyframeChannelLinear.

virtual void HKeyframeChannel::Interpolate ( HKeyframeChannel **  posarray,
int  keyframe,
float  fraction,
int  length,
HPoint res 
) [inline, virtual]

Calculates the interpolation between this keyframe and the next keyframe.

Parameters:
posarrayThe array of HKeyframeChannel objects.
keyframeThey current keyframe number.
fractionThe fraction from this keyframe to next.
lengthThe number of entries in the keyframe array.
resReturns the interpolation result.

Reimplemented in HKeyframeChannelFollowPath, HKeyframeChannelCurve, HKeyframeChannelDiscrete, and HKeyframeChannelLinear.


Member Data Documentation


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