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

Method GetDescription

Source/Modules/nimCodecs/ExportedCodec.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void ExportedCodec::GetDescription(XnProductionNodeDescription* pDescription)
30{
31 strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI);
32 memcpy(pDescription->strName, &m_codecId, sizeof(m_codecId));
33 pDescription->strName[sizeof(m_codecId)] = '\0';
34 pDescription->Type = XN_NODE_TYPE_CODEC;
35 pDescription->Version.nMajor = XN_MAJOR_VERSION;
36 pDescription->Version.nMinor = XN_MINOR_VERSION;
37 pDescription->Version.nMaintenance = XN_MAINTENANCE_VERSION;
38 pDescription->Version.nBuild = XN_BUILD_VERSION;
39}
40
41XnStatus ExportedCodec::EnumerateProductionTrees(Context& /*context*/, NodeInfoList& TreesList, xn::EnumerationErrors* /*pErrors*/)
42{

Callers 2

InitMethod · 0.45
InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected