• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

XnVSessionListener.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 *                                                                              *
00003 *   PrimeSense NITE 1.3                                                        *
00004 *   Copyright (C) 2010 PrimeSense Ltd.                                         *
00005 *                                                                              *
00006 *******************************************************************************/
00007 
00008 
00009 #ifndef _XNV_SESSION_LISTENER_H_
00010 #define _XNV_SESSION_LISTENER_H_
00011 
00012 #include "XnVNiteDefs.h"
00013 #include "XnVNiteEvents.h"
00014 
00018 class XNV_NITE_API XnVSessionListener
00019 {
00020 public:
00024     typedef void (XN_CALLBACK_TYPE *OnFocusStartDetectedCB)(const XnChar* strFocus, const XnPoint3D& ptPosition, XnFloat fProgress, void* UserCxt);
00028     typedef void (XN_CALLBACK_TYPE *OnSessionStartCB)(const XnPoint3D& ptPosition, void* UserCxt);
00032     typedef void (XN_CALLBACK_TYPE *OnSessionEndCB)(void* UserCxt);
00033 
00034     virtual void OnSessionStart(const XnPoint3D& ptPosition) = 0;
00035     virtual void OnSessionEnd() = 0;
00036     virtual void OnFocusStartDetected(const XnChar* strFocus, const XnPoint3D& ptPosition, XnFloat fProgress) = 0;
00037 };
00038 
00039 
00040 #endif // _XNV_SESSION_LISTENER_H_

Generated on Tue Jul 19 2011 20:22:59 for NITE 1.4.1 - API Reference by  doxygen 1.7.1