kfbxmarker.h
Go to the documentation of this file.00001
00004 #ifndef _FBXSDK_MARKER_H_
00005 #define _FBXSDK_MARKER_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 <kaydaradef.h>
00043 #ifndef KFBX_DLL
00044 #define KFBX_DLL K_DLLIMPORT
00045 #endif
00046
00047 #include <kaydara.h>
00048
00049 #include <kfbxplugins/kfbxnodeattribute.h>
00050 #include <kfbxplugins/kfbxcolor.h>
00051 #include <kfbxmath/kfbxvector4.h>
00052
00053 #ifndef MB_FBXSDK
00054 #include <kbaselib_nsuse.h>
00055 #endif
00056 #include <kbaselib_forward.h>
00057
00058 #include <fbxfilesdk_nsbegin.h>
00059
00060 class KFbxTakeNode;
00061 class KFbxSdkManager;
00062 class KFbxMarker_internal;
00063
00067 class KFBX_DLL KFbxMarker : public KFbxNodeAttribute
00068 {
00069 KFBXOBJECT_DECLARE(KFbxMarker);
00070
00071 public:
00073 virtual EAttributeType GetAttributeType() const;
00074
00076 void Reset();
00077
00084 typedef enum {
00085 eSTANDARD,
00086 eOPTICAL,
00087 eIK_EFFECTOR,
00088 eFK_EFFECTOR
00089 } EType;
00090
00094 void SetType(EType pType);
00095
00099 EType GetType() const;
00100
00107 typedef enum {
00108 eCUBE,
00109 eHARD_CROSS,
00110 eLIGHT_CROSS,
00111 eSPHERE
00112 } ELook;
00113
00117 void SetLook(ELook pLook);
00118
00122 ELook GetLook() const;
00123
00127 void SetSize(double pSize);
00128
00132 double GetSize() const;
00133
00137 void SetColor(KFbxColor pColor);
00138
00142 KFbxColor GetColor() const;
00143
00147 void SetShowLabel(bool pShowLabel);
00148
00152 bool GetShowLabel() const;
00153
00157 void SetIKPivot(KFbxVector4& pIKPivot);
00158
00162 KFbxVector4 GetIKPivot() const;
00163
00173
00178 double GetDefaultOcclusion() const;
00179
00184 void SetDefaultOcclusion(double pOcclusion);
00185
00190 double GetDefaultIKReachTranslation() const;
00191
00196 void SetDefaultIKReachTranslation(double pIKReachTranslation);
00197
00202 double GetDefaultIKReachRotation() const;
00203
00208 void SetDefaultIKReachRotation(double pIKReachRotation);
00209
00211
00216
00221 KFbxColor& GetDefaultColor(KFbxColor& pColor) const;
00222
00226 void SetDefaultColor(KFbxColor& pColor);
00227
00229
00231
00232
00233
00234
00235
00236
00238
00239 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00240
00241 public:
00242
00243 virtual KObject* GetFbxObject_internal();
00244 virtual KObject const* GetFbxObject_internal() const;
00245
00246
00247 virtual KFbxObject* Clone(KFbxObject::ECloneType pCloneType) const;
00248
00249 protected:
00250 static char const* GetNamePrefix() { return 0; }
00251
00252 KFbxMarker(KFbxSdkManager& pManager, char const* pName);
00253 virtual ~KFbxMarker();
00254
00255 virtual void Destruct(bool pRecursive, bool pDependents);
00256
00258 KFbxMarker& operator=(KFbxMarker const& pMarker);
00259
00263 virtual void AddChannels(KFbxTakeNode *pTakeNode);
00264
00268 virtual void RemoveChannels(KFbxTakeNode *pTakeNode);
00269
00274 virtual KString GetTypeName() const;
00275 virtual KStringList GetTypeFlags() const;
00276
00277 EType mType;
00278
00279
00280 KFbxMarker_internal* mPH;
00281
00282 friend class KFbxReaderFbx;
00283
00284 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00285
00286 };
00287
00288 typedef KFbxMarker* HKFbxMarker;
00289
00290 #include <fbxfilesdk_nsend.h>
00291
00292 #endif // #ifndef _FBXSDK_MARKER_H_
00293
00294