![]() |
OpenNI 1.5.4
|
An application would usually want to fully configure a node before it starts streaming data. For that reason, OpenNI defines a flow in which configuration can take place, and once all configuration is set, the node xn::Generator::StartGenerating() method can be called to make it start streaming the data.
The following code creates a depth generator, configures it to VGA resolution, 30 FPS, and then starts it: