KFbxTakeNode Class Reference

#include <kfbxtakenode.h>

List of all members.


Detailed Description

A take node contains channels of animation.

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 87 of file kfbxtakenode.h.

Error Management

enum  EError {
  eNO_CURVE_FOUND,
  eERROR_COUNT
}
 Error identifiers. More...
KErrorGetError ()
 Retrieve error object.
EError GetLastErrorID ()
 Get last error code.
char * GetLastErrorString ()
 Get last error string.

Take Node creation/destruction.

 KFbxTakeNode (char *pName="Default")
 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.

Transform Channels Access

These channels are only accessible when a take node is part of a node.

KFCurveNodeGetKFCurveNode ()
 Get pointer to root KFCurveNode object.
KFCurveGetTranslationX ()
 Get X translation channel.
KFCurveGetTranslationY ()
 Get Y translation channel.
KFCurveGetTranslationZ ()
 Get Z translation channel.
KFCurveGetEulerRotationX ()
 Get X rotation channel.
KFCurveGetEulerRotationY ()
 Get Y rotation channel.
KFCurveGetEulerRotationZ ()
 Get Z rotation channel.
KFCurveGetScaleX ()
 Get X scale channel.
KFCurveGetScaleY ()
 Get Y scale channel.
KFCurveGetScaleZ ()
 Get Z scale channel.
KFCurveGetVisibility ()
 Get visibility channel.

Light Channels Access

These channels are only accessible when a take node is part of a node with an associated light node attribute.

KFCurveGetColorR ()
 Get red color channel.
KFCurveGetColorG ()
 Get green color channel.
KFCurveGetColorB ()
 Get blue color channel.
KFCurveGetLightIntensity ()
 Get light intensity channel.
KFCurveGetLightConeAngle ()
 Get cone angle channel for a spot light.
KFCurveGetLightFog ()
 Get fog intensity channel.

Camera Channels Access

These channels are only accessible when a take node is part of a node with an associated camera node attribute.

KFCurveGetCameraFieldOfView ()
 Get field of view channel.
KFCurveGetCameraFieldOfViewX ()
 Get field of view in X channel.
KFCurveGetCameraFieldOfViewY ()
 Get field of view in Y channel.
KFCurveGetCameraFocalLength ()
 Get focal length channel.
KFCurveGetCameraOpticalCenterX ()
 Get the horizontal optical center channel.
KFCurveGetCameraOpticalCenterY ()
 Get the vertical optical center channel.
KFCurveGetCameraRoll ()
 Get camera roll channel in degrees.
KFCurveGetCameraTurnTable ()
 Get camera turn table channel in degrees.
KFCurveGetBackgroundColorR ()
 Get camera background red color channel.
KFCurveGetBackgroundColorG ()
 Get camera background green color channel.
KFCurveGetBackgroundColorB ()
 Get camera background blue color channel.

Camera Switcher Channels Access

These channels are only accessible when a take node is part of a node with an associated camera switcher node attribute.

KFCurveGetCameraIndex ()
 Get camera index channel.

Geometry Channels Access

These channels are only accessible when a take node is part of a node with an associated geometry node attribute.

KFCurveGetShapeChannel (KFbxGeometry *pGeometry, int pShapeIndex)
 Get a shape channel.

Marker Channels Access

These channels are only accessible when a take node is part of a node with an associated marker node attribute.

KFCurveGetOcclusion ()
 Get marker occlusion channel.
KFCurveGetIKReachTranslation ()
 Get marker IK reach translation channel.
KFCurveGetIKReachRotation ()
 Get marker IK reach rotation channel.

Texture Channels Access

These channels are only accessible when a take node is part of a texture.

KFCurveGetTextureTranslationX ()
 Get texture X translation channel.
KFCurve const * GetTextureTranslationX () const
 Get texture X translation channel.
KFCurveGetTextureTranslationY ()
 Get texture Y translation channel.
KFCurve const * GetTextureTranslationY () const
 Get texture Y translation channel.
KFCurveGetTextureTranslationZ ()
 Get texture Z translation channel.
KFCurve const * GetTextureTranslationZ () const
 Get texture Z translation channel.
KFCurveGetTextureEulerRotationX ()
 Get texture X rotation channel.
