NumericKeyFrame Class Reference

A keyframe for a NumericAnimation. More...

#include <KeyFrame.hh>

Inherits KeyFrame.

Public Member Functions

 NumericKeyFrame (double _time)
 Constructor. More...
 
virtual ~NumericKeyFrame ()
 Destructor. More...
 
double GetTime () const
 Get the time of the keyframe. More...
 
const double & GetValue () const
 Get the value of the keyframe. More...
 
void SetValue (const double &_value)
 Set the value of the keyframe. More...
 

Protected Attributes

double time
 time of key frame More...
 
double value
 numeric value More...
 

Detailed Description

A keyframe for a NumericAnimation.

Constructor & Destructor Documentation

NumericKeyFrame ( double  _time)

Constructor.

Parameters
[in]_timeTime of the keyframe
virtual ~NumericKeyFrame ( )
virtual

Destructor.

Member Function Documentation

double GetTime ( ) const
inherited

Get the time of the keyframe.

Returns
the time
const double& GetValue ( ) const

Get the value of the keyframe.

Returns
the value of the keyframe
void SetValue ( const double &  _value)

Set the value of the keyframe.

Parameters
[in]_valueThe new value

Member Data Documentation

double time
protectedinherited

time of key frame

double value
protected

numeric value


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