00001
00004 #ifndef FBXFILESDK_KFBXPLUGINS_KFBXVERTEXCACHEDEFORMER_H
00005 #define FBXFILESDK_KFBXPLUGINS_KFBXVERTEXCACHEDEFORMER_H
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #include <fbxfilesdk/components/kbaselib/kaydaradef_h.h>
00043 #include <fbxfilesdk/components/kbaselib/kaydara.h>
00044 #include <fbxfilesdk/kfbxplugins/kfbxdeformer.h>
00045 #include <fbxfilesdk/kfbxplugins/kfbxcache.h>
00046
00047 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00048
00053 class KFBX_DLL KFbxVertexCacheDeformer : public KFbxDeformer
00054 {
00055 KFBXOBJECT_DECLARE(KFbxVertexCacheDeformer,KFbxDeformer);
00056
00057 public:
00058
00062 void SetCache( KFbxCache* pCache );
00063
00067 KFbxCache* GetCache() const;
00068
00072 void SetCacheChannel( const char* pName );
00073
00077 KString GetCacheChannel() const;
00078
00082 void SetActive( bool pValue );
00083
00087 bool IsActive() const;
00088
00092 virtual EDeformerType GetDeformerType() const { return KFbxDeformer::eVERTEX_CACHE; }
00093
00097 KFbxVertexCacheDeformer& operator = (KFbxVertexCacheDeformer const& pDeformer);
00098
00099 protected:
00104 KFbxTypedProperty<fbxBool1> Active;
00105 KFbxTypedProperty<fbxString> Channel;
00107
00108
00110
00111
00112
00113
00114
00115
00117
00118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00119
00120 public:
00121 static const char* ChannelPropertyName;
00122 static const char* ActivePropertyName;
00123
00124
00125
00126 virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00127
00128 protected:
00129
00130 KFbxVertexCacheDeformer(KFbxSdkManager& pManager, char const* pName);
00131 virtual ~KFbxVertexCacheDeformer();
00132
00133 virtual bool ConstructProperties(bool pForceSet);
00134 virtual void Destruct(bool pRecursive, bool pDependents);
00135
00136 virtual KString GetTypeName() const;
00137 virtual KStringList GetTypeFlags() const;
00138
00139 private:
00140 void ClearCacheConnections();
00141
00142 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00143
00144 };
00145
00146 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00147
00148 #endif // FBXFILESDK_KFBXPLUGINS_KFBXVERTEXCACHEDEFORMER_H
00149