00001
00004 #ifndef FBXFILESDK_KFBXPLUGINS_KFBXMARKER_H
00005 #define FBXFILESDK_KFBXPLUGINS_KFBXMARKER_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 <fbxfilesdk/components/kbaselib/kaydaradef_h.h>
00043 #include <fbxfilesdk/components/kbaselib/kaydara.h>
00044
00045 #include <fbxfilesdk/kfbxplugins/kfbxnodeattribute.h>
00046 #include <fbxfilesdk/kfbxplugins/kfbxcolor.h>
00047 #include <fbxfilesdk/kfbxmath/kfbxvector4.h>
00048
00049 #include <fbxfilesdk/components/kbaselib/kbaselib_forward.h>
00050
00051 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00052
00053 class KFbxTakeNode;
00054 class KFbxSdkManager;
00055
00059 class KFBX_DLL KFbxMarker : public KFbxNodeAttribute
00060 {
00061 KFBXOBJECT_DECLARE(KFbxMarker,KFbxNodeAttribute);
00062
00063 public:
00065 virtual EAttributeType GetAttributeType() const;
00066
00068 void Reset();
00069
00076 typedef enum {
00077 eSTANDARD,
00078 eOPTICAL,
00079 eFK_EFFECTOR,
00080 eIK_EFFECTOR
00081 } EType;
00082
00086 void SetType(EType pType);
00087
00091 EType GetType() const;
00092
00099 typedef enum {
00100 eCUBE,
00101 eHARD_CROSS,
00102 eLIGHT_CROSS,
00103 eSPHERE
00104 } ELook;
00105
00110 K_DEPRECATED void SetLook(ELook pLook);
00111
00116 K_DEPRECATED ELook GetLook() const;
00117
00122 K_DEPRECATED void SetSize(double pSize);
00123
00128 K_DEPRECATED double GetSize() const;
00129
00134 K_DEPRECATED void SetShowLabel(bool pShowLabel);
00135
00140 K_DEPRECATED bool GetShowLabel() const;
00141
00146 K_DEPRECATED void SetIKPivot(KFbxVector4& pIKPivot);
00147
00152 K_DEPRECATED KFbxVector4 GetIKPivot() const;
00153
00163
00168 double GetDefaultOcclusion() const;
00169
00174 void SetDefaultOcclusion(double pOcclusion);
00175
00180 double GetDefaultIKReachTranslation() const;
00181
00186 void SetDefaultIKReachTranslation(double pIKReachTranslation);
00187
00192 double GetDefaultIKReachRotation() const;
00193
00198 void SetDefaultIKReachRotation(double pIKReachRotation);
00199
00201
00206
00212 KFbxColor& GetDefaultColor(KFbxColor& pColor) const;
00213
00218 void SetDefaultColor(KFbxColor& pColor);
00219
00221
00225 static const char* sLook;
00226 static const char* sSize;
00227 static const char* sShowLabel;
00228 static const char* sIKPivot;
00229
00233 static const ELook sDefaultLook;
00234 static const fbxDouble1 sDefaultSize;
00235 static const fbxBool1 sDefaultShowLabel;
00236 static const fbxDouble3 sDefaultIKPivot;
00237
00239
00240
00241
00243
00251 KFbxTypedProperty<ELook> Look;
00252
00260 KFbxTypedProperty<fbxDouble1> Size;
00261
00269 KFbxTypedProperty<fbxBool1> ShowLabel;
00270
00278 KFbxTypedProperty<fbxDouble3> IKPivot;
00279
00280
00281
00286 KFbxProperty* GetOcclusion();
00287
00292 KFbxProperty* GetIKReachTranslation();
00297 KFbxProperty* GetIKReachRotation();
00298
00300
00301
00302
00303
00304
00305
00307
00308 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00309
00310 public:
00311
00312
00313 virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00314
00315 protected:
00316
00317 KFbxMarker(KFbxSdkManager& pManager, char const* pName);
00318 virtual ~KFbxMarker();
00319
00320 virtual void Construct(const KFbxMarker* pFrom);
00321 virtual bool ConstructProperties(bool pForceSet);
00322 virtual void Destruct(bool pRecursive, bool pDependents);
00323 void Reset( bool pResetProperties );
00324
00326 KFbxMarker& operator=(KFbxMarker const& pMarker);
00327
00332 virtual KString GetTypeName() const;
00333 virtual KStringList GetTypeFlags() const;
00334
00335 EType mType;
00336
00337 KFbxProperty dynProp;
00338
00339
00340
00341
00342 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00343 };
00344
00345 typedef KFbxMarker* HKFbxMarker;
00346
00347 inline EFbxType FbxTypeOf( KFbxMarker::ELook const &pItem ) { return eENUM; }
00348
00349 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00350
00351 #endif // FBXFILESDK_KFBXPLUGINS_KFBXMARKER_H
00352