#include <c4d_ckey.h>

Public Types | |
| typedef BaseList2D | SUPER | 
  Public Types inherited from BaseList2D | |
| typedef GeListNode | SUPER | 
  Public Types inherited from GeListNode | |
| typedef PrivateChunk | SUPER | 
Protected Attributes | |
| CCurve * | parentCurve | 
  Protected Attributes inherited from BaseList2D | |
| Int32 | m_id | 
| RootShader | mp_rootshader | 
| RootShader | mp_rootshader_hidden | 
| RootShader | root_shader_repository | 
| Int32 | l_bitfeld | 
| RootCTrack | mp_rootctrack | 
| RootPluginNode | root_override | 
| NotifyList * | notify_events | 
| DescIdStore * | keyframestore | 
| DescIdStore * | propstore | 
| BaseContainer | m_bc | 
| NodeData * | m_data | 
  Protected Attributes inherited from GeListNode | |
| GeAliasGoal | m_xgoal | 
| UInt32 | m_bits [4] | 
| RootList2D * | t_rootlist_parent | 
| RootList2D * | m_children | 
| BaseDocument * | parent_doc | 
| void * | unknownData | 
| Int | unknownDataSize | 
| Int32 | unknownDataLevel | 
| Int32 | pluginID | 
Private Member Functions | |
| CKey () | |
| ~CKey () | |
| const CKey & | operator= (const CKey &key) | 
Friends | |
| class | CCurve | 
| class | CTrack | 
| class | GeTempDynArray< CKey > | 
| Bool | _ConvertOldToNewAnim (BaseDocument *doc, BaseList2D *op) | 
Alloc/Free | |
| static CKey * | Alloc () | 
| static void | Free (CKey *&key) | 
Get/Set Time | |
| BaseTime | GetTime () const | 
| void | SetTime (CCurve *seq, const BaseTime &t) | 
| BaseTime | GetTimeLeft () const | 
| void | SetTimeLeft (CCurve *seq, const BaseTime &t) | 
| BaseTime | GetTimeRight () const | 
| void | SetTimeRight (CCurve *seq, const BaseTime &t) | 
Get/Set Value | |
| Float | GetValue () const | 
| void | SetValue (CCurve *seq, Float v) | 
| const GeData & | GetGeData () const | 
| void | SetGeData (CCurve *seq, const GeData &data) | 
| Float | GetValueLeft () const | 
| void | SetValueLeft (CCurve *seq, Float v) | 
| Float | GetValueRight () const | 
| void | SetValueRight (CCurve *seq, Float v) | 
Interpolation | |
| CINTERPOLATION | GetInterpolation () const | 
| void | SetInterpolation (CCurve *seq, CINTERPOLATION inter) | 
| ROTATIONINTERPOLATION | GetQuatInterpolation () const | 
| void | SetQuatInterpolation (CCurve *seq, ROTATIONINTERPOLATION inter) | 
Copy/Clone | |
| Bool | CopyDataTo (CCurve *destseq, CKey *dest, AliasTrans *trans) const | 
| virtual BaseList2D * | GetClone (COPYFLAGS flags, AliasTrans *trn) | 
Miscellaneous | |
| CTrack * | GetTrack () | 
| CCurve * | GetCurve () | 
| void | FlushData () | 
| virtual Bool | ChangeNBit (NBIT bit, NBITCONTROL bitmode) | 
| Bool | Identical (CKey *k2) | 
AutoTangent Mode | |
| CAUTOMODE | GetAutomaticTangentMode () const | 
| void | SetAutomaticTangentMode (CCurve *seq, CAUTOMODE autoMode) | 
Tangent Helpers | |
| Bool | SetTimeLeftAdjustValue (CCurve *seq, const BaseTime &t) | 
| Bool | SetTimeRightAdjustValue (CCurve *seq, const BaseTime &t) | 
Private | |
| virtual Bool | GetDParameter (const DescID &id, GeData &t_data) | 
| virtual Bool | SetDParameter (const DescID &id, const GeData &t_data) | 
| virtual Bool | CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans) | 
| virtual Bool | HandleSubChunk (HyperFile *hf, Int32 id, Int32 level) | 
| virtual Bool | Write (HyperFile *hf) | 
| void | SetKeyPreset (CCurve *seq, CKEYPRESET preset) | 
| CKEYPRESET | GetKeyPreset () | 
| void | UnifyTangent () | 
| void | SetQuatInterpolationI (CCurve *seq, ROTATIONINTERPOLATION inter, Bool synchronize=true) | 
Additional Inherited Members | |
  Protected Member Functions inherited from BaseList2D | |
| void | SetID (Int32 id) | 
| virtual Int32 | GetInstanceType () const | 
| typedef BaseList2D SUPER | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  virtual | 
Reimplemented from BaseList2D.
      
  | 
  static | 
Allocates a key. Destroy the allocated key with Free().
      
  | 
  static | 
Destructs keys allocated with Alloc().
| [in,out] | key | The key to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. | 
| BaseTime GetTime | ( | ) | const | 
Gets the time of the key.
Sets the time of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | t | The time to set. | 
| BaseTime GetTimeLeft | ( | ) | const | 
Gets the left time of the key.
Sets the left time of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | t | The left time to set. | 
| BaseTime GetTimeRight | ( | ) | const | 
Gets the right time of the key.
Sets the right time of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | t | The right time to set. | 
| Float GetValue | ( | ) | const | 
Gets the value of the key.
ptag/htag contain the point/tangent information. Sets the value of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | v | The value to set. | 
| const GeData& GetGeData | ( | ) | const | 
Gets the data of the key.
Sets the data of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | data | The new key data. | 
| Float GetValueLeft | ( | ) | const | 
Gets the left value of the key.
Sets the left value of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | v | The left value to set. | 
| Float GetValueRight | ( | ) | const | 
Gets the right value of the key.
Sets the right value of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | v | The right value to set. | 
| CINTERPOLATION GetInterpolation | ( | ) | const | 
Gets the interpolation type of the key.
| void SetInterpolation | ( | CCurve * | seq, | 
| CINTERPOLATION | inter | ||
| ) | 
Sets the interpolation type of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | inter | The interpolation type to set: CINTERPOLATION | 
| ROTATIONINTERPOLATION GetQuatInterpolation | ( | ) | const | 
Gets the quaternion interpolation type of the key.
| void SetQuatInterpolation | ( | CCurve * | seq, | 
| ROTATIONINTERPOLATION | inter | ||
| ) | 
Sets the quaternion interpolation type of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | inter | The interpolation type to set: ROTATIONINTERPOLATION | 
| Bool CopyDataTo | ( | CCurve * | destseq, | 
| CKey * | dest, | ||
| AliasTrans * | trans | ||
| ) | const | 
Copies the key data to dest.
| [in] | destseq | The curve the destination key belongs to. | 
| [in] | dest | The destination key. | 
| [in] | trans | An alias translator for the operation. Can be nullptr. The caller owns the pointed object. | 
      
  | 
  virtual | 
Gets a copy of the key.
| [in] | flags | Flags for the clone. | 
| [in] | trn | An alias translator for the operation. Can be nullptr. The caller owns the pointed object. | 
Reimplemented from BaseList2D.
| CTrack* GetTrack | ( | ) | 
Gets the track of the key.
| CCurve* GetCurve | ( | ) | 
Gets the curve of the key.
| void FlushData | ( | ) | 
Flushes the key: empties and resets data.
      
  | 
  virtual | 
Sets the key node bit.
| [in] | bit | The node bit to set. | 
| [in] | bitmode | The bit mode. | 
Reimplemented from GeListNode.
Checks if the key is identical to k2.
| [in] | k2 | The key to compare against. The caller owns the pointed key. | 
| CAUTOMODE GetAutomaticTangentMode | ( | ) | const | 
Sets the AutoTangent mode of the key.
| [in] | seq | The curve the key belongs to. | 
| [in] | autoMode | The AutoTangent mode to set: CAUTOMODE | 
Sets Time Left and adjusts Value so the angle stays the same.
| [in] | seq | The curve the key belongs to. | 
| [in] | t | The new left time to set. | 
FLT_MIN and Value is not Zero (angle cannot stay the same). Sets Time Right and adjusts Value so the angle stays the same.
| [in] | seq | The curve the key belongs to. | 
| [in] | t | The new right time to set. | 
FLT_MIN and Value is not Zero (angle cannot stay the same). Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
      
  | 
  virtual | 
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
| void SetKeyPreset | ( | CCurve * | seq, | 
| CKEYPRESET | preset | ||
| ) | 
Private.
| CKEYPRESET GetKeyPreset | ( | ) | 
Private.
| void UnifyTangent | ( | ) | 
Private.
| void SetQuatInterpolationI | ( | CCurve * | seq, | 
| ROTATIONINTERPOLATION | inter, | ||
| Bool | synchronize = true  | 
        ||
| ) | 
Private.
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  protected | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |