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