SteamVRTrackPoint.hpp 516 B

123456789101112131415161718
  1. #pragma once
  2. // Include modules
  3. #include "defaults.hpp"
  4. #include "TrackPoint.hpp"
  5. #include "TrackSystemSettingsStructs.hpp"
  6. class SteamVRTrackPoint: public TrackPoint {
  7. public:
  8. SteamVRTrackPoint(const osg::Vec3 point, const osg::Vec3 normal, const osg::Vec3 normalModifier, const double length = STEAMVR_DEFAULT_LENGTH);
  9. double getLength();
  10. SteamVRTrackSettings getSteamVRTrackSettings();
  11. void updateSteamVRTrackSettings(SteamVRTrackSettings settings);
  12. private:
  13. void updateShift();
  14. double _length;
  15. };