- Main Page
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# fbxanimstack.h

Go to the documentation of this file.

    00001 /****************************************************************************************
    00002
    00003    Copyright (C) 2012 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 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00154
    00155     //  WARNING!
    00156     //    Anything beyond these lines may not be documented accurately and is
    00157     //     subject to change without notice.
    00159     virtual FbxObject& Copy(const FbxObject& pObject);
    00160
    00161 protected:
    00162     FbxThumbnail* mTakeThumbnail;
    00163     FbxAnimStack(FbxManager& pManager, char const* pName, FbxError* pError=0);
    00164
    00165     virtual bool ConstructProperties(bool pForceSet);
    00166     virtual FbxAnimStack* GetAnimStack();
    00167
    00168 private:
    00169
    00170     mutable FbxError*                             mError;
    00171
    00172     friend class FbxObject;
    00173 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00174 };
    00175
    00176 #include <fbxsdk/fbxsdk_nsend.h>
    00177
    00178 #endif /* _FBXSDK_SCENE_ANIMATION_STACK_H_ */