| HDCallbackCode HDCALLBACK sofa::component::controller::copyDeviceDataCallback | ( | void * | pUserData | ) |
Definition at line 213 of file OmniDriver.cpp.
References sofa::component::controller::OmniData::deviceData, sofa::component::controller::DeviceData::nupdates, sofa::component::controller::DeviceData::ready, and sofa::component::controller::OmniData::servoDeviceData.
Referenced by sofa::component::controller::OmniDriver::handleEvent().
| void sofa::component::controller::exitHandler | ( | ) |
| int sofa::component::controller::initDevice | ( | OmniData * | data | ) |
Sets up the device,.
Definition at line 233 of file OmniDriver.cpp.
References sofa::component::controller::OmniData::deviceData, error, hHD, hStateHandle, isInitialized, sofa::component::controller::DeviceData::quat, sofa::component::controller::DeviceData::ready, sofa::component::controller::OmniData::servoDeviceData, stateCallback(), and sofa::component::controller::DeviceData::stop.
Referenced by sofa::component::controller::OmniDriver::init().
| HDCallbackCode HDCALLBACK sofa::component::controller::stateCallback | ( | void * | userData | ) |
Definition at line 87 of file OmniDriver.cpp.
References error, sofa::component::controller::OmniData::forceFeedback, sofa::component::controller::OmniData::forceScale, sofa::helper::Quater< Real >::fromMatrix(), sofa::component::controller::DeviceData::m_buttonState1, sofa::component::controller::DeviceData::m_buttonState2, sofa::helper::Quater< Real >::normalize(), sofa::component::controller::DeviceData::nupdates, sofa::component::controller::DeviceData::pos, sofa::component::controller::DeviceData::quat, sofa::component::controller::DeviceData::ready, sofa::component::controller::OmniData::rotation, sofa::component::controller::OmniData::scale, sofa::component::controller::OmniData::servoDeviceData, sofa::component::controller::DeviceData::stop, and sofa::component::controller::OmniData::translation.
Referenced by initDevice().
| HDCallbackCode HDCALLBACK sofa::component::controller::stopCallback | ( | void * | pUserData | ) |
Definition at line 223 of file OmniDriver.cpp.
References sofa::component::controller::OmniData::servoDeviceData, and sofa::component::controller::DeviceData::stop.
Referenced by sofa::component::controller::OmniDriver::cleanup().
Initial value:
core::RegisterObject("")
.add< ArticulatedHierarchyBVHController >()
Definition at line 136 of file ArticulatedHierarchyBVHController.cpp.
Initial value:
core::RegisterObject("")
.add< ArticulatedHierarchyController >()
Definition at line 419 of file ArticulatedHierarchyController.cpp.
Initial value:
core::RegisterObject("") .add< EdgeSetController<Rigid3dTypes> >() .add< EdgeSetController<Rigid3fTypes> >()
Definition at line 58 of file EdgeSetController.cpp.
Initial value:
sofa::core::RegisterObject("Eslavement force feedback for the omni") .add< EnslavementForceFeedback >()
Definition at line 76 of file EnslavementForceFeedback.cpp.
HHD sofa::component::controller::hHD = HD_INVALID_HANDLE [static] |
HDSchedulerHandle sofa::component::controller::hStateHandle = HD_INVALID_HANDLE [static] |
bool sofa::component::controller::isInitialized = false [static] |
Definition at line 83 of file OmniDriver.cpp.
Referenced by sofa::component::controller::OmniDriver::cleanup(), and initDevice().
Initial value:
sofa::core::RegisterObject("LCP force feedback for the omni") .add< LCPForceFeedback >()
Definition at line 240 of file LCPForceFeedback.cpp.
Initial value:
core::RegisterObject("") .add< MechanicalStateController<Rigid3dTypes> >() .add< MechanicalStateController<Rigid3fTypes> >()
Definition at line 58 of file MechanicalStateController.cpp.
Initial value:
sofa::core::RegisterObject("Null force feedback for the omni") .add< NullForceFeedback >()
Definition at line 51 of file NullForceFeedback.cpp.
Initial value:
core::RegisterObject("Solver to test compliance computation for new articulated system objects")
.add< OmniDriver >()
Definition at line 366 of file OmniDriver.cpp.
1.5.7.1