#include
<kfbxselectionset.h>
Represents a set of selected objects (KFbxObject) and components. This is a non-exclusive (multiple membership) collection. Objects (KfbxObject) can be added to a KFbxSelectionSet directly, but to add components (vertexes, edges, or faces) you create a selection node (KFbxSelectionNode) to group the object and its components together as a single item to be added.
Definition at line 57 of file kfbxselectionset.h.
Utility functions |
|
void | GetFaceSelection (KFbxObject *pObj, KArrayTemplate< int > &pPolygonIndexArray) const |
Get the selected faces of a specified
object. |
|
void | GetEdgeSelection (KFbxObject *pObj, KArrayTemplate< int > &pEdgeIndexArray) const |
Get the selected edges of a specified
object. |
|
void | GetVertexSelection (KFbxObject *pObj, KArrayTemplate< int > &pVertexIndexArray) const |
Get the selected vertices of a specified
object. |
|
void | GetSelectionNodesAndDirectObjects (KArrayTemplate< KFbxSelectionNode * > &pSelectionNodeList, KArrayTemplate< KFbxObject * > &pDirectObjectList) const |
Get list of two types of member in the
selection set: SelectionNodes and Directly contained objects.
|
|
Public Attributes |
|
KFbxTypedProperty< fbxString > | SelectionSetAnnotation |
This property stores annotation of the
selection set. |
void GetFaceSelection | ( | KFbxObject * | pObj, | |
KArrayTemplate< int > & | pPolygonIndexArray | |||
) | const |
Get the selected faces of a specified object.
pObj | The specified object. | |
pPolygonIndexArray | The array to take the indices of the selected faces. |
void GetEdgeSelection | ( | KFbxObject * | pObj, | |
KArrayTemplate< int > & | pEdgeIndexArray | |||
) | const |
Get the selected edges of a specified object.
pObj | The specified object. | |
pEdgeIndexArray | The array to take the indices of the selected edges. |
void GetVertexSelection | ( | KFbxObject * | pObj, | |
KArrayTemplate< int > & | pVertexIndexArray | |||
) | const |
Get the selected vertices of a specified object.
pObj | The specified object. | |
pVertexIndexArray | The array to take the indices of the selected vertices. |
void GetSelectionNodesAndDirectObjects | ( | KArrayTemplate< KFbxSelectionNode * > & | pSelectionNodeList, | |
KArrayTemplate< KFbxObject * > & | pDirectObjectList | |||
) | const |
Get list of two types of member in the selection set: SelectionNodes and Directly contained objects.
pSelectionNodeList | The array to take selection nodes of the selection set. | |
pDirectObjectList | The array to take directly contained objects of the selection set. |
This property stores annotation of the selection set.
Default value is "".
Definition at line 65 of file kfbxselectionset.h.