- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# fbxtakeinfo.h

Go to the documentation of this file.

    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_TAKEINFO_H_
    00014 #define _FBXSDK_SCENE_TAKEINFO_H_
    00015
    00016 #include <fbxsdk/fbxsdk_def.h>
    00017
    00018 #include <fbxsdk/core/base/fbxarray.h>
    00019 #include <fbxsdk/core/base/fbxstring.h>
    00020 #include <fbxsdk/core/base/fbxtime.h>
    00021
    00022 #include <fbxsdk/fbxsdk_nsbegin.h>
    00023
    00024 class FbxThumbnail;
    00025
    00028 struct FbxTakeLayerInfo
    00029 {
    00030     FbxString   mName;
    00031     int         mId;
    00032 };
    00033
    00056 class FBXSDK_DLL FbxTakeInfo
    00057 {
    00058 public:
    00059
    00062     FbxTakeInfo();
    00063
    00066     virtual ~FbxTakeInfo();
    00067
    00071     FbxTakeInfo(const FbxTakeInfo& pTakeInfo);
    00072
    00076     FbxTakeInfo& operator=(const FbxTakeInfo& pTakeInfo);
    00077
    00079     FbxString mName;
    00080
    00085     FbxString mImportName;
    00086
    00088     FbxString mDescription;
    00089
    00093     bool mSelect;
    00094
    00096     FbxTimeSpan mLocalTimeSpan;
    00097
    00099     FbxTimeSpan mReferenceTimeSpan;
    00100
    00106     FbxTime mImportOffset;
    00107
    00112     enum EImportOffsetType
    00113     {
    00114         eAbsolute,
    00115         eRelative
    00116     };
    00117
    00125     EImportOffsetType mImportOffsetType;
    00126
    00130     FbxThumbnail* GetTakeThumbnail();
    00131
    00135     void SetTakeThumbnail(FbxThumbnail* pTakeThumbnail);
    00136
    00140     void CopyLayers(const FbxTakeInfo& pTakeInfo);
    00141
    00143     FbxArray<FbxTakeLayerInfo*> mLayerInfoList;
    00144
    00146     int                         mCurrentLayer;
    00147
    00148 protected:
    00150     FbxThumbnail* mTakeThumbnail;
    00151 };
    00152
    00153 #include <fbxsdk/fbxsdk_nsend.h>
    00154
    00155 #endif /* _FBXSDK_SCENE_TAKEINFO_H_ */