Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

nvsg::LinearInterpolatedAnimation< T > Class Template Reference

An InterpolatedAnimation that performs linear interpolations between the key frames. More...

#include <LinearInterpolatedAnimation.h>

Inheritance diagram for nvsg::LinearInterpolatedAnimation:

Inheritance graph
[legend]
Collaboration diagram for nvsg::LinearInterpolatedAnimation< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const LinearInterpolatedAnimation<
T > * 
clone (void) const
 Create a LinearInterpolatedAnimation by copying from this. More...

virtual const T & operator[] (size_t i) const
 Interpolating random access operator. More...


Static Public Methods

const LinearInterpolatedAnimation<
T > * 
create (void)
 Create a LinearInterpolatedAnimation. More...

const LinearInterpolatedAnimation<
T > * 
createFromBase (const InterpolatedAnimation< T > &rhs)
 Create a LinearInterpolatedAnimation by copying from an InterpolatedAnimation. More...


Protected Methods

NVSG_API LinearInterpolatedAnimation (void)
 Default Constructor. More...

NVSG_API LinearInterpolatedAnimation (const InterpolatedAnimation< T > &rhs)
 Partial Constructor. More...

NVSG_API LinearInterpolatedAnimation (const LinearInterpolatedAnimation &rhs)
 Copy Constructor. More...

virtual ~LinearInterpolatedAnimation (void)
 Protected destructor to prevent explicit creation on stack. More...


Detailed Description

template<typename T>
class nvsg::LinearInterpolatedAnimation< T >

An InterpolatedAnimation that performs linear interpolations between the key frames.

Note:
Currently the only supported types for LinearInterpolatedAnimation are Trafo and VNVector.


Constructor & Destructor Documentation

template<typename T>
NVSG_API nvsg::LinearInterpolatedAnimation< T >::LinearInterpolatedAnimation void    [protected]
 

Default Constructor.

template<typename T>
NVSG_API nvsg::LinearInterpolatedAnimation< T >::LinearInterpolatedAnimation const InterpolatedAnimation< T > &    rhs [protected]
 

Partial Constructor.

template<typename T>
NVSG_API nvsg::LinearInterpolatedAnimation< T >::LinearInterpolatedAnimation const LinearInterpolatedAnimation< T > &    rhs [protected]
 

Copy Constructor.

template<typename T>
nvsg::LinearInterpolatedAnimation< T >::~LinearInterpolatedAnimation void    [inline, protected, virtual]
 

Protected destructor to prevent explicit creation on stack.


Member Function Documentation

template<typename T>
const LinearInterpolatedAnimation< T > * nvsg::LinearInterpolatedAnimation< T >::create void    [inline, static]
 

Create a LinearInterpolatedAnimation.

Returns:
a constant pointer to a LinearInterpolatedAnimation.

template<typename T>
const LinearInterpolatedAnimation< T > * nvsg::LinearInterpolatedAnimation< T >::createFromBase const InterpolatedAnimation< T > &    rhs [inline, static]
 

Create a LinearInterpolatedAnimation by copying from an InterpolatedAnimation.

Returns:
a constant pointer to a LinearInterpolatedAnimation.
Parameters:
rhs  InterpolatedAnimation to copy from

template<typename T>
const LinearInterpolatedAnimation< T > * nvsg::LinearInterpolatedAnimation< T >::clone void    const [inline, virtual]
 

Create a LinearInterpolatedAnimation by copying from this.

Returns:
a constant pointer to a LinearInterpolatedAnimation.

Implements nvsg::Animation< T >.

template<typename T>
const T & nvsg::LinearInterpolatedAnimation< T >::operator[] size_t    i const [inline, virtual]
 

Interpolating random access operator.

If the access frame is not a key frame, the value is linearly interpolated between the neighbouring key frames.

Implements nvsg::Animation< T >.


The documentation for this class was generated from the following file:
Generated on Tue Mar 1 13:20:28 2005 for NVSGSDK by NVIDIA