91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 19.37MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-26
  • 語言: 其他
  • 標簽: kinect??

資源簡介

kinect實現(xiàn)骨架提取和顯示,親測可用,代碼絕對管用,非常好的資源

資源截圖

代碼片段和文件信息

//------------------------------------------------------------------------------
//?
//?????Copyright?(c)?Microsoft?Corporation.??All?rights?reserved.
//?
//------------------------------------------------------------------------------

#include?“stdafx.h“
#include?
#include?“DepthBasics.h“
#include?“resource.h“

///?
///?Entry?point?for?the?application
///?

///?handle?to?the?application?instance
///?always?0
///?command?line?arguments
///?whether?to?display?minimized?maximized?or?normally
///?status
int?APIENTRY?wWinMain(HINSTANCE?hInstance?HINSTANCE?hPrevInstance?LPWSTR?lpCmdLine?int?nCmdShow)
{
????CDepthBasics?application;
????application.Run(hInstance?nCmdShow);
}

///?
///?Constructor
///?

CDepthBasics::CDepthBasics()?:
????m_pD2DFactory(NULL)
????m_pDrawDepth(NULL)
????m_hNextDepthframeEvent(INVALID_HANDLE_VALUE)
????m_pDepthStreamHandle(INVALID_HANDLE_VALUE)
????m_bNearMode(false)
????m_pNuiSensor(NULL)
{
????//?create?heap?storage?for?depth?pixel?data?in?RGBX?format
????m_depthRGBX?=?new?BYTE[cDepthWidth*cDepthHeight*cBytesPerPixel];
}

///?
///?Destructor
///?

CDepthBasics::~CDepthBasics()
{
????if?(m_pNuiSensor)
????{
????????m_pNuiSensor->NuiShutdown();
????}

????if?(m_hNextDepthframeEvent?!=?INVALID_HANDLE_VALUE)
????{
????????CloseHandle(m_hNextDepthframeEvent);
????}

????//?clean?up?Direct2D?renderer
????delete?m_pDrawDepth;
????m_pDrawDepth?=?NULL;

????//?done?with?depth?pixel?data
????delete[]?m_depthRGBX;

????//?clean?up?Direct2D
????SafeRelease(m_pD2DFactory);

????SafeRelease(m_pNuiSensor);
}

///?
///?Creates?the?main?window?and?begins?processing
///?

///?handle?to?the?application?instance
///?whether?to?display?minimized?maximized?or?normally
int?CDepthBasics::Run(HINSTANCE?hInstance?int?nCmdShow)
{
????MSG???????msg?=?{0};
????WNDCLASS??wc;

????//?Dialog?custom?window?class
????ZeroMemory(&wc?sizeof(wc));
????wc.style?????????=?CS_HREDRAW?|?CS_VREDRAW;
????wc.cbWndExtra????=?DLGWINDOWEXTRA;
????wc.hInstance?????=?hInstance;
????wc.hCursor???????=?LoadCursorW(NULL?IDC_ARROW);
????wc.hIcon?????????=?LoadIconW(hInstance?MAKEINTRESOURCE(IDI_APP));
????wc.lpfnWndProc???=?DefDlgProcW;
????wc.lpszClassName?=?L“DepthBasicsAppDlgWndClass“;

????if?(!RegisterClassW(&wc))
????{
????????return?0;
????}

????//?Create?main?application?window
????HWND?hWndApp?=?CreateDialogParamW(
????????hInstance
????????MAKEINTRESOURCE(IDD_APP)
????????NULL
????????(DLGPROC)CDepthBasics::MessageRouter?
????????reinterpret_cast(this));

????//?Show?window
????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-07-04?15:59??DepthBasics-D2D\
?????目錄???????????0??2018-07-04?15:54??DepthBasics-D2D\Debug\
?????文件???????62118??2018-07-04?15:54??DepthBasics-D2D\Debug\CL.read.1.tlog
?????文件????????1874??2018-07-04?15:54??DepthBasics-D2D\Debug\CL.write.1.tlog
?????文件??????484352??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.exe
?????文件?????????682??2012-09-26?10:38??DepthBasics-D2D\Debug\DepthBasics-D2D.exe.embed.manifest
?????文件?????????748??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.exe.embed.manifest.res
?????文件?????????640??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.exe.intermediate.manifest
?????文件?????1049484??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.ilk
?????文件??????????74??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.lastbuildstate
?????文件?????????982??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.log
?????文件?????2903040??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.pdb
?????文件?????????713??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.vcxprojResolveAssemblyReference.cache
?????文件???????????0??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics-D2D.write.1.tlog
?????文件?????????220??2012-09-26?10:38??DepthBasics-D2D\Debug\DepthBasics-D2D_manifest.rc
?????文件??????118234??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics.obj
?????文件???????32668??2018-07-04?15:54??DepthBasics-D2D\Debug\DepthBasics.res
?????文件??????110608??2018-07-04?15:54??DepthBasics-D2D\Debug\ImageRenderer.obj
?????文件????????2690??2018-07-04?15:54??DepthBasics-D2D\Debug\cl.command.1.tlog
?????文件???????????2??2018-07-04?15:54??DepthBasics-D2D\Debug\link-cvtres.read.1.tlog
?????文件???????????2??2018-07-04?15:54??DepthBasics-D2D\Debug\link-cvtres.write.1.tlog
?????文件???????????2??2018-07-04?15:54??DepthBasics-D2D\Debug\link.7636-cvtres.read.1.tlog
?????文件???????????2??2018-07-04?15:54??DepthBasics-D2D\Debug\link.7636-cvtres.write.1.tlog
?????文件???????????2??2018-07-04?15:54??DepthBasics-D2D\Debug\link.7636.read.1.tlog
?????文件???????????2??2018-07-04?15:54??DepthBasics-D2D\Debug\link.7636.write.1.tlog
?????文件????????4638??2018-07-04?15:54??DepthBasics-D2D\Debug\link.command.1.tlog
?????文件????????8192??2018-07-04?15:54??DepthBasics-D2D\Debug\link.read.1.tlog
?????文件????????2230??2018-07-04?15:54??DepthBasics-D2D\Debug\link.write.1.tlog
?????文件?????????862??2018-07-04?15:54??DepthBasics-D2D\Debug\mt.command.1.tlog
?????文件?????????682??2018-07-04?15:54??DepthBasics-D2D\Debug\mt.read.1.tlog
?????文件?????????504??2018-07-04?15:54??DepthBasics-D2D\Debug\mt.write.1.tlog
............此處省略22個文件信息

評論

共有 條評論