All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
MultiTouch Namespace Reference

MultiTouch is a library for computer-vision -based multi-touch screens. More...

Classes

class  Finger
 A class that represents a single finger. More...
 
class  Hand
 A class that represents a hand. More...
 
class  Marker
 Base class for different markers. More...
 
class  ObjectIdFactory
 Tracked object type flags. More...
 
class  Pen
 This class represents a pen. More...
 
class  Sample
 A fully processed sample from the computer vision component. More...
 
class  Screen
 This class provides a high-level API to a touch-screen. More...
 
class  TrackedObject
 This class represents all different objects that can be tracked by Cornerstone, like fingers, hands, pens, and markers. More...
 

Enumerations

enum  TrackedObjectType {
  TYPE_NONE = 0, TYPE_FINGER = 1, TYPE_HAND = 1 << 1, TYPE_PEN = 1 << 2,
  TYPE_MARKER = 1 << 3, TYPE_ALL = TYPE_FINGER | TYPE_HAND | TYPE_PEN | TYPE_MARKER
}
 Type of a tracked object. More...
 

Functions

QString cornerstoneRoot ()
 Get the path to the root folder of the Cornerstone runtime. More...
 
bool doHardwareCheck ()
 Checks if MultiTouch hardware can be found. More...
 
bool isSDK ()
 Check if the Cornerstone SDK is installed. More...
 
void setCornerstoneRoot (const QString &root)
 Manually set the root folder for Cornerstone. More...
 

Detailed Description

MultiTouch is a library for computer-vision -based multi-touch screens.

MultiTouch uses a series of near-infrared (NIR) cameras to track user interaction (fingers, hands etc) on a touch-screen.

About the coordinate systems: The configuration files indicate what are the "real" coordinates used by the display device and all functions return coordinates in those coordinates. It is quite common to output coordinates that match the application window coordinates exactly (i.e. coordinates are relative to te window top-left corner). Usually the origin of the coordinate system in the top-left corner (as in GUI programming), although you can change that to your liking with the configuration settings.

The MultiTouch library has been designed to be source- and binary-compatible across different SDK releases, to the extent possible.

Enumeration Type Documentation

Type of a tracked object.

Enumerator
TYPE_NONE 

"none", No type

TYPE_FINGER 

"finger", Finger

TYPE_HAND 

"hand", Hand

TYPE_PEN 

"pen", Pen

TYPE_MARKER 

"marker", Marker

TYPE_ALL 

"all", All objects

Function Documentation

QString MultiTouch::cornerstoneRoot ( )

Get the path to the root folder of the Cornerstone runtime.

Returns
path to Cornerstone root folder
See Also
setCornerstoneRoot
bool MultiTouch::doHardwareCheck ( )

Checks if MultiTouch hardware can be found.

Returns
true if we are running on MultiTouch Ltd. hardware
bool MultiTouch::isSDK ( )

Check if the Cornerstone SDK is installed.

Returns
true if the SDK has been installed
void MultiTouch::setCornerstoneRoot ( const QString &  root)

Manually set the root folder for Cornerstone.

This can be used to overrule the default path and select where to load data etc.

Parameters
rootCornerstone root path
See Also
cornerstoneRoot