Now that we have a node implementation and an exporter which exports it to OpenNI, all that is left is to let OpenNI know which exporters exist in your module.
The best way to do so is to create a new cpp file, and in it:
1. Include OpenNI C++ registration header:
2. Declare this module. This is done by the following line:
If you want your module to behave differently than default (for example, do some extra initialization upon shared library loading), you can create a new class that inherits from xn::Module, and export that new class instead.
3. Declare all exporters using the corresponding macros. For example, to declare a HandsGenerator exporter:
Generated on Wed May 16 2012 10:16:06 for OpenNI 1.5.4 by 126.96.36.199