Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 21 files). Show all
Unified · Split
| @@ -236,3 +236,83 @@ QVariant HMDScriptingInterface::getPlayAreaRect() { · 235 unmodified lines | |||
| 236 | QVector<glm::vec3> HMDScriptingInterface::getSensorPositions() { | 236 | QVector<glm::vec3> HMDScriptingInterface::getSensorPositions() { |
| 237 | return qApp->getActiveDisplayPlugin()->getSensorPositions(); | 237 | return qApp->getActiveDisplayPlugin()->getSensorPositions(); |
| 238 | } | 238 | } |
| 239 | |||
| 240 | float HMDScriptingInterface::getVisionSqueezeRatioX() const { | ||
| 241 | return qApp->getVisionSqueeze().getVisionSqueezeRatioX(); | ||
| 242 | } | ||
| 243 | |||
| 244 | float HMDScriptingInterface::getVisionSqueezeRatioY() const { | ||
| 245 | return qApp->getVisionSqueeze().getVisionSqueezeRatioY(); | ||
| 246 | } | ||
| 247 | |||
| 248 | void HMDScriptingInterface::setVisionSqueezeRatioX(float value) { | ||
| 249 | qApp->getVisionSqueeze().setVisionSqueezeRatioX(value); | ||
| 250 | } | ||
| 251 | |||
| 252 | void HMDScriptingInterface::setVisionSqueezeRatioY(float value) { | ||
| 253 | qApp->getVisionSqueeze().setVisionSqueezeRatioY(value); | ||
| 254 | } | ||
| 255 | |||
| 256 | float HMDScriptingInterface::getVisionSqueezeUnSqueezeDelay() const { | ||
| 257 | return qApp->getVisionSqueeze().getVisionSqueezeUnSqueezeDelay(); | ||
| 258 | } | ||
| 259 | |||
| 260 | void HMDScriptingInterface::setVisionSqueezeUnSqueezeDelay(float value) { | ||
| 261 | qApp->getVisionSqueeze().setVisionSqueezeUnSqueezeDelay(value); | ||
| 262 | } | ||
| 263 | |||
| 264 | float HMDScriptingInterface::getVisionSqueezeUnSqueezeSpeed() const { | ||
| 265 | return qApp->getVisionSqueeze().getVisionSqueezeUnSqueezeSpeed(); | ||
| 266 | } | ||
| 267 | |||
| 268 | void HMDScriptingInterface::setVisionSqueezeUnSqueezeSpeed(float value) { | ||
| 269 | qApp->getVisionSqueeze().setVisionSqueezeUnSqueezeSpeed(value); | ||
| 270 | } | ||
| 271 | |||
| 272 | float HMDScriptingInterface::getVisionSqueezeTransition() const { | ||
| 273 | return qApp->getVisionSqueeze().getVisionSqueezeTransition(); | ||
| 274 | } | ||
| 275 | |||
| 276 | void HMDScriptingInterface::setVisionSqueezeTransition(float value) { | ||
| 277 | qApp->getVisionSqueeze().setVisionSqueezeTransition(value); | ||
| 278 | } | ||
| 279 | |||
| 280 | int HMDScriptingInterface::getVisionSqueezePerEye() const { | ||
| 281 | return qApp->getVisionSqueeze().getVisionSqueezePerEye(); | ||
| 282 | } | ||
| 283 | |||
| 284 | void HMDScriptingInterface::setVisionSqueezePerEye(int value) { | ||
| 285 | qApp->getVisionSqueeze().setVisionSqueezePerEye(value); | ||
| 286 | } | ||
| 287 | |||
| 288 | float HMDScriptingInterface::getVisionSqueezeGroundPlaneY() const { | ||
| 289 | return qApp->getVisionSqueeze().getVisionSqueezeGroundPlaneY(); | ||
| 290 | } | ||
| 291 | |||
| 292 | void HMDScriptingInterface::setVisionSqueezeGroundPlaneY(float value) { | ||
| 293 | qApp->getVisionSqueeze().setVisionSqueezeGroundPlaneY(value); | ||
| 294 | } | ||
| 295 | |||
| 296 | float HMDScriptingInterface::getVisionSqueezeSpotlightSize() const { | ||
| 297 | return qApp->getVisionSqueeze().getVisionSqueezeSpotlightSize(); | ||
| 298 | } | ||
| 299 | |||
| 300 | void HMDScriptingInterface::setVisionSqueezeSpotlightSize(float value) { | ||
| 301 | qApp->getVisionSqueeze().setVisionSqueezeSpotlightSize(value); | ||
| 302 | } | ||
| 303 | |||
| 304 | float HMDScriptingInterface::getVisionSqueezeTurningXFactor() const { | ||
| 305 | return qApp->getVisionSqueeze().getVisionSqueezeTurningXFactor(); | ||
| 306 | } | ||
| 307 | |||
| 308 | void HMDScriptingInterface::setVisionSqueezeTurningXFactor(float value) { | ||
| 309 | qApp->getVisionSqueeze().setVisionSqueezeTurningXFactor(value); | ||
| 310 | } | ||
| 311 | |||
| 312 | float HMDScriptingInterface::getVisionSqueezeTurningYFactor() const { | ||
| 313 | return qApp->getVisionSqueeze().getVisionSqueezeTurningYFactor(); | ||
| 314 | } | ||
| 315 | |||
| 316 | void HMDScriptingInterface::setVisionSqueezeTurningYFactor(float value) { | ||
| 317 | qApp->getVisionSqueeze().setVisionSqueezeTurningYFactor(value); | ||
| 318 | } | ||