- Main Page
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# fbxselectionset.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_SELECTION_SET_H_
    00014 #define _FBXSDK_SCENE_SELECTION_SET_H_
    00015
    00016 #include <fbxsdk/fbxsdk_def.h>
    00017
    00018 #include <fbxsdk/core/fbxmanager.h>
    00019
    00020 #include <fbxsdk/scene/fbxcollection.h>
    00021 #include <fbxsdk/scene/geometry/fbxnode.h>
    00022 #include <fbxsdk/scene/fbxselectionnode.h>
    00023
    00024 #include <fbxsdk/utils/fbxnamehandler.h>
    00025
    00026 #include <fbxsdk/fbxsdk_nsbegin.h>
    00027
    00035 class FBXSDK_DLL FbxSelectionSet : public FbxCollection
    00036 {
    00037     FBXSDK_OBJECT_DECLARE(FbxSelectionSet, FbxCollection);
    00038
    00039 public:
    00043     FbxPropertyT<FbxString>        SelectionSetAnnotation;
    00044
    00049
    00055     void GetFaceSelection( FbxObject* pObj,FbxArray<int>& pPolygonIndexArray ) const;
    00056
    00062     void GetEdgeSelection( FbxObject* pObj,FbxArray<int>& pEdgeIndexArray ) const;
    00063
    00069     void GetVertexSelection( FbxObject* pObj,FbxArray<int>& pVertexIndexArray ) const;
    00070
    00077     void GetSelectionNodesAndDirectObjects(FbxArray<FbxSelectionNode*> &pSelectionNodeList, FbxArray<FbxObject*> &pDirectObjectList) const;
    00078
    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 protected:
    00092     FbxSelectionSet(FbxManager& pManager, char const* pName);
    00093     bool ConstructProperties(bool pForceSet);
    00094
    00095 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00096 };
    00097
    00098 #include <fbxsdk/fbxsdk_nsend.h>
    00099
    00100 #endif /* _FBXSDK_SCENE_SELECTION_SET_H_ */