2 #include <Engine/RaEngine.hpp>
8 #include <Core/Containers/VectorArray.hpp>
9 #include <Core/Geometry/TriangleMesh.hpp>
10 #include <Core/Utils/Color.hpp>
24 enum PickingRenderMode {
32 inline Displayable(
const std::string& name ) : m_name( name ) {}
42 inline const std::string&
getName()
const {
return m_name; }
61 virtual size_t getNumFaces()
const {
return 0; }
62 virtual size_t getNumVertices()
const {
return 0; }
65 PickingRenderMode m_pickingRenderMode { NO_PICKING };
68 std::string m_name {};
virtual void updateGL()=0
virtual void render(const ShaderProgram *prog)=0
const std::string & getName() const
Returns the name of the mesh.
PickingRenderMode pickingRenderMode() const
Returns the picking rendermode advised by the object (default PickingRenderMode::NO_PICKING)
virtual const Core::Geometry::AbstractGeometry & getAbstractGeometry() const =0