Sentis-ToF-M100 API - Samples
-----------------------------------------------------------

In this folder you will find the source code of 3 different
demo applications. The aim of this samples is to introduce 
the developer to the use of the camera API as well as to 
show the camera capabilities.

First of all you must install the Sentis-ToF-M100 library API 
in your system. You will find it in the linux/ or windows/ 
folder of this package.

- How to compile in Linux/Ubuntu:

We have prepared a CMakeFile.txt which will help you to get
the executables of the samples. You will need the compiler 
and cmake:

	sudo apt-get install build-essentials cmake

In the glut applications, the OpenGL utilities library is 
use to display real time video. For ubuntu systems you can
get them from the public repositories. Install the follow 
dependencies:

	sudo apt-get install freeglut3 freeglut3-dev 

Finally, you have to execute this commands:

	cd samples
	mkdir build
	cd build
	cmake ..

- Compilation in windows:

Please check the windows/ folder included in this 
distribution. We have already included a Visual Studio 11
project and the binary executables of the sample
application. Please refer to the readme file in that folder.
	
Samples description:

 - Register-printer: This application read all the general
register of the camera and print their content. This help 
to check how the camera is configured.

 - Glut-distances: A simple OpenGL viewer that shows real
time images received from the camera. You will see a plain image
that shows the distances information. The color deepness of
the pixel is defined by the amplitude values.

 - Glut-3d: OpenGL viewer that display 3d point cloud 
images obtained by the M100 camera using the XYZ+I 
format. The intensity of the pixel color is also related 
with the amplitude values.

* The CMakeList.txt files are configured to find the 
library dependencies from the system path or inside this
package. If you want to save the files somewhere else of 
you want to compile from other directories, please mind 
changing/adding these paths to the cmake files.

The samples are released under the MIT License, feel free to
use the code as a starting point for your projects.

-----------------------------------------------------------
For suggestions, bug or error reports, please contact the 
development team:

office@voxel.at
2013 - VoXel Interaction Design.

