Ask Your Question

Xn source code

asked 2011-07-25 04:05:59 -0500

qdocehf gravatar image

updated 2011-09-03 15:22:54 -0500

kwc gravatar image

In ROS files, such as XnCppWrapper.h, many functions return functions beginning with xn. For instance:

inline XnStatus AddNeededNode(ProductionNode& needed)
        return xnAddNeededNode(m_hNode, needed.m_hNode);


inline XnStatus RemoveNeededNode(ProductionNode& needed)
        return xnRemoveNeededNode(m_hNode, needed.m_hNode);

The ROS documentation sites, such as do not provide code for the functions beginning with xn. The OpenNI section on git also has functions that call these xn functions. I am unable to find the definition of any of these functions on the OpenNI section however. Does anyone know where I can find the function definitions? Or are parts of OpenNI closed source?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-07-25 04:44:07 -0500

The xn code is not part of ROS. Xn sounds like it's part of OpenNI, so surely the code you are looking for is there.

edit flag offensive delete link more


Do you know where I can find this code? Otherwise, is there an answer site like this for OpenNI where I can ask about it? The documentation page on <> does not contain the source code for many of these functions.
qdocehf gravatar image qdocehf  ( 2011-07-25 04:48:12 -0500 )edit
Not all documentation includes source code. If theirs doesn't, either download the source code from their website, or find their svn/git/mg browser and view on-line.
Asomerville gravatar image Asomerville  ( 2011-07-25 05:01:00 -0500 )edit

answered 2011-07-25 05:08:11 -0500

dornhege gravatar image

updated 2011-07-25 05:08:32 -0500

Maybe, you can find the function in the OpenNi source.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-07-25 04:05:59 -0500

Seen: 415 times

Last updated: Aug 02 '11