2 #ifndef GRAMODS_GRAPHICS_SPHERESCENERENDERER
3 #define GRAMODS_GRAPHICS_SPHERESCENERENDERER
6 #include <gmCore/io_eigen.hh>
8 #include <gmGraphics/Renderer.hh>
10 #include <gmCore/OFactory.hh>
12 BEGIN_NAMESPACE_GMGRAPHICS;
28 void render(
const Camera &camera,
const Eigen::Affine3f &Mm)
override;
36 void getNearFar(
const Camera &camera,
37 const Eigen::Affine3f &Mm,
46 void setSphereRadius(
float r);
53 void setSphereSetRadius(
float r);
61 void setFillRatio(
float r);
68 void setColor(Eigen::Vector3f c);
75 std::unique_ptr<Impl> _impl;
79 END_NAMESPACE_GMGRAPHICS;
The base of graphics Camera implementations.
Definition: Camera.hh:19
The base of graphics Renderer implementations.
Definition: Renderer.hh:17
A renderer that draws a set of spheres, for demonstration and testing purposes.
Definition: SphereSceneRenderer.hh:19
Definition: SphereSceneRenderer.cpp:26