- Main Page
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# fbxvertexcachedeformer.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_GEOMETRY_VERTEX_CACHE_DEFORMER_H_
    00014 #define _FBXSDK_SCENE_GEOMETRY_VERTEX_CACHE_DEFORMER_H_
    00015
    00016 #include <fbxsdk/fbxsdk_def.h>
    00017
    00018 #include <fbxsdk/scene/geometry/fbxdeformer.h>
    00019 #include <fbxsdk/scene/geometry/fbxcache.h>
    00020
    00021 #include <fbxsdk/fbxsdk_nsbegin.h>
    00022
    00027 class FBXSDK_DLL FbxVertexCacheDeformer : public FbxDeformer
    00028 {
    00029     FBXSDK_OBJECT_DECLARE(FbxVertexCacheDeformer,FbxDeformer);
    00030
    00031 public:
    00032
    00036     void SetCache( FbxCache* pCache );
    00037
    00041     FbxCache* GetCache() const;
    00042
    00046     void SetCacheChannel( const char* pName );
    00047
    00051     FbxString GetCacheChannel() const;
    00052
    00056     void SetActive( bool pValue );
    00057
    00061     bool IsActive() const;
    00062
    00066     virtual EDeformerType GetDeformerType() const { return FbxDeformer::eVertexCache; }
    00067
    00068 protected:
    00073         FbxPropertyT<FbxBool>       Active;
    00074         FbxPropertyT<FbxString> Channel;
    00075         FbxPropertyT<FbxString>    CacheSet;
    00077
    00078
    00080 //
    00081 //  WARNING!
    00082 //
    00083 //  Anything beyond these lines may not be documented accurately and is
    00084 //  subject to change without notice.
    00085 //
    00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00088 public:
    00093     void SetCacheSetName(const char*  pCacheSetName);
    00094
    00099     FbxString GetCacheSetName() const;
    00100
    00101     virtual FbxObject& Copy(const FbxObject& pObject);
    00102
    00103     static const char* sChannelPropertyName;
    00104     static const char* sActivePropertyName;
    00105     static const char* sCacheSetPropertyName;
    00106
    00107 protected:
    00108     FbxVertexCacheDeformer(FbxManager& pManager, char const* pName);
    00109
    00110     virtual bool ConstructProperties(bool pForceSet);
    00111
    00112     virtual FbxStringList   GetTypeFlags() const;
    00113
    00114 private:
    00115     void ClearCacheConnections();
    00116
    00117 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00118
    00119 };
    00120
    00121 #include <fbxsdk/fbxsdk_nsend.h>
    00122
    00123 #endif /* _FBXSDK_SCENE_GEOMETRY_VERTEX_CACHE_DEFORMER_H_ */