Category : asus-xtion

main.cpp #include "NiHandViewer.h" //————————————————————————— // Defines //————————————————————————— #define SAMPLE_XML_PATH "../../../Data/SamplesConfig.xml" //————————————————————————— // Globals //————————————————————————— xn::Context g_context; xn::ScriptNode g_scriptNode; int main(int argc, char* argv[]) { XnStatus rc; xn::EnumerationErrors errors; // Create a context with default settings rc = g_context.InitFromXmlFile(SAMPLE_XML_PATH, g_scriptNode, &errors); if (rc == XN_STATUS_NO_NODE_PRESENT) { XnChar strError[1024]; errors.ToString(strError, 1024); printf("%sn", strError); return (rc); } else ..

Read more