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
00115
00120 double GetDefaultOcclusion() const;
00121
00126 void SetDefaultOcclusion(double pOcclusion);
00127
00132 double GetDefaultIKReachTranslation() const;
00133
00138 void SetDefaultIKReachTranslation(double pIKReachTranslation);
00139
00144 double GetDefaultIKReachRotation() const;
00145
00150 void SetDefaultIKReachRotation(double pIKReachRotation);
00151
00153
00158
00164 KFbxColor& GetDefaultColor(KFbxColor& pColor) const;
00165
00170 void SetDefaultColor(KFbxColor& pColor);
00171
00173
00177 static const char* sLook;
00178 static const char* sSize;
00179 static const char* sShowLabel;
00180 static const char* sIKPivot;
00181
00185 static const ELook sDefaultLook;
00186 static const fbxDouble1 sDefaultSize;
00187 static const fbxBool1 sDefaultShowLabel;
00188 static const fbxDouble3 sDefaultIKPivot;
00189
00191
00192
00193
00195
00203 KFbxTypedProperty<ELook> Look;
00204
00212 KFbxTypedProperty<fbxDouble1> Size;
00213
00221 KFbxTypedProperty<fbxBool1> ShowLabel;
00222
00230 KFbxTypedProperty<fbxDouble3> IKPivot;
00231
00232
00233
00238 KFbxProperty* GetOcclusion();
00239
00244 KFbxProperty* GetIKReachTranslation();
00249 KFbxProperty* GetIKReachRotation();
00250
00252
00253
00254
00255
00256
00257
00259
00260 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00261
00262 public:
00263
00264
00265 virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00266
00267 protected:
00268
00269 KFbxMarker(KFbxSdkManager& pManager, char const* pName);
00270
00271 virtual void Construct(const KFbxMarker* pFrom);
00272 virtual bool ConstructProperties(bool pForceSet);
00273
00274 void Reset( bool pResetProperties );
00275
00277 KFbxMarker& operator=(KFbxMarker const& pMarker);
00278
00283 virtual KString GetTypeName() const;
00284 virtual KStringList GetTypeFlags() const;
00285
00286 EType mType;
00287
00288 KFbxProperty dynProp;
00289
00290
00291
00292
00293 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00294 };
00295
00296 typedef KFbxMarker* HKFbxMarker;
00297
00298 inline EFbxType FbxTypeOf( KFbxMarker::ELook const &pItem ) { return eENUM; }
00299
00300 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00301
00302 #endif // FBXFILESDK_KFBXPLUGINS_KFBXMARKER_H
00303