Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 23 files). Show all
Unified · Split
| @@ -109,6 +109,18 @@ void PickScriptingInterface::setIncludeItems(unsigned int uid, const QScriptValu · 108 unmodified lines | |||
| 109 | DependencyManager::get<PickManager>()->setIncludeItems(uid, qVectorQUuidFromScriptValue(includeItems)); | 109 | DependencyManager::get<PickManager>()->setIncludeItems(uid, qVectorQUuidFromScriptValue(includeItems)); |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | bool PickScriptingInterface::isLeftHand(unsigned int uid) { | ||
| 113 | return DependencyManager::get<PickManager>()->isLeftHand(uid); | ||
| 114 | } | ||
| 115 | |||
| 116 | bool PickScriptingInterface::isRightHand(unsigned int uid) { | ||
| 117 | return DependencyManager::get<PickManager>()->isRightHand(uid); | ||
| 118 | } | ||
| 119 | |||
| 120 | bool PickScriptingInterface::isMouse(unsigned int uid) { | ||
| 121 | return DependencyManager::get<PickManager>()->isMouse(uid); | ||
| 122 | } | ||
| 123 | |||
| 112 | QScriptValue pickTypesToScriptValue(QScriptEngine* engine, const PickQuery::PickType& pickType) { | 124 | QScriptValue pickTypesToScriptValue(QScriptEngine* engine, const PickQuery::PickType& pickType) { |
| 113 | return pickType; | 125 | return pickType; |
| 114 | } | 126 | } |