OgreHaptics::DeviceState Struct Reference

Structure holding data describing the state of a device, excluding calibration state. More...

#include <OgreHapticsDevice.h>

List of all members.

Public Member Functions

 DeviceState ()
 Standard constructor.
 DeviceState (const DeviceState &rhs)
 Copy constructor.
DeviceStateoperator= (const DeviceState &rhs)
 Assignment operator - copies all data from the target state.

Public Attributes

int buttons
 The status of the buttons.
Vector3 force
 The measured force applied in N.
Vector3 torque
 The measured torque applied (if the hardware supports torque) in Nm.
Vector3 position
 The position of the device.
Vector3 linearVelocity
 The linear velocity of the device.
Vector3 angularVelocity
 The angular velocity of the device.
Quaternion orientation
 The orientation of the device.


Detailed Description

Structure holding data describing the state of a device, excluding calibration state.

Definition at line 147 of file OgreHapticsDevice.h.


Constructor & Destructor Documentation

OgreHaptics::DeviceState::DeviceState (  ) 

Standard constructor.

Definition at line 150 of file OgreHapticsDevice.h.

OgreHaptics::DeviceState::DeviceState ( const DeviceState rhs  ) 

Copy constructor.

Definition at line 160 of file OgreHapticsDevice.h.


Member Function Documentation

DeviceState& OgreHaptics::DeviceState::operator= ( const DeviceState rhs  ) 

Assignment operator - copies all data from the target state.

Definition at line 186 of file OgreHapticsDevice.h.

References angularVelocity, buttons, force, linearVelocity, orientation, position, and torque.


Member Data Documentation

The status of the buttons.

Definition at line 171 of file OgreHapticsDevice.h.

Referenced by operator=().

The measured force applied in N.

Definition at line 173 of file OgreHapticsDevice.h.

Referenced by operator=().

The measured torque applied (if the hardware supports torque) in Nm.

Definition at line 175 of file OgreHapticsDevice.h.

Referenced by operator=().

The position of the device.

Definition at line 177 of file OgreHapticsDevice.h.

Referenced by operator=().

The linear velocity of the device.

Definition at line 179 of file OgreHapticsDevice.h.

Referenced by operator=().

The angular velocity of the device.

Definition at line 181 of file OgreHapticsDevice.h.

Referenced by operator=().

The orientation of the device.

Definition at line 183 of file OgreHapticsDevice.h.

Referenced by operator=().


The documentation for this struct was generated from the following file:

Last modified Tue Jan 6 22:31:25 2009