Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions

KFbxSelectionNode Class Reference

This reference page is linked to from the following overview topics: List of Python FBX classes.


Search for all occurrences

Detailed Description

KFbxSelectionNode is an auxiliary class for Selection Set.

Used to group objects with their components (e.g. vertex, edge, and face), when adding it to a selection set (KFbxSelectionSet).

See also:
KFbxSelectionSet

Definition at line 50 of file kfbxselectionnode.h.

#include <kfbxselectionnode.h>

Inheritance diagram for KFbxSelectionNode:
Inheritance graph
[legend]

List of all members.

Public Types

enum   ESelectType {
  eVERTEX_LEVEL, eEDGE_LEVEL, eFACE_LEVEL, eOBJECT_LEVEL,
  eSELECT_TYPE_NUM
}
 

SelectionNode type identifier.

More...

Public Member Functions

bool  SetSelectionObject (KFbxObject *pObject)
  Set an object whose components or itself is contained in the SelectionNode.
KFbxObject GetSelectionObject () const
  Get the object whose components or itself or both are contained in the SelectionNode.
bool  IsValid () const
  To detect if the SelectionNode is valid.

Public Attributes

bool  mIsTheNodeInSet
  true means the object itself is also in the selection set; false means only the object's components are in the selection set, the object is not.
KArrayTemplate< int >  mVertexIndexArray
  Index array for selected vertices.
KArrayTemplate< int >  mEdgeIndexArray
  Index array for selected edges.
KArrayTemplate< int >  mPolygonIndexArray
  Index array for selected faces.
KArrayTemplate< KArrayTemplate
< int > * > 
mSubTypeSelectArray

Static Public Attributes

static const char *  SELECT_TYPE_NAMES [(int) eSELECT_TYPE_NUM]

Protected Member Functions

  KFbxSelectionNode (KFbxSdkManager &pManager, char const *pName)
bool  ConnecNotify (KFbxConnectEvent const &pEvent)

Member Enumeration Documentation

SelectionNode type identifier.

  • eVERTEX_LEVEL Vertex level selection.
  • eEDGE_LEVEL Edge level selection.
  • eFACE_LEVEL Face level selection.
  • eOBJECT_LEVEL Object level selection.
  • eSELECT_TYPE_NUM Number of Select Types.
Enumerator:
eVERTEX_LEVEL 
eEDGE_LEVEL 
eFACE_LEVEL 
eOBJECT_LEVEL 
eSELECT_TYPE_NUM 

Definition at line 62 of file kfbxselectionnode.h.


Constructor & Destructor Documentation

KFbxSelectionNode ( KFbxSdkManager pManager,
char const *  pName 
) [protected]

Member Function Documentation

bool SetSelectionObject ( KFbxObject pObject )

Set an object whose components or itself is contained in the SelectionNode.

Parameters:
pObject The object whose components or itself is contained in the SelectionNode.
Returns:
true if the object is set successfully. false otherwise.
Remarks:
It is possible a SDK user will try to set multiple objects to one SelectionNode, but only the last one will be kept.
KFbxObject* GetSelectionObject ( ) const

Get the object whose components or itself or both are contained in the SelectionNode.

Returns:
The object whose components or itself or both are contained in the SelectionNode.
bool IsValid ( ) const

To detect if the SelectionNode is valid.

Returns:
true if this is a valid SelectionNode. false otherwise.
Remarks:
SelectionNode is valid if selection object is set. SelectionNode is not valid if no selection object is set.
bool ConnecNotify ( KFbxConnectEvent const &  pEvent ) [protected, virtual]

Member Data Documentation

true means the object itself is also in the selection set; false means only the object's components are in the selection set, the object is not.

Definition at line 93 of file kfbxselectionnode.h.

Index array for selected vertices.

Definition at line 97 of file kfbxselectionnode.h.

Index array for selected edges.

Definition at line 101 of file kfbxselectionnode.h.

Index array for selected faces.

Definition at line 105 of file kfbxselectionnode.h.

Definition at line 117 of file kfbxselectionnode.h.

const char* SELECT_TYPE_NAMES[(int) eSELECT_TYPE_NUM] [static]

Definition at line 118 of file kfbxselectionnode.h.


The documentation for this class was generated from the following file:

KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode
KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode KFbxSelectionNode