HudCallback.hpp 322 B

123456789101112131415
  1. #pragma once
  2. // Include dependencies
  3. #include <osg/Node>
  4. #include <osg/NodeVisitor>
  5. #include <osg/Camera>
  6. class HudCallback: public osg::NodeCallback {
  7. public:
  8. HudCallback(osg::Camera* camera);//: m_viewer(viewer);
  9. virtual void operator()(osg::Node* node, osg::NodeVisitor* nv);
  10. private:
  11. osg::Camera* _camera;
  12. };