HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ts_EvalCache< T, true > Class Template Referencefinal

#include <evalCache.h>

+ Inheritance diagram for Ts_EvalCache< T, true >:

Public Types

typedef std::shared_ptr
< Ts_EvalCache< T, true > > 
TypedSharedPtr
 
- Public Types inherited from Ts_UntypedEvalCache
typedef std::shared_ptr
< Ts_UntypedEvalCache
SharedPtr
 

Public Member Functions

 Ts_EvalCache (const Ts_EvalCache< T, true > *rhs)
 
 Ts_EvalCache (const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 
 Ts_EvalCache (const TsKeyFrame &kf1, const TsKeyFrame &kf2)
 
T TypedEval (TsTime) const
 
T TypedEvalDerivative (TsTime) const
 
VtValue Eval (TsTime t) const override
 
VtValue EvalDerivative (TsTime t) const override
 
const Ts_Bezier< T > * GetBezier () const
 

Static Public Member Functions

static TypedSharedPtr New (const TsKeyFrame &kf1, const TsKeyFrame &kf2)
 Construct and return a new eval cache for the given keyframes. More...
 
- Static Public Member Functions inherited from Ts_UntypedEvalCache
static SharedPtr New (const TsKeyFrame &kf1, const TsKeyFrame &kf2)
 Construct and return a new eval cache for the given keyframes. More...
 
static VtValue EvalUncached (const TsKeyFrame &kf1, const TsKeyFrame &kf2, TsTime time)
 
static VtValue EvalDerivativeUncached (const TsKeyFrame &kf1, const TsKeyFrame &kf2, TsTime time)
 

Additional Inherited Members

- Protected Member Functions inherited from Ts_UntypedEvalCache
 ~Ts_UntypedEvalCache ()=default
 
- Static Protected Member Functions inherited from Ts_UntypedEvalCache
template<typename T >
static void _SetupBezierGeometry (TsTime *timePoints, T *valuePoints, const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 
template<typename T >
static TsTime _GetBezierPoint2Time (const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 
template<typename T >
static TsTime _GetBezierPoint3Time (const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 
template<typename T >
static T _GetBezierPoint2Value (const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 
template<typename T >
static T _GetBezierPoint3Value (const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 
template<typename T >
static T _GetBezierPoint4Value (const Ts_TypedData< T > *kf1, const Ts_TypedData< T > *kf2)
 

Detailed Description

template<typename T>
class Ts_EvalCache< T, true >

Definition at line 251 of file evalCache.h.

Member Typedef Documentation

template<typename T >
typedef std::shared_ptr<Ts_EvalCache<T, true> > Ts_EvalCache< T, true >::TypedSharedPtr

Definition at line 264 of file evalCache.h.

Constructor & Destructor Documentation

template<typename T >
Ts_EvalCache< T, true >::Ts_EvalCache ( const Ts_EvalCache< T, true > *  rhs)

Definition at line 467 of file evalCache.h.

template<typename T >
Ts_EvalCache< T, true >::Ts_EvalCache ( const Ts_TypedData< T > *  kf1,
const Ts_TypedData< T > *  kf2 
)

Definition at line 475 of file evalCache.h.

template<typename T >
Ts_EvalCache< T, true >::Ts_EvalCache ( const TsKeyFrame kf1,
const TsKeyFrame kf2 
)

Definition at line 482 of file evalCache.h.

Member Function Documentation

template<typename T >
VtValue Ts_EvalCache< T, true >::Eval ( TsTime  t) const
overridevirtual

Implements Ts_UntypedEvalCache.

Definition at line 517 of file evalCache.h.

template<typename T >
VtValue Ts_EvalCache< T, true >::EvalDerivative ( TsTime  t) const
overridevirtual

Implements Ts_UntypedEvalCache.

Definition at line 523 of file evalCache.h.

template<typename T >
const Ts_Bezier< T > * Ts_EvalCache< T, true >::GetBezier ( ) const

Definition at line 565 of file evalCache.h.

template<typename T >
std::shared_ptr< Ts_EvalCache< T, true > > Ts_EvalCache< T, true >::New ( const TsKeyFrame kf1,
const TsKeyFrame kf2 
)
static

Construct and return a new eval cache for the given keyframes.

Definition at line 572 of file evalCache.h.

template<typename T >
T Ts_EvalCache< T, true >::TypedEval ( TsTime  time) const

Definition at line 529 of file evalCache.h.

template<typename T >
T Ts_EvalCache< T, true >::TypedEvalDerivative ( TsTime  time) const

Definition at line 540 of file evalCache.h.


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