DepthSenseDepthStream( DepthSense::Context& context, DepthSense::Node node ) : m_context( context ) { m_depthNode = node.as<DepthSense::DepthNode>(); configureDepthNode(); m_context.registerNode( node ); m_nodeMap[m_depthNode] = this; }
KinectV2DepthStream( CComPtr<IKinectSensor>& kinect ) : KinectV2Stream() , kinect_( kinect ) , bufferSize_( 0 ) , buffer_( 0 ) { configureDepthNode(); m_frameId = 1; }