Beispiel #1
0
void XN_CALLBACK_TYPE XnFrameStream::OnTripleBufferNewData(XnFrameBufferManager* pTripleBuffer, XnUInt64 nTimestamp, void* pCookie)
{
    XnFrameStream* pThis = (XnFrameStream*)pCookie;
    pThis->NewDataAvailable(nTimestamp, pThis->m_nLastReadFrame + 1);
}
void XN_CALLBACK_TYPE XnFrameStream::OnTripleBufferNewData(const XnFrameBufferManager::NewFrameEventArgs& args, void* pCookie)
{
	XnFrameStream* pThis = (XnFrameStream*)pCookie;
	pThis->NewDataAvailable(args.nTimestamp, pThis->m_nLastReadFrame + 1);
}