00001 #ifndef _FBXSDK_KFBXPROPERTYDEF_H_
00002 #define _FBXSDK_KFBXPROPERTYDEF_H_
00003
00004
00005
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 #include <kaydaradef.h>
00040 #ifndef KFBX_DLL
00041 #define KFBX_DLL K_DLLIMPORT
00042 #endif
00043
00044 #include <fbxfilesdk_nsbegin.h>
00045
00046 typedef int kFbxPropertyId;
00047 const kFbxPropertyId kFbxProperyIdNull = -1;
00048 const kFbxPropertyId kFbxProperyIdRoot = 0;
00049
00050 enum KFbxInheritType { eFbxOverride=0,eFbxInherit=1,eFbxDeleted=2 } ;
00051
00052 enum kFbxConnectionType
00053 {
00054 eFbxConnectionNone = 0,
00055
00056
00057 eFbxConnectionSystem = 1 << 0,
00058 eFbxConnectionUser = 1 << 1,
00059 eFbxConnectionSystemOrUser = eFbxConnectionUser | eFbxConnectionSystem,
00060
00061
00062 eFbxConnectionReference = 1 << 2,
00063 eFbxConnectionContains = 1 << 3,
00064 eFbxConnectionData = 1 << 4,
00065 eFbxConnectionLinkType = eFbxConnectionReference | eFbxConnectionContains | eFbxConnectionData,
00066
00067 eFbxConnectionDefault = eFbxConnectionUser | eFbxConnectionReference,
00068
00069
00070 eFbxConnectionUnidirectional = 1 << 7
00071 };
00072
00073 class FbxPropertyFlags
00074 {
00075 public:
00076 enum eFbxPropertyFlags
00077 {
00078 eNO_FLAG = 0,
00079 eANIMATABLE = 1,
00080 eUSER = 1<<1,
00081 eTEMPORARY = 1<<2,
00082 ePUBLISHED = 1<<3,
00083 ePSTATIC = 1<<4,
00084
00085 eNOT_SAVABLE = 1<<5,
00086 eHIDDEN = 1<<6,
00087
00088 eUI_DISABLED = 1<<7,
00089 eUI_GROUP = 1<<8,
00090 eUI_BOOLGROUP = 1<<9,
00091 eUI_EXPANDED = 1<<10,
00092 eUI_NOCAPTION = 1<<11,
00093 eUI_PANEL = 1<<12
00094
00095 };
00096
00097
00098
00099 inline static int GetFlagCount() { return 14; }
00100
00101 inline static eFbxPropertyFlags AllFlags()
00102 {
00103 eFbxPropertyFlags lAllFlags = eNO_FLAG;
00104
00105 for( int i = 0; i < GetFlagCount()-1; ++i )
00106 lAllFlags = (eFbxPropertyFlags) ( (lAllFlags << 1) | 1 );
00107
00108 return lAllFlags;
00109 }
00110 };
00111
00112
00113
00114
00115 class KFbxConnectionPoint;
00116 typedef int kFbxFilterId;
00117
00121 class KFBX_DLL KFbxConnectionPointFilter
00122 {
00123
00128 public:
00130 KFbxConnectionPointFilter() { }
00132 virtual ~KFbxConnectionPointFilter();
00134 public:
00139
00141 virtual KFbxConnectionPointFilter* Ref();
00143 virtual void Unref();
00144
00146 virtual kFbxFilterId GetUniqueId() const { return 0; }
00147
00149 virtual bool IsValid (KFbxConnectionPoint* pConnect) const;
00151 virtual bool IsValidConnection (KFbxConnectionPoint* pConnect,kFbxConnectionType pType) const;
00153 virtual bool IsEqual (KFbxConnectionPointFilter* pConnectFilter) const;
00154
00156 };
00157
00158 #include <fbxfilesdk_nsend.h>
00159
00160 #endif // #ifndef _FBXSDK_Document_H_
00161
00162
00163
00164