00001 /**************************************************************************************** 00002 00003 Copyright (C) 2013 Autodesk, Inc. 00004 All rights reserved. 00005 00006 Use of this software is subject to the terms of the Autodesk license agreement 00007 provided at the time of installation or download, or which otherwise accompanies 00008 this software in either electronic or hard copy form. 00009 00010 ****************************************************************************************/ 00011 00013 #ifndef _FBXSDK_SCENE_GEOMETRY_CAMERA_SWITCHER_H_ 00014 #define _FBXSDK_SCENE_GEOMETRY_CAMERA_SWITCHER_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/core/base/fbxarray.h> 00019 #include <fbxsdk/scene/geometry/fbxnodeattribute.h> 00020 00021 #include <fbxsdk/fbxsdk_nsbegin.h> 00022 00032 class FBXSDK_DLL FbxCameraSwitcher : public FbxNodeAttribute 00033 { 00034 FBXSDK_OBJECT_DECLARE(FbxCameraSwitcher,FbxNodeAttribute); 00035 00036 public: 00045 FbxPropertyT<FbxInt> CameraIndex; 00047 00049 virtual FbxNodeAttribute::EType GetAttributeType() const; 00050 00061 00066 int GetDefaultCameraIndex() const; 00067 00074 void SetDefaultCameraIndex(int pIndex); 00075 00077 00078 /***************************************************************************************************************************** 00079 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00080 *****************************************************************************************************************************/ 00081 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00082 virtual FbxObject& Copy(const FbxObject& pObject); 00083 00084 protected: 00085 virtual void Destruct(bool pRecursive); 00086 virtual void ConstructProperties(bool pForceSet); 00087 00088 public: 00089 void AddCameraName(char* pCameraName); 00090 char* GetCameraName(FbxUInt pIndex) const; 00091 FbxUInt GetCameraNameCount() const; 00092 void ClearCameraNames(); 00093 00094 protected: 00095 FbxArray<FbxString*> mCameraNameList; 00096 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00097 }; 00098 00099 #include <fbxsdk/fbxsdk_nsend.h> 00100 00101 #endif /* _FBXSDK_SCENE_GEOMETRY_CAMERA_SWITCHER_H_ */