コード例 #1
0
	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;
	}
コード例 #2
0
	KinectV2DepthStream( CComPtr<IKinectSensor>& kinect )
		: KinectV2Stream()
		, kinect_( kinect )
        , bufferSize_( 0 )
        , buffer_( 0 )
	{
        configureDepthNode();

		m_frameId = 1;
	}