TrackPointRenderer.hpp 465 B

123456789101112131415161718192021
  1. #pragma once
  2. // Include modules
  3. #include "enums.hpp"
  4. #include "OSGWidget.hpp"
  5. #include "PointShape.hpp"
  6. // Include dependencies
  7. #include <osg/Group>
  8. class TrackPointRenderer {
  9. public:
  10. TrackPointRenderer(OSGWidget* osgWidget, osg::ref_ptr<osg::Group> renderRoot);
  11. ~TrackPointRenderer();
  12. void render(ActiveTrackingSystem activeTrackingSystem);
  13. private:
  14. OSGWidget* _osgWidget;
  15. osg::ref_ptr<osg::Group> _renderRoot;
  16. std::vector<PointShape*> _shapes;
  17. };