OptiTrackPoint.hpp 588 B

1234567891011121314151617181920
  1. #pragma once
  2. // Include modules
  3. #include "defaults.hpp"
  4. #include "TrackPoint.hpp"
  5. #include "TrackSystemSettingsStructs.hpp"
  6. class OptiTrackPoint: public TrackPoint {
  7. public:
  8. OptiTrackPoint(const osg::Vec3 point, const osg::Vec3 normal, const osg::Vec3 normalModifier, const double length = OPTITRACK_DEFAULT_LENGTH, const double radius = OPTITRACK_DEFAULT_RADIUS);
  9. double getLength();
  10. double getRadius();
  11. OptiTrackSettings getOptiTrackSettings();
  12. void updateOptiTrackSettings(OptiTrackSettings settings);
  13. private:
  14. void updateShift();
  15. double _length;
  16. double _radius;
  17. };