kfbxfilterset.h
Go to the documentation of this file.00001
00004 #ifndef _FBXSDK_FILTER_SET_H_
00005 #define _FBXSDK_FILTER_SET_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 <kaydaradef.h>
00043 #ifndef KFBX_DLL
00044 #define KFBX_DLL K_DLLIMPORT
00045 #endif
00046
00047 #include <kaydara.h>
00048
00049 #include <kcharacterdef/kcharacterdef_forward.h>
00050 #ifndef MB_FBXSDK
00051 #include <kcharacterdef/kcharacterdef_nsuse.h>
00052 #endif
00053
00054 #include <fbxfilesdk_nsbegin.h>
00055
00065 class KFBX_DLL KFbxFilterSet
00066 {
00067
00068 public:
00069
00076 typedef enum
00077 {
00078 eNoMode,
00079 eOffOn,
00080 eOffAutoUser,
00081 eAutoUser
00082 } EParameterModeType;
00083
00088 typedef enum
00089 {
00090 eScalar,
00091 eVector
00092 } EParameterValueType;
00093
00101 typedef enum
00102 {
00103 eNoUnit,
00104 ePercent,
00105 eSecond,
00106 eCentimeter,
00107 eDegree
00108 } EParameterUnit;
00109
00112 void Reset();
00113
00122 void SetParameterMode(int pParameterIndex, int pParameterMode);
00123
00131 int GetParameterMode(int pParameterIndex);
00132
00140 void SetParameterValue(int pParameterIndex, double pValue, int pIndex = 0);
00141
00149 double GetParameterValue(int pParameterIndex, int pIndex = 0);
00150
00151
00155 static int GetParameterCount();
00156
00161 static char* GetParameterName(int pParameterIndex);
00162
00168 static int GetParameterIndex(char* pParameterName);
00169
00174 static EParameterModeType GetParameterModeType(int pParameterIndex);
00175
00183 static int GetParameterDefaultMode(int pParameterIndex);
00184
00189 static EParameterValueType GetParameterValueType(int pParameterIndex);
00190
00195 static EParameterUnit GetParameterUnit(int pParameterIndex);
00196
00201 static double GetParameterDefaultValue(int pParameterIndex);
00202
00207 static double GetParameterMinValue(int pParameterIndex);
00208
00213 static double GetParameterMaxValue(int pParameterIndex);
00214
00216
00217
00218
00219
00220
00221
00223
00224 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00225
00226 private:
00227
00228 KFbxFilterSet();
00229 ~KFbxFilterSet();
00230
00231 KFilterSetBase* mFilterSetBase;
00232
00233 friend class KFbxCharacter;
00234
00235 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00236
00237 };
00238
00239 #include <fbxfilesdk_nsend.h>
00240
00241 #endif // #ifndef _FBXSDK_FILTER_SET_H_
00242
00243