HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ts_Data Class Referenceabstract

Holds the data for an TsKeyFrame. More...

#include <data.h>

+ Inheritance diagram for Ts_Data:

Public Member Functions

virtual ~Ts_Data ()=default
 
virtual void CloneInto (Ts_PolymorphicDataHolder *holder) const =0
 
virtual std::shared_ptr
< Ts_UntypedEvalCache
CreateEvalCache (Ts_Data const *kf2) const =0
 
virtual VtValue EvalUncached (Ts_Data const *kf2, TsTime time) const =0
 
virtual VtValue EvalDerivativeUncached (Ts_Data const *kf2, TsTime time) const =0
 
virtual bool operator== (const Ts_Data &) const =0
 
TsTime GetTime () const
 
void SetTime (TsTime newTime)
 
virtual TsKnotType GetKnotType () const =0
 
virtual void SetKnotType (TsKnotType knotType)=0
 
virtual bool CanSetKnotType (TsKnotType knotType, std::string *reason) const =0
 
virtual VtValue GetValue () const =0
 
virtual void SetValue (VtValue val)=0
 
virtual VtValue GetValueDerivative () const =0
 
virtual bool GetIsDualValued () const =0
 
virtual void SetIsDualValued (bool isDual)=0
 
virtual VtValue GetLeftValue () const =0
 
virtual VtValue GetLeftValueDerivative () const =0
 
virtual void SetLeftValue (VtValue)=0
 
virtual VtValue GetZero () const =0
 
virtual bool ValueCanBeInterpolated () const =0
 
virtual bool ValueCanBeExtrapolated () const =0
 
virtual VtValue GetSlope (const Ts_Data &) const =0
 
virtual VtValue Extrapolate (const VtValue &value, TsTime dt, const VtValue &slope) const =0
 
virtual bool HasTangents () const =0
 
virtual bool ValueTypeSupportsTangents () const =0
 
virtual VtValue GetLeftTangentSlope () const =0
 
virtual VtValue GetRightTangentSlope () const =0
 
virtual TsTime GetLeftTangentLength () const =0
 
virtual TsTime GetRightTangentLength () const =0
 
virtual void SetLeftTangentSlope (VtValue)=0
 
virtual void SetRightTangentSlope (VtValue)=0
 
virtual void SetLeftTangentLength (TsTime)=0
 
virtual void SetRightTangentLength (TsTime)=0
 
virtual bool GetTangentSymmetryBroken () const =0
 
virtual void SetTangentSymmetryBroken (bool broken)=0
 
virtual void ResetTangentSymmetryBroken ()=0
 

Detailed Description

Holds the data for an TsKeyFrame.

Ts_Data is an interface for holding TsKeyFrame data.

Definition at line 50 of file data.h.

Constructor & Destructor Documentation

virtual Ts_Data::~Ts_Data ( )
virtualdefault

Member Function Documentation

virtual bool Ts_Data::CanSetKnotType ( TsKnotType  knotType,
std::string reason 
) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::CloneInto ( Ts_PolymorphicDataHolder holder) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual std::shared_ptr<Ts_UntypedEvalCache> Ts_Data::CreateEvalCache ( Ts_Data const *  kf2) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::EvalDerivativeUncached ( Ts_Data const *  kf2,
TsTime  time 
) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::EvalUncached ( Ts_Data const *  kf2,
TsTime  time 
) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::Extrapolate ( const VtValue value,
TsTime  dt,
const VtValue slope 
) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual bool Ts_Data::GetIsDualValued ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual TsKnotType Ts_Data::GetKnotType ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual TsTime Ts_Data::GetLeftTangentLength ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetLeftTangentSlope ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetLeftValue ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetLeftValueDerivative ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual TsTime Ts_Data::GetRightTangentLength ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetRightTangentSlope ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetSlope ( const Ts_Data ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual bool Ts_Data::GetTangentSymmetryBroken ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

TsTime Ts_Data::GetTime ( ) const
inline

Definition at line 75 of file data.h.

virtual VtValue Ts_Data::GetValue ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetValueDerivative ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual VtValue Ts_Data::GetZero ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual bool Ts_Data::HasTangents ( ) const
pure virtual

True if the data type supports tangents, and the knot type is one that shows tangents in the UI. True only for Bezier. Linear and held knots return false, even though their tangents can be set.

Implemented in Ts_TypedData< T >.

virtual bool Ts_Data::operator== ( const Ts_Data ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::ResetTangentSymmetryBroken ( )
pure virtual
virtual void Ts_Data::SetIsDualValued ( bool  isDual)
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetKnotType ( TsKnotType  knotType)
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetLeftTangentLength ( TsTime  )
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetLeftTangentSlope ( VtValue  )
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetLeftValue ( VtValue  )
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetRightTangentLength ( TsTime  )
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetRightTangentSlope ( VtValue  )
pure virtual

Implemented in Ts_TypedData< T >.

virtual void Ts_Data::SetTangentSymmetryBroken ( bool  broken)
pure virtual

Implemented in Ts_TypedData< T >.

void Ts_Data::SetTime ( TsTime  newTime)
inline

Definition at line 78 of file data.h.

virtual void Ts_Data::SetValue ( VtValue  val)
pure virtual

Implemented in Ts_TypedData< T >.

virtual bool Ts_Data::ValueCanBeExtrapolated ( ) const
pure virtual

Implemented in Ts_TypedData< T >.

virtual bool Ts_Data::ValueCanBeInterpolated ( ) const
pure virtual
virtual bool Ts_Data::ValueTypeSupportsTangents ( ) const
pure virtual

If true, implies the tangents can be written. For historical reasons, linear and held knots support tangents. This means that these types return true for ValueTypeSupportsTangents() but false for HasTangents().

Implemented in Ts_TypedData< T >.


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