modified implicit narrowing cast to explicit cast
Fixed bug: name of window in CreateWindow must match the one in RegisterClass

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Removed assert when unregistering an a writer that isn't registered.

This happens if OpenNI is initialized and shut down from within a static variable. There is no control if this code is called before or after the destruction of the LogData singleton.
If it's called after the destruction, the call for GetInstance() creates a new one, without any writers registered.
In any case, the result is the same - the writer isn't registered.

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Bug Fix: trying to open the 9th device will cause a crash

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Minor changes for Mac

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Bug Fix: can't have xnUSB in more than one DLL

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
bigfix! linux images are now correctly decompressed!

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Make sure Registration module (for single pixel registration) is initialized before using it.

It won't be initialized if the firmware is 5.3 or older, which doesn't support single pixel registration.

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Initialize indicator of whether we're working with PS1000 (rather than PS1080) to mean we're not.

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Ask for file name each time we start a recording

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Added button to toggle image registration mode ('i')

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Added indication of whether image registration is currently on or off in permanent status line

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Make sure image registration mode is supported before setting to it.

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Version 2.0.0.30

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Move histogram calculation in samples to the Samples Common.

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Call xnOSCloseThread when thread exits, to make sure everything is cleaned properly.

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Use correct signature for device listeners

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
EventBasedRead sample provides all information about devices:

Which ones are connected when it starts, and which ones are connected/disconnected while it runs

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
Use correct signature for device listeners

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>
1. Fixed Kinect:NiViewer: crash (or corrupted output) when switching Color VideoMode in NiViewer (OPENNITWO-359)

2. Implemented OPENNITWO-283	Kinect Wrapper: support cropping
3. Implemented but not testing OPENNITWO-356	Auto exposure / auto white balance in Kinect

Signed-off-by: eddie.cohen <eddie.cohen@primesense.com>