NITE 1.5.1 - API Reference

XnVMultipleHands::Iterator Class Reference

#include <XnVMultipleHands.h>

Inheritance diagram for XnVMultipleHands::Iterator:
Collaboration diagram for XnVMultipleHands::Iterator:

List of all members.

Public Member Functions

 Iterator (const Iterator &other)
Iteratoroperator++ ()
Iterator operator++ (int)
XnVHandPointContextoperator* () const

Protected Member Functions

 Iterator (XnVMultipleHands *pHands)
 Iterator (XnVMultipleHands *pHands, XnUInt32 nPosition)

Friends

class XnVMultipleHands

Detailed Description

Enable iteration over hands. This is the non-const version of the iterator.

Definition at line 240 of file XnVMultipleHands.h.


Constructor & Destructor Documentation

XnVMultipleHands::Iterator::Iterator ( const Iterator other)

Copy constructor. Copies the internal state of the other iterator

Parameters:
[in]otherThe other iterator
XnVMultipleHands::Iterator::Iterator ( XnVMultipleHands pHands) [protected]
XnVMultipleHands::Iterator::Iterator ( XnVMultipleHands pHands,
XnUInt32  nPosition 
) [protected]

Member Function Documentation

XnVHandPointContext* XnVMultipleHands::Iterator::operator* ( ) const

Get the HandPointContext the iterator currently refers to.

Returns:
The current HandPointContext. NULL if invalid.

Reimplemented from XnVMultipleHands::ConstIterator.

Iterator& XnVMultipleHands::Iterator::operator++ ( )

Advance the iterator to the next position.

Returns:
iterator after advancing

Reimplemented from XnVMultipleHands::ConstIterator.

Iterator XnVMultipleHands::Iterator::operator++ ( int  )

Advance the iterator to the next position.

Returns:
iterator before advancing

Reimplemented from XnVMultipleHands::ConstIterator.


Friends And Related Function Documentation

friend class XnVMultipleHands [friend]

Reimplemented from XnVMultipleHands::ConstIterator.

Definition at line 243 of file XnVMultipleHands.h.


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