KFCurve const * GetTextureEulerRotationX () const
 Get texture X rotation channel.
KFCurveGetTextureEulerRotationY ()
 Get texture Y rotation channel.
KFCurve const * GetTextureEulerRotationY () const
 Get texture Y rotation channel.
KFCurveGetTextureEulerRotationZ ()
 Get texture Z rotation channel.
KFCurve const * GetTextureEulerRotationZ () const
 Get texture Z rotation channel.
KFCurveGetTextureScaleX ()
 Get texture X scale channel.
KFCurve const * GetTextureScaleX () const
 Get texture X scale channel.
KFCurveGetTextureScaleY ()
 Get texture Y scale channel.
KFCurve const * GetTextureScaleY () const
 Get texture Y scale channel.
KFCurveGetTextureScaleZ ()
 Get texture Z scale channel.
KFCurve const * GetTextureScaleZ () const
 Get texture Z scale channel.
KFCurveGetTextureAlpha ()
 Get texture alpha channel.

Material Channels Access

These channels are only accessible when a take node is part of a material.

KFCurveGetMaterialEmissiveColorR ()
 Get material emissive red color channel.
KFCurveGetMaterialEmissiveColorG ()
 Get material emissive green color channel.
KFCurveGetMaterialEmissiveColorB ()
 Get material emissive blue color channel.
KFCurveGetMaterialAmbientColorR ()
 Get material ambient red color channel.
KFCurveGetMaterialAmbientColorG ()
 Get material ambient green color channel.
KFCurveGetMaterialAmbientColorB ()
 Get material ambient blue color channel.
KFCurveGetMaterialDiffuseColorR ()
 Get material diffuse red color channel.
KFCurveGetMaterialDiffuseColorG ()
 Get material diffuse green color channel.
KFCurveGetMaterialDiffuseColorB ()
 Get material diffuse blue color channel.
KFCurveGetMaterialSpecularColorR ()
 Get material specular red color channel.
KFCurveGetMaterialSpecularColorG ()
 Get material specular green color channel.
KFCurveGetMaterialSpecularColorB ()
 Get material specular blue color channel.
KFCurveGetMaterialOpacity ()
 Get material opacity channel.
KFCurveGetMaterialReflectivity ()
 Get material reflectivity channel.
KFCurveGetMaterialShininess ()
 Get material shininess channel.

Constraint Channels Access

These channels are only accessible when a take node is part of a constraint.

KFCurveGetConstraintObjectWeight (KFbxObject *pObject)
 Get Weight channel.
KFCurveGetPositionConstraintOffsetX ()
 Get X position offset channel.
KFCurveGetPositionConstraintOffsetY ()
 Get Y position offset channel.
KFCurveGetPositionConstraintOffsetZ ()
 Get Z position offset channel.
KFCurveGetRotationConstraintOffsetX ()
 Get X rotation offset channel.
KFCurveGetRotationConstraintOffsetY ()
 Get Y rotation offset channel.
KFCurveGetRotationConstraintOffsetZ ()
 Get Z rotation offset channel.
KFCurveGetScaleConstraintOffsetX ()
 Get X scale offset channel.
KFCurveGetScaleConstraintOffsetY ()
 Get Y scale offset channel.
KFCurveGetScaleConstraintOffsetZ ()
 Get Z scale offset channel.
KFCurveGetParentConstraintRotationOffsetX (KFbxObject *pObject)
 Get X rotation offset channel.
KFCurveGetParentConstraintRotationOffsetY (KFbxObject *pObject)
 Get Y rotation offset channel.
KFCurveGetParentConstraintRotationOffsetZ (KFbxObject *pObject)
 Get Z rotation offset channel.
KFCurveGetParentConstraintTranslationOffsetX (KFbxObject *pObject)
 Get X translation offset channel.
KFCurveGetParentConstraintTranslationOffsetY (KFbxObject *pObject)
 Get Y translation offset channel.
KFCurveGetParentConstraintTranslationOffsetZ (KFbxObject *pObject)
 Get Z translation offset channel.
KFCurveGetAimConstraintOffsetX ()
 Get X aim offset channel.
KFCurveGetAimConstraintOffsetY ()
 Get Y aim offset channel.
