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

overrides

parent 199c63f6
......@@ -167,16 +167,16 @@ public:
ACG_CLASSNAME(BSplineCurveNodeT);
/// 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;
void set_rendering_resolution(int _res){resolution_ = _res;};
......@@ -217,7 +217,7 @@ private:
void render(GLState& _state, bool _fill, DrawModes::DrawMode _drawMode);
void getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawMode& _drawMode , const Material* _mat);
void getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawMode& _drawMode , const Material* _mat) override;
/// Renders the control polygon
void drawControlPolygon(DrawModes::DrawMode _drawMode, GLState& _state);
......
......@@ -163,19 +163,19 @@ class BSplineSurfaceNodeT : public BaseNode
ACG_CLASSNAME(BSplineSurfaceNodeT);
/// 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;
/// create render objects
void getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawMode& _drawMode , const Material* _mat);
void getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawMode& _drawMode , const Material* _mat) override;
/// picking
void pick(GLState& _state, PickTarget _target);
void pick(GLState& _state, PickTarget _target) override;
/// update vertex buffer for rendering
void updateGeometry();
......
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