TrackPointRenderer.hpp 521 B

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