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