2 #ifndef GRAMODS_GRAPHICS_GEOMETRY
3 #define GRAMODS_GRAPHICS_GEOMETRY
5 #include <gmCore/Object.hh>
6 #include <gmCore/OFactory.hh>
8 #include <gmGraphics/Camera.hh>
13 BEGIN_NAMESPACE_GMGRAPHICS;
25 std::unique_ptr<Impl> _impl;
53 virtual bool getCameraFromPosition(
Camera vfrustum,
54 Eigen::Vector3f position,
83 void setInside(
bool on);
95 END_NAMESPACE_GMGRAPHICS;
Base type for objects in the Gramods package for standardized handling of construction,...
Definition: Object.hh:42
The base of graphics Camera implementations.
Definition: Camera.hh:19
A Geometry contains information for projection of graphics on a geometrical shape,...
Definition: Geometry.hh:20
virtual std::string getDefaultKey() override
Returns the default key, in Configuration, for the Object.
Definition: Geometry.hh:89
virtual void setMapperUniforms(GLuint)
Called by the code that is using this geometry object, to let the it set the uniforms used by the map...
Definition: Geometry.hh:74
virtual std::string getIntersectionCode()
Returns shader code that implements the necessary functions for the specific geometry.
Definition: Geometry.hh:68
Definition: Geometry.impl.hh:6