All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SurgSim::Device::PhantomScaffold::DeviceData Struct Reference
Collaboration diagram for SurgSim::Device::PhantomScaffold::DeviceData:
Collaboration graph
[legend]

Public Member Functions

 DeviceData (const std::string &apiName, PhantomDevice *device)
 Initialize the state. More...
 

Public Attributes

const std::string initializationName
 The OpenHaptics device name. More...
 
PhantomDevice *const deviceObject
 The corresponding device object. More...
 
PhantomScaffold::Handle deviceHandle
 The device handle wrapper. More...
 
int buttonsBuffer
 The raw button state read from the device. More...
 
Vector3d position
 The position value from the device. More...
 
Vector3d linearVelocity
 The linear velocity value from the device. More...
 
RigidTransform3d scaledPose
 The pose value from the device, after scaling. More...
 
Vector3d force
 The force value to be written to the device, in Newtons. More...
 
Vector3d torque
 The torque value to be written to the device, in milliNewton-meters. More...
 

Private Member Functions

 DeviceData (const DeviceData &)
 
DeviceDataoperator= (const DeviceData &)
 

Constructor & Destructor Documentation

SurgSim::Device::PhantomScaffold::DeviceData::DeviceData ( const std::string &  apiName,
PhantomDevice device 
)
inline

Initialize the state.

SurgSim::Device::PhantomScaffold::DeviceData::DeviceData ( const DeviceData )
private

Member Function Documentation

DeviceData& SurgSim::Device::PhantomScaffold::DeviceData::operator= ( const DeviceData )
private

Member Data Documentation

int SurgSim::Device::PhantomScaffold::DeviceData::buttonsBuffer

The raw button state read from the device.

PhantomScaffold::Handle SurgSim::Device::PhantomScaffold::DeviceData::deviceHandle

The device handle wrapper.

PhantomDevice* const SurgSim::Device::PhantomScaffold::DeviceData::deviceObject

The corresponding device object.

Vector3d SurgSim::Device::PhantomScaffold::DeviceData::force

The force value to be written to the device, in Newtons.

const std::string SurgSim::Device::PhantomScaffold::DeviceData::initializationName

The OpenHaptics device name.

Vector3d SurgSim::Device::PhantomScaffold::DeviceData::linearVelocity

The linear velocity value from the device.

Vector3d SurgSim::Device::PhantomScaffold::DeviceData::position

The position value from the device.

RigidTransform3d SurgSim::Device::PhantomScaffold::DeviceData::scaledPose

The pose value from the device, after scaling.

Vector3d SurgSim::Device::PhantomScaffold::DeviceData::torque

The torque value to be written to the device, in milliNewton-meters.


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