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_SELECTION_SET_H_ 00014 #define _FBXSDK_SCENE_SELECTION_SET_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/scene/fbxcollection.h> 00019 #include <fbxsdk/scene/fbxselectionnode.h> 00020 00021 #include <fbxsdk/fbxsdk_nsbegin.h> 00022 00030 class FBXSDK_DLL FbxSelectionSet : public FbxCollection 00031 { 00032 FBXSDK_OBJECT_DECLARE(FbxSelectionSet, FbxCollection); 00033 00034 public: 00038 FbxPropertyT<FbxString> SelectionSetAnnotation; 00039 00044 00050 void GetFaceSelection( FbxObject* pObj,FbxArray<int>& pPolygonIndexArray ) const; 00051 00057 void GetEdgeSelection( FbxObject* pObj,FbxArray<int>& pEdgeIndexArray ) const; 00058 00064 void GetVertexSelection( FbxObject* pObj,FbxArray<int>& pVertexIndexArray ) const; 00065 00072 void GetSelectionNodesAndDirectObjects(FbxArray<FbxSelectionNode*> &pSelectionNodeList, FbxArray<FbxObject*> &pDirectObjectList) const; 00073 00075 00076 /***************************************************************************************************************************** 00077 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00078 *****************************************************************************************************************************/ 00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00080 protected: 00081 virtual void ConstructProperties(bool pForceSet); 00082 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00083 }; 00084 00085 #include <fbxsdk/fbxsdk_nsend.h> 00086 00087 #endif /* _FBXSDK_SCENE_SELECTION_SET_H_ */