com.primesense.nite
Class NiTE

java.lang.Object
  extended by com.primesense.nite.NiTE

public class NiTE
extends java.lang.Object

The NiTE class is a static entry point to the library. All applications that expect to use the NiTE middleware should run the NiTE.initialize() function before


Constructor Summary
NiTE()
           
 
Method Summary
static Version getVersion()
          This function allows you to obtain the current version of the NiTE installation.
static void initialize()
          Initializes the NiTE API.
static void shutdown()
          Shuts down the API, properly releasing all resources used by NiTE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NiTE

public NiTE()
Method Detail

initialize

public static void initialize()
Initializes the NiTE API. This function should be called before using any other API functionality.


shutdown

public static void shutdown()
Shuts down the API, properly releasing all resources used by NiTE. This should be called by all NiTE applications before they close.


getVersion

public static Version getVersion()
This function allows you to obtain the current version of the NiTE installation. This is useful for verifying application compatibility with the currently used version of NiTE, and for reporting this information to the user for troubleshooting purposes. In general, there should be minimal version conflict problems, as NiTE and OpenNI applications each contain their own copy of the API runtime files.

Returns:
The version of the current NiTE installation.