- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# cPhantom3dofPointer Class Reference

cPhantom3dofPointer connects the Phantom haptic device as a simple pointer in space. The tool is visually graphically rendered by a small sphere illustrating the tip of the device. More...

`#include <CPhantom3dofPointer.h>`

Inheritance diagram for cPhantom3dofPointer:

List of all members.

## Public Member Functions
| cPhantom3dofPointer (cWorld *a_world, unsigned int a_deviceNumber=0, bool dio_access=false)
| Constructor of cPhantom3dofPointer.
virtual | ~cPhantom3dofPointer ()
| Destructor of cPhantom3dofPointer.

## Detailed Description

cPhantom3dofPointer connects the Phantom haptic device as a simple pointer in space. The tool is visually graphically rendered by a small sphere illustrating the tip of the device.

## Constructor & Destructor Documentation

cPhantom3dofPointer::cPhantom3dofPointer | ( | cWorld * | a_world,
|  | unsigned int | a_deviceNumber = `0`,
|  | bool | dio_access = `false` |
| ) |  |  |

Constructor of cPhantom3dofPointer.

Constructor of cPhantom3dofPointer. First parameter is connected to the name of the device that is declared in the control panel and defaults to "Default PHANToM". If the phantom does not start this may be the reason.

Parameters:

  | a_world | World in which the tool will operate.
  | a_deviceNumber | 0-based index of the Phantom that this tool should talk to.
  | dio_access | If this is 'true', the tool will use the Ghost API's direct-i/o model, if it's available. Otherwise the gstEffect i/o model will be used.

cPhantom3dofPointer::~cPhantom3dofPointer | ( |  | ) | `[virtual]`

Destructor of cPhantom3dofPointer.

Destructor of cPhantom3dofPointer.

The documentation for this class was generated from the following files:

- chai3d/src/tools/CPhantom3dofPointer.h
- chai3d/src/tools/CPhantom3dofPointer.cpp