kfbxcameraswitcher.h
Go to the documentation of this file.00001
00004 #ifndef _FBXSDK_CAMERA_SWITCHER_H_
00005 #define _FBXSDK_CAMERA_SWITCHER_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 <klib/karrayul.h>
00050
00051 #include <kfbxplugins/kfbxnodeattribute.h>
00052
00053 #include <fbxfilesdk_nsbegin.h>
00054
00055 class KFbxTakeNode;
00056 class KFbxSdkManager;
00057 class KFbxCameraSwitcher_internal;
00058
00062 class KFBX_DLL KFbxCameraSwitcher : public KFbxNodeAttribute
00063 {
00064 KFBXOBJECT_DECLARE(KFbxCameraSwitcher);
00065
00066 public:
00071 KFbxPropertyInteger1 CameraIndex;
00073
00075 virtual EAttributeType GetAttributeType() const;
00076
00087
00092 int GetDefaultCameraIndex();
00093
00100 void SetDefaultCameraIndex(int pIndex);
00101
00103
00104
00106
00107
00108
00109
00110
00111
00113
00114 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00115
00116 public:
00117
00118 virtual KObject* GetFbxObject_internal();
00119 virtual KObject const* GetFbxObject_internal() const;
00120
00121
00122 virtual KFbxObject* Clone(KFbxObject::ECloneType pCloneType) const;
00123
00124 protected:
00125 static char const* GetNamePrefix() { return 0; }
00126
00127 KFbxCameraSwitcher(KFbxSdkManager& pManager, char const* pName);
00128 virtual ~KFbxCameraSwitcher();
00129
00131 KFbxCameraSwitcher& operator=(KFbxCameraSwitcher const& pCameraIndex);
00132
00136 virtual void AddChannels(KFbxTakeNode *pTakeNode);
00137
00141 virtual void RemoveChannels(KFbxTakeNode *pTakeNode);
00142
00143 virtual KString GetTypeName() const;
00144 virtual KStringList GetTypeFlags() const;
00145
00146 void AddCameraName(char* pCameraName);
00147 char* GetCameraName(kUInt pIndex);
00148 kUInt GetCameraNameCount();
00149
00150 KArrayTemplate<KString*> mCameraNameList;
00151
00152
00153 KFbxCameraSwitcher_internal* mPH;
00154
00155 friend class KFbxWriterFbx6;
00156 friend class KFbxReaderFbx;
00157 friend class KFbxReaderFbx6;
00158 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00159
00160 };
00161
00162 #include <fbxfilesdk_nsend.h>
00163
00164 #endif // #ifndef _FBXSDK_CAMERA_SWITCHER_H_
00165
00166