TrackPointRenderer.hpp 505 B

12345678910111213141516171819202122
  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. std::vector<PointShape*> getShapes();
  14. private:
  15. OSGWidget* _osgWidget;
  16. osg::ref_ptr<osg::Group> _renderRoot;
  17. std::vector<PointShape*> _shapes;
  18. };