fbxsdk/scene/fbxselectionnode.h Source File
 
 
 
fbxsdk/scene/fbxselectionnode.h
Go to the documentation of this file.
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_NODE_H_
00014 #define _FBXSDK_SCENE_SELECTION_NODE_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/core/fbxobject.h>
00019 
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021 
00027 class FBXSDK_DLL FbxSelectionNode : public FbxObject
00028 {
00029     FBXSDK_OBJECT_DECLARE(FbxSelectionNode, FbxObject);
00030 
00031 public:
00039     enum ESelectType
00040     {
00041         eVertexLevel,
00042         eEdgeLevel,
00043         eFaceLevel,
00044         eObjectLevel,
00045         eSelectTypeCount
00046     };
00047 
00053     bool SetSelectionObject(FbxObject* pObject);
00054 
00058     FbxObject* GetSelectionObject() const;
00059 
00065     bool IsValid() const;
00066 
00070     bool mIsTheNodeInSet;
00071 
00074     FbxArray<int> mVertexIndexArray;  
00075 
00078     FbxArray<int> mEdgeIndexArray; 
00079 
00082     FbxArray<int> mPolygonIndexArray;
00083 
00084 /*****************************************************************************************************************************
00085 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
00086 *****************************************************************************************************************************/
00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00088     FbxArray<FbxArray<int>*> mSubTypeSelectArray;
00089     static const char* SELECT_TYPE_NAMES[(int)eSelectTypeCount];
00090 
00091 protected:
00092         virtual void Construct(const FbxSelectionNode* pFrom);
00093     bool ConnectNotify (FbxConnectEvent const &pEvent);
00094 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
00095 };
00096 
00097 #include <fbxsdk/fbxsdk_nsend.h>
00098 
00099 #endif /* _FBXSDK_SCENE_SELECTION_NODE_H_ */