fbxsdk/scene/fbxselectionnode.h Source File

fbxselectionnode.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_SELECTION_NODE_H_
14 #define _FBXSDK_SCENE_SELECTION_NODE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
18 #include <fbxsdk/core/fbxobject.h>
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
28 {
30 
31 public:
40  {
45  eSelectTypeCount
46  };
47 
53  bool SetSelectionObject(FbxObject* pObject);
54 
58  FbxObject* GetSelectionObject() const;
59 
65  bool IsValid() const;
66 
71 
75 
79 
83 
84 /*****************************************************************************************************************************
85 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
86 *****************************************************************************************************************************/
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88  FbxArray<FbxArray<int>*> mSubTypeSelectArray;
89  static const char* SELECT_TYPE_NAMES[(int)eSelectTypeCount];
90 
91 protected:
92  virtual void Construct(const FbxObject* pFrom);
93  bool ConnectNotify (FbxConnectEvent const &pEvent);
94 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
95 };
96 
97 #include <fbxsdk/fbxsdk_nsend.h>
98 
99 #endif /* _FBXSDK_SCENE_SELECTION_NODE_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
ESelectType
SelectionNode type identifier.
FBX SDK environment definition.
FbxArray< int > mVertexIndexArray
Index array for selected vertices.
FbxArray< int > mEdgeIndexArray
Index array for selected edges.
FbxArray< int > mPolygonIndexArray
Index array for selected faces.
The base class of most FBX objects.
Definition: fbxobject.h:157
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
FbxSelectionNode is an auxiliary class for Selection Set.
bool mIsTheNodeInSet
true means the object itself is also in the selection set; false means only the object's components a...
#define FBXSDK_DLL
Definition: fbxarch.h:173