KFbxNodeIterator Class Reference

#include <kfbxnodeiterator.h>

List of all members.


Detailed Description

This class and iterator type accesses the FbxNode hierarchy.

The iterator takes a root node that can be any parent node in the KFbxScene. The iterator will then only travel within the children of a given root.

Since the iterator becomes invalid when the scene hierarchy changes, the iterator should only used in a fixed scene hierarchy.

Definition at line 63 of file kfbxnodeiterator.h.

Public Types

enum  TraversalType

Public Member Functions

 KFbxNodeIterator (KFbxNode *pRootNode, TraversalType pType)
 Contructor.
 KFbxNodeIterator (const KFbxNodeIterator &pCopy)
 Copy Constructor.
virtual ~KFbxNodeIterator ()
 Destructor.
virtual KFbxNodeGet ()
 Get a pointer to the current KFbxNode.
virtual KFbxNodeNext ()
 Get a pointer to the next KFbxNode.
virtual KFbxNodePrev ()
 Get a pointer to the previous KFbxNode pointer.
virtual void Reset ()


Constructor & Destructor Documentation

KFbxNodeIterator ( KFbxNode pRootNode,
TraversalType  pType 
)

Contructor.

Parameters:
pRootNode The root of the iterator hierarchy.
pType The traversal type.

KFbxNodeIterator ( const KFbxNodeIterator pCopy  ) 

Copy Constructor.

Parameters:
pCopy Iterator to copy

virtual ~KFbxNodeIterator (  )  [virtual]

Destructor.


Member Function Documentation

virtual KFbxNode* Get (  )  [virtual]

Get a pointer to the current KFbxNode.

Returns:
The current KFbxNode pointer.

virtual KFbxNode* Next (  )  [virtual]

Get a pointer to the next KFbxNode.

Returns:
The next KFbxNode pointer, or NULL if the end is reached.

virtual KFbxNode* Prev (  )  [virtual]

Get a pointer to the previous KFbxNode pointer.

Returns:
The previous KFbxNode pointer, or NULL if the root of the iterator is reached.