Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class 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< T >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual const LinearInterpolatedAnimation<
T > * 
clone (void) const
 Create a LinearInterpolatedAnimation by copying from this.
virtual const T & operator[] (size_t i) const
 Interpolating random access operator.

Static Public Member Functions

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

Protected Member Functions

NVSG_API LinearInterpolatedAnimation (void)
 Default Constructor.
NVSG_API LinearInterpolatedAnimation (const InterpolatedAnimation< T > &rhs)
 Partial Constructor.
NVSG_API LinearInterpolatedAnimation (const LinearInterpolatedAnimation &rhs)
 Copy Constructor.
virtual ~LinearInterpolatedAnimation (void)
 Protected destructor to prevent explicit creation on stack.

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:49 2005 for NVSGSDK by NVIDIA