Go to the
documentation of this file.
00001
00004 #ifndef FBXFILESDK_KFBXPLUGINS_KFBXFILETEXTURE_H
00005 #define FBXFILESDK_KFBXPLUGINS_KFBXFILETEXTURE_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 #include <fbxfilesdk/fbxfilesdk_def.h>
00042
00043
00044 #include <fbxfilesdk/kfbxplugins/kfbxtexture.h>
00045
00046
00047 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00048
00061 class KFBX_DLL KFbxFileTexture : public KFbxTexture
00062 {
00063 KFBXOBJECT_DECLARE(KFbxFileTexture,KFbxTexture);
00064
00065 public:
00070
00071
00072
00076 KFbxTypedProperty<fbxBool1> UseMaterial;
00077
00081 KFbxTypedProperty<fbxBool1> UseMipMap;
00082
00086 void Reset();
00087
00093 bool SetFileName(char const* pName);
00094
00100 bool SetRelativeFileName(char const* pName);
00101
00106 char const* GetFileName () const;
00107
00112 char const* GetRelativeFileName() const;
00113
00116 typedef enum
00117 {
00119 eMODEL_MATERIAL,
00121 eDEFAULT_MATERIAL
00122 } EMaterialUse;
00123
00127 void SetMaterialUse(EMaterialUse pMaterialUse);
00128
00132 EMaterialUse GetMaterialUse() const;
00133
00134
00136
00137
00139
00140
00141
00142
00143
00144
00146 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00147 virtual KFbxObject& Copy(const KFbxObject& pObject);
00148
00149 bool operator==(KFbxFileTexture const& pTexture) const;
00150
00151 KString& GetMediaName();
00152 void SetMediaName(char const* pMediaName);
00153
00154 protected:
00155 KFbxFileTexture(KFbxSdkManager& pManager, char const* pName);
00156
00157 virtual void Construct(const KFbxFileTexture* pFrom);
00158 virtual bool ConstructProperties(bool pForceSet);
00159
00160 void Init();
00161 void SyncVideoFileName(char const* pFileName);
00162 void SyncVideoRelativeFileName(char const* pFileName);
00163
00164 KString mFileName;
00165 KString mRelativeFileName;
00166 KString mMediaName;
00167
00168 friend class KFbxLayerContainer;
00169
00170 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00171
00172 };
00173
00174
00175
00176 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00177
00178 #endif // FBXFILESDK_KFBXPLUGINS_KFBXFILETEXTURE_H
00179