- Main Page
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# fbxcameraswitcher.h

Go to the documentation of this file.

    00001 /****************************************************************************************
    00002
    00003    Copyright (C) 2012 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
    00023     class FbxManager;
    00024
    00034     class FBXSDK_DLL FbxCameraSwitcher : public FbxNodeAttribute
    00035     {
    00036         FBXSDK_OBJECT_DECLARE(FbxCameraSwitcher,FbxNodeAttribute);
    00037
    00038         public:
    00047             FbxPropertyT<FbxInt>        CameraIndex;
    00049
    00051         virtual FbxNodeAttribute::EType GetAttributeType() const;
    00052
    00063
    00068             int GetDefaultCameraIndex() const;
    00069
    00076             void SetDefaultCameraIndex(int pIndex);
    00077
    00079
    00080
    00082     //
    00083     //  WARNING!
    00084     //
    00085     //  Anything beyond these lines may not be documented accurately and is
    00086     //  subject to change without notice.
    00087     //
    00089     #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00090
    00091         virtual FbxObject& Copy(const FbxObject& pObject);
    00092
    00093     protected:
    00094         FbxCameraSwitcher(FbxManager& pManager, char const* pName);
    00095         virtual void Destruct(bool pRecursive, bool pDependents);
    00096
    00097         virtual bool ConstructProperties(bool pForceSet);
    00098
    00099     public:
    00100         void AddCameraName(char* pCameraName);
    00101         char* GetCameraName(FbxUInt pIndex) const;
    00102         FbxUInt GetCameraNameCount() const;
    00103         void ClearCameraNames();
    00104
    00105     protected:
    00106         FbxArray<FbxString*> mCameraNameList;
    00107
    00108     #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00109     };
    00110
    00111 #include <fbxsdk/fbxsdk_nsend.h>
    00112
    00113 #endif /* _FBXSDK_SCENE_GEOMETRY_CAMERA_SWITCHER_H_ */