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()

NumericKeyFrame ( double  _time)

Constructor.

Parameters
[in]_timeTime of the keyframe

§ ~NumericKeyFrame()

virtual ~NumericKeyFrame ( )
virtual

Destructor.

Member Function Documentation

§ GetTime()

double GetTime ( ) const
inherited

Get the time of the keyframe.

Returns
the time

§ GetValue()

const double& GetValue ( ) const

Get the value of the keyframe.

Returns
the value of the keyframe

§ SetValue()

void SetValue ( const double &  _value)

Set the value of the keyframe.

Parameters
[in]_valueThe new value

Member Data Documentation

§ time

double time
protectedinherited

time of key frame

§ value

double value
protected

numeric value


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