Commit 45a96cf4 authored by Jan Möbius's avatar Jan Möbius

overrides

parent 8d4bc8ad
......@@ -113,19 +113,19 @@ public:
ACG_CLASSNAME( SplatCloudNode );
/// return available draw modes
inline DrawModes::DrawMode availableDrawModes() const { return splatsDrawMode_ | dotsDrawMode_ | pointsDrawMode_; }
inline DrawModes::DrawMode availableDrawModes() const override { return splatsDrawMode_ | dotsDrawMode_ | pointsDrawMode_; }
/// update bounding box
void boundingBox( ACG::Vec3d &_bbMin, ACG::Vec3d &_bbMax );
void boundingBox( ACG::Vec3d &_bbMin, ACG::Vec3d &_bbMax ) override;
/// draw the SplatCloud
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;
// TODO: hack, because pick() doesn't get a drawmode
inline void enterPick( GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode ) { pickDrawMode_ = _drawMode; }
......
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