NITE 1.5.1 - API Reference

XnVDepthControl Class Reference

#include <XnVDepthControl.h>

Inheritance diagram for XnVDepthControl:
Collaboration diagram for XnVDepthControl:

List of all members.

Public Member Functions

 XnVDepthControl (const XnChar *strName="XnVDepthControl")
virtual ~XnVDepthControl ()
void Update (XnVMessage *pMessage)
virtual void Update (const xn::DepthGenerator *pDG)=0

Detailed Description

A XnVDepthControl is a Message Listener that expects Depth Messages. It is meant to be a base class for Controls that are Depth-based.

Definition at line 19 of file XnVDepthControl.h.

Constructor & Destructor Documentation

XnVDepthControl::XnVDepthControl ( const XnChar *  strName = "XnVDepthControl")

Constructor. Create a new Depth Control

[in]strNameName of the control, for log purposes.
virtual XnVDepthControl::~XnVDepthControl ( ) [virtual]

Member Function Documentation

void XnVDepthControl::Update ( XnVMessage pMessage) [virtual]

Handle a Message. This method extracts the inner Depth Generator, and calls the other Update method.

[in]pMessageThe message to handle

Implements XnVMessageListener.

virtual void XnVDepthControl::Update ( const xn::DepthGenerator *  pDG) [pure virtual]

Handle a Depth Generator. This is the method users will implement.

[in]pDGThe Depth Generator to handle

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