HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Keyframe Class Reference

#include <HOM_Keyframe.h>

+ Inheritance diagram for HOM_Keyframe:

Public Member Functions

 HOM_Keyframe ()
 
 HOM_Keyframe (double value)
 
 HOM_Keyframe (double value, double time)
 
 HOM_Keyframe (const HOM_Keyframe &keyframe)
 
 ~HOM_Keyframe () override
 
bool operator== (HOM_PtrOrNull< HOM_BaseKeyframe > keyframe) override
 
int __hash__ () override
 
std::string __repr__ () override
 
HOM_EnumValueevaluatedType () override
 
void setValue (double value)
 
double value ()
 
bool isValueSet ()
 
void setInValue (double in_value)
 
void unsetInValue ()
 
double inValue ()
 
bool isValueTied ()
 
bool isValueUsed ()
 
void useValue (bool use)
 
void setSlope (double slope)
 
double slope ()
 
bool isSlopeSet ()
 
bool isSlopeUsed ()
 
void useSlope (bool use)
 
bool isSlopeAuto ()
 
void setSlopeAuto (bool on)
 
void setInSlope (double in_slope)
 
void unsetInSlope ()
 
double inSlope ()
 
bool isSlopeTied ()
 
bool isInSlopeAuto ()
 
void setInSlopeAuto (bool on)
 
void setAccel (double accel)
 
double accel ()
 
bool isAccelSet ()
 
bool isAccelUsed ()
 
void useAccel (bool use)
 
void setInAccel (double in_accel)
 
void unsetInAccel ()
 
double inAccel ()
 
bool isAccelTied ()
 
void interpretAccelAsRatio (bool on)
 
bool isAccelInterpretedAsRatio ()
 
- Public Member Functions inherited from HOM_BaseKeyframe
 HOM_BaseKeyframe ()
 
 HOM_BaseKeyframe (const HOM_BaseKeyframe &base_keyframe)
 
virtual ~HOM_BaseKeyframe ()
 
virtual bool operator!= (HOM_PtrOrNull< HOM_BaseKeyframe > base_keyframe)
 
void setExpression (const std::string &expression, HOM_EnumValue *language=NULL)
 
std::string expression ()
 
bool isExpressionSet ()
 
HOM_EnumValueexpressionLanguage ()
 
bool isExpressionLanguageSet ()
 
void setTime (double time)
 
bool isTimeSet ()
 
double time ()
 
void setFrame (double frame)
 
double frame ()
 
virtual std::string asCode (bool brief=false, bool save_keys_in_frames=false, const char *function_name=NULL)=0
 

Additional Inherited Members

- Protected Attributes inherited from HOM_BaseKeyframe
double myTime
 
bool myIsTimeSet
 
std::string myExpression
 
HOM_EnumValuemyExpressionLanguage
 
bool myIsExpressionSet
 

Detailed Description

Definition at line 21 of file HOM_Keyframe.h.

Constructor & Destructor Documentation

HOM_Keyframe::HOM_Keyframe ( )
HOM_Keyframe::HOM_Keyframe ( double  value)
HOM_Keyframe::HOM_Keyframe ( double  value,
double  time 
)
HOM_Keyframe::HOM_Keyframe ( const HOM_Keyframe keyframe)
HOM_Keyframe::~HOM_Keyframe ( )
override

Member Function Documentation

int HOM_Keyframe::__hash__ ( )
overridevirtual

Reimplemented from HOM_BaseKeyframe.

std::string HOM_Keyframe::__repr__ ( )
overridevirtual

Implements HOM_BaseKeyframe.

double HOM_Keyframe::accel ( )
HOM_EnumValue& HOM_Keyframe::evaluatedType ( )
inlineoverridevirtual

Implements HOM_BaseKeyframe.

Definition at line 51 of file HOM_Keyframe.h.

double HOM_Keyframe::inAccel ( )
double HOM_Keyframe::inSlope ( )
void HOM_Keyframe::interpretAccelAsRatio ( bool  on)
double HOM_Keyframe::inValue ( )
bool HOM_Keyframe::isAccelInterpretedAsRatio ( )
bool HOM_Keyframe::isAccelSet ( )
bool HOM_Keyframe::isAccelTied ( )
bool HOM_Keyframe::isAccelUsed ( )
bool HOM_Keyframe::isInSlopeAuto ( )
bool HOM_Keyframe::isSlopeAuto ( )
bool HOM_Keyframe::isSlopeSet ( )
bool HOM_Keyframe::isSlopeTied ( )
bool HOM_Keyframe::isSlopeUsed ( )
bool HOM_Keyframe::isValueSet ( )
bool HOM_Keyframe::isValueTied ( )
bool HOM_Keyframe::isValueUsed ( )
bool HOM_Keyframe::operator== ( HOM_PtrOrNull< HOM_BaseKeyframe keyframe)
overridevirtual

Reimplemented from HOM_BaseKeyframe.

void HOM_Keyframe::setAccel ( double  accel)
void HOM_Keyframe::setInAccel ( double  in_accel)
void HOM_Keyframe::setInSlope ( double  in_slope)
void HOM_Keyframe::setInSlopeAuto ( bool  on)
void HOM_Keyframe::setInValue ( double  in_value)
void HOM_Keyframe::setSlope ( double  slope)
void HOM_Keyframe::setSlopeAuto ( bool  on)
void HOM_Keyframe::setValue ( double  value)
double HOM_Keyframe::slope ( )
void HOM_Keyframe::unsetInAccel ( )
void HOM_Keyframe::unsetInSlope ( )
void HOM_Keyframe::unsetInValue ( )
void HOM_Keyframe::useAccel ( bool  use)
void HOM_Keyframe::useSlope ( bool  use)
void HOM_Keyframe::useValue ( bool  use)
double HOM_Keyframe::value ( )

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