KFCurveGetAimConstraintOffsetZ ()
 Get Z aim offset channel.
KFCurveGetAimConstraintWorldUpVectorX ()
 Get X aim world up vector channel.
KFCurveGetAimConstraintWorldUpVectorY ()
 Get Y aim world up vector channel.
KFCurveGetAimConstraintWorldUpVectorZ ()
 Get Z aim world up vector channel.
KFCurveGetAimConstraintAimVectorX ()
 Get X aim vector channel.
KFCurveGetAimConstraintAimVectorY ()
 Get Y aim vector channel.
KFCurveGetAimConstraintAimVectorZ ()
 Get Z aim vector channel.
KFCurveGetAimConstraintUpVectorX ()
 Get X aim up vector channel.
KFCurveGetAimConstraintUpVectorY ()
 Get Y aim up vector channel.
KFCurveGetAimConstraintUpVectorZ ()
 Get Z aim up vector channel.
KFCurveGetSCIKConstraintWeight ()
 Get single chain ik weight channel.
KFCurveGetSCIKConstraintTwist ()
 Get single chain ik twist channel.
KFCurveGetSCIKConstraintPoleVectorX ()
 Get single chain ik X pole vector channel.
KFCurveGetSCIKConstraintPoleVectorY ()
 Get single chain ik Y pole vector channel.
KFCurveGetSCIKConstraintPoleVectorZ ()
 Get single chain ik Z pole vector channel.

Property Access

KFCurveGetPropertyAnimation (KFbxProperty *pProperty, kUInt pComponentIndex)
 Get a user property's component channel.

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.


Member Enumeration Documentation

enum EError

Error identifiers.

Enumerator:
eNO_CURVE_FOUND  The requested FCurve was not found.

eERROR_COUNT  Mark the end of the EError enum.

Definition at line 882 of file kfbxtakenode.h.


Constructor & Destructor Documentation

KFbxTakeNode ( char *  pName = "Default"  ) 

Constructor.

Parameters:
pName The name of the take this node is part of.

KFbxTakeNode ( KFbxTakeNode pTakeNode  ) 

Copy constructor.

Parameters:
pTakeNode A node from which data is cloned.

~KFbxTakeNode (  ) 

Destructor.


Member Function Documentation

void SetName ( char *  pName  ) 

Set take node name.

Parameters:
pName The name of the take this node is part of.

char* GetName (  ) 

Get take node name.

Returns:
Return the name of the take this node is part of.

KFCurveNode* GetKFCurveNode (  ) 

Get pointer to root KFCurveNode object.

Remarks:
All the channels of a take node are accessible by browsing the KFCurveNode tree under this object.

KFCurve* GetTranslationX (  ) 

Get X translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTranslationY (  ) 

Get Y translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTranslationZ (  ) 

Get Z translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetEulerRotationX (  ) 

Get X rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetEulerRotationY (  ) 

Get Y rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetEulerRotationZ (  ) 

Get Z rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetScaleX (  ) 

Get X scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetScaleY (  ) 

Get Y scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetScaleZ (  ) 

Get Z scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetVisibility (  ) 

Get visibility channel.

A node is visible if this parameter is higher than 0. It is invisible otherwise.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetColorR (  ) 

Get red color channel.

This parameter has a scale from 0 to 1, 1 meaning full intensity.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetColorG (  ) 

Get green color channel.

This parameter has a scale from 0 to 1, 1 meaning full intensity.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetColorB (  ) 

Get blue color channel.

This parameter has a scale from 0 to 1, 1 meaning full intensity.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetLightIntensity (  ) 

Get light intensity channel.

This parameter has a scale from 0 to 200, 200 meaning full intensity. This parameter's default value is 100.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetLightConeAngle (  ) 

Get cone angle channel for a spot light.

This parameter has a scale from 0 to 160 degrees. This parameter has no effect if the light type is not set to eSPOT. Its default value is 45 degrees.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetLightFog (  ) 

Get fog intensity channel.

This parameter has a scale from 0 to 200, 200 meaning full fog opacity. This parameter has no effect if the light type is not set to eSPOT. Its default value is 50.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraFieldOfView (  ) 

Get field of view channel.

When the camera aperture mode is set to eHORIZONTAL, this parameter sets the horizontal field of view in degrees and the vertical field of view is adjusted accordingly. When the camera aperture mode is set to eVERTICAL, this parameter sets the vertical field of view in degrees and the horizontal field of view is adjusted accordingly. This parameter has no effect if the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL. Its default value is 25.115.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraFieldOfViewX (  ) 

Get field of view in X channel.

When the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL, this parameter gets the horizontal field of view in degrees. This parameter has no effect otherwise. Its default value is 40.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraFieldOfViewY (  ) 

Get field of view in Y channel.

When the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL, this parameter gets the vertical field of view in degrees. This parameter has no effect otherwise. Its default value is 40.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraFocalLength (  ) 

Get focal length channel.

This channel is only valid if the field of view is not animated.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraOpticalCenterX (  ) 

Get the horizontal optical center channel.

This parameter gets the optical center horizontal offset when the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL. Its default value is 0.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraOpticalCenterY (  ) 

Get the vertical optical center channel.

This parameter gets the optical center vertical offset when the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL. Its default value is 0.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraRoll (  ) 

Get camera roll channel in degrees.

This parameter's default value is 0 degrees.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraTurnTable (  ) 

Get camera turn table channel in degrees.

This parameter's default value is 0 degrees.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetBackgroundColorR (  ) 

Get camera background red color channel.

This parameter has a scale from 0 to 1, 1 meaning full intensity.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetBackgroundColorG (  ) 

Get camera background green color channel.

This parameter has a scale from 0 to 1, 1 meaning full intensity.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetBackgroundColorB (  ) 

Get camera background blue color channel.

This parameter has a scale from 0 to 1, 1 meaning full intensity.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetCameraIndex (  ) 

Get camera index channel.

This parameter has an integer scale from 1 to the number of cameras in the scene. This parameter's default value is 1.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetShapeChannel ( KFbxGeometry pGeometry,
int  pShapeIndex 
)

Get a shape channel.

This parameter has a scale from 0 to 100, 100 meaning full shape deformation. This parameter's default value is 0.

Parameters:
pGeometry Pointer to geometry, required because meshes, nurbs and patches may have different naming schemes for shape channels.
pShapeIndex Shape index.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetOcclusion (  ) 

Get marker occlusion channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

This channel is only accessible if the associated marker node attribute is of type KFbxMarker::eOPTICAL.

KFCurve* GetIKReachTranslation (  ) 

Get marker IK reach translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

This channel is only accessible if the associated marker node attribute is of type KFbxMarker::eIK_EFFECTOR.

KFCurve* GetIKReachRotation (  ) 

Get marker IK reach rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

This channel is only accessible if the associated marker node attribute is of type KFbxMarker::eIK_EFFECTOR.

KFCurve* GetTextureTranslationX (  ) 

Get texture X translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureTranslationX (  )  const

Get texture X translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureTranslationY (  ) 

Get texture Y translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureTranslationY (  )  const

Get texture Y translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureTranslationZ (  ) 

Get texture Z translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureTranslationZ (  )  const

Get texture Z translation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureEulerRotationX (  ) 

Get texture X rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureEulerRotationX (  )  const

Get texture X rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureEulerRotationY (  ) 

Get texture Y rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureEulerRotationY (  )  const

Get texture Y rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureEulerRotationZ (  ) 

Get texture Z rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureEulerRotationZ (  )  const

Get texture Z rotation channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureScaleX (  ) 

Get texture X scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureScaleX (  )  const

Get texture X scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureScaleY (  ) 

Get texture Y scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureScaleY (  )  const

Get texture Y scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureScaleZ (  ) 

Get texture Z scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve const* GetTextureScaleZ (  )  const

Get texture Z scale channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetTextureAlpha (  ) 

Get texture alpha channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialEmissiveColorR (  ) 

Get material emissive red color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialEmissiveColorG (  ) 

Get material emissive green color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialEmissiveColorB (  ) 

Get material emissive blue color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialAmbientColorR (  ) 

Get material ambient red color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialAmbientColorG (  ) 

Get material ambient green color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialAmbientColorB (  ) 

