2 #ifndef GRAMODS_GRAPHICS_OSGRENDERER
3 #define GRAMODS_GRAPHICS_OSGRENDERER
5 #include <gmGraphics/Renderer.hh>
7 #ifdef gramods_ENABLE_OpenSceneGraph
9 #include <gmCore/Updateable.hh>
15 BEGIN_NAMESPACE_GMGRAPHICS;
34 void setFrameNumber(
unsigned int n);
39 void render(
const Camera &camera,
const Eigen::Affine3f &Mm)
override;
44 void getNearFar(
const Camera &camera,
45 const Eigen::Affine3f &Mm,
52 void setSceneData(osg::Node *node);
57 void update(clock::time_point time,
size_t frame)
override;
61 std::unique_ptr<Impl> _impl;
64 END_NAMESPACE_GMGRAPHICS;
The Updateable class defines an interface for objects that may be updated, for example each execution...
Definition: Updateable.hh:18
The base of graphics Camera implementations.
Definition: Camera.hh:19
A renderer that renders an OpenSceneGraph scenegraph.
Definition: OsgRenderer.hh:22
The base of graphics Renderer implementations.
Definition: Renderer.hh:17
Definition: OsgRenderer.cpp:11