#include <kfbxtakenode.h>
An object derived from class KFbxTakeNodeContainer contains multiple take nodes to hold animation data.
In the case of class KFbxNode, a take node contains all animation curves necessary to define the animation for a node and its attribute. By having multiple take nodes, a node might be animated differently. A scene description held in a node hierarchy can be animated differently using different animation take nodes.
This object can be used to access the different animation curves that define a take node. Some channels are only accessible once the proper node attribute has been associated with an object of type KFbxNode.
Definition at line 77 of file kfbxtakenode.h.
| Error Management | |
| enum | EError { eNO_CURVE_FOUND, eERROR_COUNT } | 
| Error identifiers. More... | |
| KError & | GetError () | 
| Retrieve error object. | |
| EError | GetLastErrorID () const | 
| Get last error code. | |
| const char * | GetLastErrorString () const | 
| Get last error string. | |
| Take Node creation/destruction. | |
| KFbxTakeNode (char *pName=KFBXTAKENODE_DEFAULT_NAME) | |
| Constructor. | |
| KFbxTakeNode (KFbxTakeNode &pTakeNode) | |
| Copy constructor. | |
| ~KFbxTakeNode () | |
| Destructor. | |
| Take Node name management. | |
| void | SetName (char *pName) | 
| Set take node name. | |
| char * | GetName () | 
| Get take node name. | |
| Utility functions used by some plugins etc. | |
| bool | GetAnimationInterval (KTime &pStart, KTime &pStop) | 
| Find out start and end time of the
animation. | |
| bool | AddRotationToTranslation (KFbxVector4 pRotation) | 
| Rotates the translation animation at a given
angle. | |
| Public Member Functions | |
| KFCurveNode * | GetKFCurveNode () | 
| Get pointer to root 
KFCurveNode object. | |
| enum EError | 
Error identifiers.
| eNO_CURVE_FOUND | The requested FCurve was not found. | 
| eERROR_COUNT | Mark the end of the EError enum. | 
Definition at line 135 of file kfbxtakenode.h.
| KFbxTakeNode | ( | char * | pName = KFBXTAKENODE_DEFAULT_NAME | ) | 
Constructor.
| pName | The name of the take this node is part of. | 
| KFbxTakeNode | ( | KFbxTakeNode & | pTakeNode | ) | 
Copy constructor.
| pTakeNode | A node from which data is cloned. | 
| ~KFbxTakeNode | ( | ) | 
Destructor.
| void SetName | ( | char * | pName | ) | 
Set take node name.
| pName | The name of the take this node is part of. | 
| char* GetName | ( | ) | 
Get take node name.
| KFCurveNode* GetKFCurveNode | ( | ) | 
Get pointer to root KFCurveNode object.
| KError& GetError | ( | ) | 
Retrieve error object.
| EError GetLastErrorID | ( | ) | const | 
Get last error code.
| const char* GetLastErrorString | ( | ) | const | 
Get last error string.
Find out start and end time of the animation.
This function retrieves the including time span for all the FCurve's time span of this take node.
| pStart | Reference to receive start time. | |
| pStop | Reference to receive end time. | 
true on success, false
otherwise.| bool AddRotationToTranslation | ( | KFbxVector4 | pRotation | ) | 
Rotates the translation animation at a given angle.
| pRotation | vector containing the rotation. | 
True if everything went ok.