#include <c4d_ctrack.h>

Public Types | |
| typedef BaseList2D | SUPER |
Public Types inherited from BaseList2D | |
| typedef GeListNode | SUPER |
Public Types inherited from GeListNode | |
| typedef PrivateChunk | SUPER |
Protected Attributes | |
| BaseList2D * | _parentObject |
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 | |
| CTrack () | |
| ~CTrack () | |
Friends | |
| class | CKey |
| class | CCurve |
| class | RootCTrack |
| class | BaseList2D |
Alloc/Free | |
| static CTrack * | Alloc (BaseList2D *bl, const DescID &id, const String &tname) |
| static void | Free (CTrack *&bl) |
Navigation | |
| CTrack * | GetNext () |
| CTrack * | GetPred () |
Type | |
| virtual Int32 | GetType () const |
| virtual Int32 | GetDiskType () const |
Description ID | |
| const DescID & | GetDescriptionID () const |
| Bool | SetDescriptionID (BaseList2D *object, const DescID &id) |
Before/After Loop | |
| CLOOP | GetBefore () const |
| void | SetBefore (CLOOP type) |
| CLOOP | GetAfter () const |
| void | SetAfter (CLOOP type) |
Time Track | |
| CTrack * | GetTimeTrack (BaseDocument *doc) |
| void | SetTimeTrack (CTrack *track) |
Bits | |
| virtual void | SetAllBits (Int32 bits) |
| virtual void | SetBit (Int32 mask) |
| virtual void | DelBit (Int32 mask) |
Miscellaneous | |
| void | FlushData () |
| virtual BaseList2D * | GetClone (COPYFLAGS flags, AliasTrans *trans) |
| CCurve * | GetCurve (CCURVE type=CCURVE_CURVE, Bool bCreate=true) |
| Int32 | GetTrackCategory () const |
| BaseList2D * | GetObject () const |
| Float | GetValue (BaseDocument *doc, const BaseTime &time) |
| Bool | RemapInternal (Float64 time, Float64 *ret_time, Int32 *cyc, const BaseTime &t1, const BaseTime &t2, Int32 fps) const |
| Bool | Remap (Float64 time, Float64 *ret_time, Int32 *ret_cycle) const |
| virtual void | Remove () |
Private | |
| virtual Bool | CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans) |
| virtual Bool | HandleSubChunk (HyperFile *hf, Int32 id, Int32 level) |
| virtual Bool | Write (HyperFile *hf) |
| Bool | GetDParameter (const DescID &id, GeData &t_data) |
| Bool | SetDParameter (const DescID &id, const GeData &t_data) |
| Float | GetValue (BaseDocument *doc, const BaseTime &time, Int32 fps, GetValueCache *cache) |
| Bool | FindCurve (CCurve *curveToFind, CCURVE &curveType) |
| Bool | IsSynchronized () const |
| void | SetSynchronized (Bool synch) |
Additional Inherited Members | |
Protected Member Functions inherited from BaseList2D | |
| void | SetID (Int32 id) |
| virtual Int32 | GetInstanceType () const |
Represents an animation track.
Contains curves holding keys.
Example: Creating Align to Spline tag and adding track with 2 keys:
| typedef BaseList2D SUPER |
|
private |
|
private |
|
virtual |
Reimplemented from BaseList2D.
|
static |
Allocates a track. Destroy the allocated track with Free().
| [in] | bl | The object to allocate the track for. |
| [in] | id | The description ID to allocate the track for. For instance a position track is allocated with: CTrack::Alloc(op, DescID(DescLevel(ID_BASEOBJECT_POSITION, DTYPE_VECTOR, 0), DescLevel(VECTOR_X, DTYPE_REAL, 0)), "X")
CTrack::Alloc(op, DescLevel(ID, ID, 0), "Plugin Track")
|
| [in] | tname | The track name. |
|
static |
Destructs tracks allocated with Alloc().
| [in] | bl | The track to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards. |
| CTrack* GetNext | ( | ) |
Gets the next track in the list.
| CTrack* GetPred | ( | ) |
Gets the previous track in the list.
|
virtual |
Gets the type of the track.
Reimplemented from BaseList2D.
|
virtual |
Gets the disk type of the track.
Reimplemented from BaseList2D.
| const DescID& GetDescriptionID | ( | ) | const |
Gets the description ID of the track.
| Bool SetDescriptionID | ( | BaseList2D * | object, |
| const DescID & | id | ||
| ) |
Sets the description ID of the track.
| [in] | object | The object for the track. The caller owns the pointed object. |
| [in] | id | The description ID of the track to set. |
| CLOOP GetBefore | ( | ) | const |
Gets the pre-track loop type.
| void SetBefore | ( | CLOOP | type | ) |
Sets the pre-track loop type.
| [in] | type | The before loop type to set. |
| CLOOP GetAfter | ( | ) | const |
Gets the post-track loop type.
| void SetAfter | ( | CLOOP | type | ) |
Sets the post-track loop type.
| [in] | type | The after loop type to set. |
| CTrack* GetTimeTrack | ( | BaseDocument * | doc | ) |
Gets the time track.
| [in] | doc | The document for the operation. |
| void SetTimeTrack | ( | CTrack * | track | ) |
Sets the time track.
| [in] | track | The time track to set. |
|
virtual |
Sets all of the track's bit flags at once.
| [in] | bits | The bits to set. |
|
virtual |
Sets the track bit flags denoted by mask to true.
| [in] | mask | The bit mask of the flags. |
|
virtual |
Deletes the track bit flags denoted by mask, i.e. set the corresponding bit to false.
| [in] | mask | The bit mask of the flags. |
| void FlushData | ( | ) |
Clears the data.
|
virtual |
Gets a copy of the track.
| [in] | flags | Flags for the clone. |
| [in] | trans | An alias translator for the operation. Can be nullptr. The caller owns the pointed object. |
Reimplemented from BaseList2D.
| CCurve* GetCurve | ( | CCURVE | type = CCURVE_CURVE, |
| Bool | bCreate = true |
||
| ) |
Gets a curve of the track.
| [in] | type | The curve type: CCURVE |
| [in] | bCreate | If true a curve is created if none exists. |
| Int32 GetTrackCategory | ( | ) | const |
Gets the track category.
| BaseList2D* GetObject | ( | ) | const |
Gets the host object of the track.
| Float GetValue | ( | BaseDocument * | doc, |
| const BaseTime & | time | ||
| ) |
Gets the value of the track at time.
| [in] | doc | The document for the track. |
| [in] | time | The time. |
| Bool RemapInternal | ( | Float64 | time, |
| Float64 * | ret_time, | ||
| Int32 * | cyc, | ||
| const BaseTime & | t1, | ||
| const BaseTime & | t2, | ||
| Int32 | fps | ||
| ) | const |
Private.
Remaps time.
| [in] | time | The input time. |
| [out] | ret_time | The output time. |
| [out] | ret_cycle | The output cycle. |
|
virtual |
Removes the track from its list.
Reimplemented from BaseList2D.
|
virtual |
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
Private.
Reimplemented from BaseList2D.
| Float GetValue | ( | BaseDocument * | doc, |
| const BaseTime & | time, | ||
| Int32 | fps, | ||
| GetValueCache * | cache | ||
| ) |
Private.
| Bool IsSynchronized | ( | ) | const |
Private.
| void SetSynchronized | ( | Bool | synch | ) |
Private.
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |