00001 /**************************************************************************************** 00002 00003 Copyright (C) 2013 Autodesk, Inc. 00004 All rights reserved. 00005 00006 Use of this software is subject to the terms of the Autodesk license agreement 00007 provided at the time of installation or download, or which otherwise accompanies 00008 this software in either electronic or hard copy form. 00009 00010 ****************************************************************************************/ 00011 00013 #ifndef _FBXSDK_SCENE_ANIMATION_STACK_H_ 00014 #define _FBXSDK_SCENE_ANIMATION_STACK_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/core/base/fbxtime.h> 00019 #include <fbxsdk/scene/fbxcollection.h> 00020 00021 #include <fbxsdk/fbxsdk_nsbegin.h> 00022 00023 // these symbols are defined for backward compatibility 00024 #define FBXSDK_TAKENODE_DEFAULT_NAME "Default" 00025 #define FBXSDK_ROOTCURVE_DEFAULT_NAME "Defaults" 00026 00027 class FbxTakeInfo; 00028 class FbxThumbnail; 00029 class FbxAnimEvaluator; 00030 00037 class FBXSDK_DLL FbxAnimStack : public FbxCollection 00038 { 00039 FBXSDK_OBJECT_DECLARE(FbxAnimStack, FbxCollection); 00040 00041 public: 00043 // 00044 // Properties 00045 // 00047 00053 FbxPropertyT<FbxString> Description; 00054 00063 FbxPropertyT<FbxTime> LocalStart; 00064 00073 FbxPropertyT<FbxTime> LocalStop; 00074 00081 FbxPropertyT<FbxTime> ReferenceStart; 00082 00089 FbxPropertyT<FbxTime> ReferenceStop; 00090 00094 void Reset(const FbxTakeInfo* pTakeInfo = NULL); 00095 00104 FbxTimeSpan GetLocalTimeSpan() const; 00105 00109 void SetLocalTimeSpan(FbxTimeSpan& pTimeSpan); 00110 00114 FbxTimeSpan GetReferenceTimeSpan() const; 00115 00119 void SetReferenceTimeSpan(FbxTimeSpan& pTimeSpan); 00120 00126 FbxThumbnail* GetTakeThumbnail(); 00127 00133 void SetTakeThumbnail(FbxThumbnail* pTakeThumbnail); 00134 00149 bool BakeLayers(FbxAnimEvaluator* pEvaluator, FbxTime pStart, FbxTime pStop, FbxTime pPeriod); 00150 00152 00153 /***************************************************************************************************************************** 00154 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00155 *****************************************************************************************************************************/ 00156 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00157 00158 protected: 00159 virtual void Construct(const FbxAnimStack* pFrom); 00160 virtual void ConstructProperties(bool pForceSet); 00161 00162 virtual FbxAnimStack* GetAnimStack(); 00163 00164 FbxPropertyT<FbxReference> TakeThumbnail; 00165 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00166 }; 00167 00168 #include <fbxsdk/fbxsdk_nsend.h> 00169 00170 #endif /* _FBXSDK_SCENE_ANIMATION_STACK_H_ */