Commit e2dbe2e0 authored by Jan Möbius's avatar Jan Möbius

overrides

parent 2a2a02ec
......@@ -105,16 +105,16 @@ public:
ACG_CLASSNAME(PolyLineNodeT);
/// return available draw modes
DrawModes::DrawMode availableDrawModes() const;
DrawModes::DrawMode availableDrawModes() const override;
/// update bounding box
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax);
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax) override;
/// draw lines and normals
void draw(GLState& /*_state*/,const DrawModes::DrawMode& _drawMode);
void draw(GLState& /*_state*/,const DrawModes::DrawMode& _drawMode) override;
/// picking
void pick(GLState& _state, PickTarget _target);
void pick(GLState& _state, PickTarget _target) override;
/** \brief Add the objects to the given renderer
*
......@@ -123,7 +123,7 @@ public:
* @param _drawMode The active draw mode
* @param _mat Current material
*/
void getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::SceneGraph::DrawModes::DrawMode& _drawMode , const ACG::SceneGraph::Material* _mat);
void getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::SceneGraph::DrawModes::DrawMode& _drawMode , const ACG::SceneGraph::Material* _mat) override;
/// Trigger an update of the vbo
void update() { updateVBO_ = true; };
......
......@@ -92,16 +92,16 @@ public:
ACG_CLASSNAME(PolyLineCollectionNodeT);
/// return available draw modes
DrawModes::DrawMode availableDrawModes() const;
DrawModes::DrawMode availableDrawModes() const override;
/// update bounding box
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax);
void boundingBox(Vec3d& _bbMin, Vec3d& _bbMax) override;
/// draw lines and normals
void draw(GLState& /*_state*/,const DrawModes::DrawMode& _drawMode);
void draw(GLState& /*_state*/,const DrawModes::DrawMode& _drawMode) override;
/// picking
void pick(GLState& _state, PickTarget _target);
void pick(GLState& _state, PickTarget _target) override;
/** \brief Add the objects to the given renderer
*
......@@ -110,7 +110,7 @@ public:
* @param _drawMode The active draw mode
* @param _mat Current material
*/
void getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::SceneGraph::DrawModes::DrawMode& _drawMode , const ACG::SceneGraph::Material* _mat);
void getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::SceneGraph::DrawModes::DrawMode& _drawMode , const ACG::SceneGraph::Material* _mat) override;
/// Trigger an update of the vbo
void update() { updateVBO_ = true; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment