thx.
Seems like it doesn't work quite well.
I've got "Find scence analyzer failed: No match found" with the code
like
[code]
nRetVal = gcontext.FindExistingNode(XN_NODE_TYPE_SCENE,
g_SceneAnalyzer);
CHECK_RC(nRetVal, "Find scence analyzer");
XnStatus st = g_SceneAnalyzer.GetFloor(plane);
printf("Plane point=(%f,%f,%f), vector=(%f,%f,%f)\n",
plane.ptPoint.X,
plane.ptPoint.Y, plane.ptPoint.Z, plane.vNormal.X, plane.vNormal.Y,
plane.vNormal.Z);
[/code]
And I've put the code in the initialization function of the camera.