- Cal3D 0.11 API Reference -

CalCoreMorphKeyframe Class Reference

The core keyframe class. More...

#include <coremorphkeyframe.h>

List of all members.

Public Member Functions

 CalCoreMorphKeyframe ()
 Constructs the core keyframe instance.
virtual ~CalCoreMorphKeyframe ()
 Destructs the core keyframe instance.
bool create ()
 Creates the core keyframe instance.
void destroy ()
 Destroys the core keyframe instance.
float getTime () const
 Returns the time.
void setTime (float time)
 Sets the time.
float getWeight () const
 Returns the weight.
void setWeight (float)
 Sets the weight.

Protected Attributes

float m_time
float m_weight


Detailed Description

The core keyframe class.

Constructor & Destructor Documentation

CalCoreMorphKeyframe::CalCoreMorphKeyframe (  ) 

Constructs the core keyframe instance.

This function is the default constructor of the core keyframe instance.

CalCoreMorphKeyframe::~CalCoreMorphKeyframe (  )  [virtual]

Destructs the core keyframe instance.

This function is the destructor of the core keyframe instance.


Member Function Documentation

bool CalCoreMorphKeyframe::create (  ) 

Creates the core keyframe instance.

This function creates the core keyframe instance.

Returns:
One of the following values:
  • true if successful
  • false if an error happend

void CalCoreMorphKeyframe::destroy (  ) 

Destroys the core keyframe instance.

This function destroys all data stored in the core keyframe instance and frees all allocated memory.

float CalCoreMorphKeyframe::getTime (  )  const

Returns the time.

This function returns the time of the core keyframe instance.

Returns:
The time in seconds.

void CalCoreMorphKeyframe::setTime ( float  time  ) 

Sets the time.

This function sets the time of the core keyframe instance.

Parameters:
rotation The time in seconds.

float CalCoreMorphKeyframe::getWeight (  )  const

Returns the weight.

This function returns the weight of the core keyframe instance.

Returns:
The weight as vector.

void CalCoreMorphKeyframe::setWeight ( float  weight  ) 

Sets the weight.

This function sets the weight of the core keyframe instance.

Parameters:
weight float


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

Generated by The Cal3D Team with Doxygen 1.5.6