GlsAnimation Library  1.0.6
Provides classes and functions to support animating GL Studio objects programmatically or with script files
Public Member Functions | List of all members
disti::GlsColorInterpolationAdapter Struct Reference

#include <gls_keyframe.h>

Inheritance diagram for disti::GlsColorInterpolationAdapter:
disti::GlsKeyframeInterpolator< glsColor >

Public Member Functions

 GlsColorInterpolationAdapter ()
 Constructor which creates a default interpolator.
 
 GlsColorInterpolationAdapter (GlsKeyframeInterpolator< double > *const interpolator)
 
 GlsColorInterpolationAdapter (GlsKeyframeInterpolator< double >::PtrConst interpolator)
 
glsColor operator() (const Key &key, const Key &lowerKey, const Key &upperKey, const glsColor &lowerValue, const glsColor &upperValue) const
 Overrides GlsKeyframeInterpolator.
 
- Public Member Functions inherited from disti::GlsKeyframeInterpolator< glsColor >
virtual ~GlsKeyframeInterpolator ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from disti::GlsKeyframeInterpolator< glsColor >
typedef stdortr1::shared_ptr< GlsKeyframeInterpolatorPtr
 Alias for easier reading.
 
typedef stdortr1::shared_ptr< const GlsKeyframeInterpolatorPtrConst
 Alias for easier reading.
 
typedef GlsKeyframeCurveBase::Key Key
 Alias for easier reading.
 
typedef glsColor Value
 Alias for easier reading.
 
typedef Detail::FloatSelector< Value >::Type Float
 Alias for easier reading.
 

Detailed Description

An adapter to make an existing double interpolator work for interpolating each color component independently.

Constructor & Destructor Documentation

disti::GlsColorInterpolationAdapter::GlsColorInterpolationAdapter ( GlsKeyframeInterpolator< double > *const  interpolator)
inlineexplicit

Constructor

Parameters
interpolatorThe interpolator. This adapter takes ownership of the interpolator.
disti::GlsColorInterpolationAdapter::GlsColorInterpolationAdapter ( GlsKeyframeInterpolator< double >::PtrConst  interpolator)
inlineexplicit

Constructor

Parameters
interpolatorThe interpolator.
Precondition
interpolator != 0

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