File: README.txt

package info (click to toggle)
openni2 2.2.0.33%2Bdfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 22,232 kB
  • sloc: cpp: 111,183; ansic: 35,511; sh: 10,542; python: 1,313; java: 952; makefile: 575; xml: 12
file content (40 lines) | stat: -rw-r--r-- 1,444 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Processes
* Initialization
- Find available devices
	Go over all shared object files in the single repository directory for devices (environment variable in Win, fixed in others)
	Try to load the shared objects
	If successful - create an internal Device object. The context will hold a list of pointers to the device objects. These will be the DeviceHandle, available outside to the C API.

* Interesting streams
- out of the available devices, find the streams we want

* Mainloop
- event driven - register to specific streams - get callback with framebuffer (separate for each stream)
- polling - WaitAny - get the streamHandle, check its type (wait returns with a single stream, or a list of them?)

* Depth format
- 16bit in mm - up to 65m
- 16bit in mm/1000 - up to 6.5m
-- scale

* Device API

* Platform types
	XnUInt32 and friends. Needed in the API of OpenNI, and also used in PSCommon. Where do they get defined, if PSCommon is _not_ API of OpenNI.
	CALLBACK_TYPE, PLATFORM

* PSCommon
- all kinds of data structures, and OS-specific infrastructures (threads, strings, memory, ...). Not API of OpenNI! Used in its implementation, though.

* Convenience Layer
- Shortcuts for reasonable usage. Novice users are expected to use this layer. Expert users will use complex APIs in OpenNI

* Wrappers
- C++ for sure
- Java, C#, others - may leave for community?

* Platforms
- Windows - 32/64
- Linux - 32/64 (Ubuntu 12.4?)
- MAC?
- ARM?