Get material ambient blue color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialDiffuseColorR (  ) 

Get material diffuse red color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialDiffuseColorG (  ) 

Get material diffuse green color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialDiffuseColorB (  ) 

Get material diffuse blue color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialSpecularColorR (  ) 

Get material specular red color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialSpecularColorG (  ) 

Get material specular green color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialSpecularColorB (  ) 

Get material specular blue color channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialOpacity (  ) 

Get material opacity channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialReflectivity (  ) 

Get material reflectivity channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetMaterialShininess (  ) 

Get material shininess channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetConstraintObjectWeight ( KFbxObject pObject  ) 

Get Weight channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetPositionConstraintOffsetX (  ) 

Get X position offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetPositionConstraintOffsetY (  ) 

Get Y position offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetPositionConstraintOffsetZ (  ) 

Get Z position offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetRotationConstraintOffsetX (  ) 

Get X rotation offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetRotationConstraintOffsetY (  ) 

Get Y rotation offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetRotationConstraintOffsetZ (  ) 

Get Z rotation offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetScaleConstraintOffsetX (  ) 

Get X scale offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetScaleConstraintOffsetY (  ) 

Get Y scale offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetScaleConstraintOffsetZ (  ) 

Get Z scale offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetParentConstraintRotationOffsetX ( KFbxObject pObject  ) 

Get X rotation offset channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetParentConstraintRotationOffsetY ( KFbxObject pObject  ) 

Get Y rotation offset channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetParentConstraintRotationOffsetZ ( KFbxObject pObject  ) 

Get Z rotation offset channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetParentConstraintTranslationOffsetX ( KFbxObject pObject  ) 

Get X translation offset channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetParentConstraintTranslationOffsetY ( KFbxObject pObject  ) 

Get Y translation offset channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetParentConstraintTranslationOffsetZ ( KFbxObject pObject  ) 

Get Z translation offset channel.

Parameters:
Object that we want the KFCurve.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintOffsetX (  ) 

Get X aim offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintOffsetY (  ) 

Get Y aim offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintOffsetZ (  ) 

Get Z aim offset channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintWorldUpVectorX (  ) 

Get X aim world up vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintWorldUpVectorY (  ) 

Get Y aim world up vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintWorldUpVectorZ (  ) 

Get Z aim world up vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintAimVectorX (  ) 

Get X aim vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintAimVectorY (  ) 

Get Y aim vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintAimVectorZ (  ) 

Get Z aim vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintUpVectorX (  ) 

Get X aim up vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintUpVectorY (  ) 

Get Y aim up vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetAimConstraintUpVectorZ (  ) 

Get Z aim up vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetSCIKConstraintWeight (  ) 

Get single chain ik weight channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetSCIKConstraintTwist (  ) 

Get single chain ik twist channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetSCIKConstraintPoleVectorX (  ) 

Get single chain ik X pole vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetSCIKConstraintPoleVectorY (  ) 

Get single chain ik Y pole vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetSCIKConstraintPoleVectorZ (  ) 

Get single chain ik Z pole vector channel.

Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KFCurve* GetPropertyAnimation ( KFbxProperty pProperty,
kUInt  pComponentIndex 
)

Get a user property's component channel.

Parameters:
pProperty Specify the property we are interested in.
pComponentIndex The index of the channel.
Returns:
Animation curve or NULL if an error occurred.
Remarks:
In the last case KFbxTakeNode::GetLastErrorID() returns eNO_CURVE_FOUND.

KError& GetError (  ) 

Retrieve error object.

Returns:
Reference to the take node's error object.

EError GetLastErrorID (  ) 

Get last error code.

Returns:
Last error code.

char* GetLastErrorString (  ) 

Get last error string.

Returns:
Textual description of the last error.

bool GetAnimationInterval ( KTime pStart,
KTime pStop 
)

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.

Parameters:
pStart Reference to receive start time.
pStop Reference to receive end time.
Returns:
true on success, false otherwise.

bool AddRotationToTranslation ( KFbxVector4  pRotation  ) 

Rotates the translation animation at a given angle.

Parameters:
pRotation vector containing the rotation.
Returns:
True if everything went ok.