MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / GetDescription

Method GetDescription

Samples/NiSampleModule/ExportedSampleDepth.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "SampleDepth.h"
23
24void ExportedSampleDepth::GetDescription( XnProductionNodeDescription* pDescription )
25{
26 pDescription->Type = XN_NODE_TYPE_DEPTH;
27 strcpy(pDescription->strVendor, "OpenNI");
28 strcpy(pDescription->strName, "SampleDepth");
29 pDescription->Version.nMajor = XN_MAJOR_VERSION;
30 pDescription->Version.nMinor = XN_MINOR_VERSION;
31 pDescription->Version.nMaintenance = XN_MAINTENANCE_VERSION;
32 pDescription->Version.nBuild = XN_BUILD_VERSION;
33}
34
35XnStatus ExportedSampleDepth::EnumerateProductionTrees( xn::Context& /*context*/, xn::NodeInfoList& TreesList, xn::EnumerationErrors* /*pErrors*/ )
36{

Callers 2

mainFunction · 0.45
openCommonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected