arturoc/ofxOpenNI2 — pull request #1 by elliotwoods (2011-10-14 12:30:54+00:00)
Title: Lots of edits

Some changes are more 'controversial' than others.
esp. check how getDepthRawPixels() works

you also might not like the toXn pointer casting.

##getDepthRawPixels()
Added the feature of accessing the raw depth values as an ofShortPixels (unsigned short == XnDepthPixel).

This involves changes in quite a few places and a new flag `g_bIsDepthRawOnOption` which has it's own life.

`g_bIsDepthRawOnOption` is turned on automatically when the user calls `getDepthRawPixels()` (i.e. pixels will be ready next frame).

##Warnings

Adding warnings in a couple of places (e.g. calling getWidth() before anything is initialised)

Best get a reaction to what i've changed so far before making too many more differences.