#include <renderable.h>
Public Member Functions | |
STRING_CONSTANT (Name,"Renderable") | |
virtual | ~Renderable () |
virtual void | renderSolid (Renderer &renderer, const VolumeTest &volume) const =0 |
virtual void | renderWireframe (Renderer &renderer, const VolumeTest &volume) const =0 |
virtual void | renderComponents (Renderer &, const VolumeTest &) const |
virtual void | viewChanged () const |
Interface class for Renderable objects. All objects which wish to be rendered need to implement this interface. During the scenegraph traversal for rendering, each Renderable object is passed a Renderer object which it can use to submit its geometry and state parameters.
Definition at line 84 of file renderable.h.
virtual Renderable::~Renderable | ( | ) | [inline, virtual] |
Definition at line 89 of file renderable.h.
virtual void Renderable::renderComponents | ( | Renderer & | , | |
const VolumeTest & | ||||
) | const [inline, virtual] |
Reimplemented in BrushInstance.
Definition at line 97 of file renderable.h.
virtual void Renderable::renderSolid | ( | Renderer & | renderer, | |
const VolumeTest & | volume | |||
) | const [pure virtual] |
Submit renderable geometry when rendering takes place in Solid mode.
Implemented in RenderableConnectionLines, BrushInstance, routing::Routing, and scripts::Particle.
virtual void Renderable::renderWireframe | ( | Renderer & | renderer, | |
const VolumeTest & | volume | |||
) | const [pure virtual] |
Submit renderable geometry when rendering takes place in Wireframe mode
Implemented in RenderableConnectionLines, BrushInstance, routing::Routing, and scripts::Particle.
Renderable::STRING_CONSTANT | ( | Name | , | |
"Renderable" | ||||
) |
virtual void Renderable::viewChanged | ( | ) | const [inline, virtual] |
Reimplemented in BrushInstance.
Definition at line 100 of file renderable.h.