#include <renderer.h>
Inheritance diagram for VIEW::Renderer:

Predicates | |
| bool | operator== (const Renderer &) const throw () |
| virtual void | render_ (const GeometricObject *object) throw () |
| Wrapper for the renderering of special GeometricObjects. | |
| virtual void | renderClippingPlane_ (const ClippingPlane &) throw () |
| virtual void | renderLabel_ (const Label &) throw () |
| virtual void | renderLine_ (const Line &) throw () |
| Render a line. | |
| virtual void | renderMultiLine_ (const MultiLine &) throw () |
| Render an illuminated line. | |
| virtual void | renderMesh_ (const Mesh &) throw () |
| Render a surface mesh. | |
| virtual void | renderPoint_ (const Point &) throw () |
| Render a single point. | |
| virtual void | renderBox_ (const Box &) throw () |
| Render a box. | |
| virtual void | renderSimpleBox_ (const SimpleBox &) throw () |
| Render a simple box (parallel to the axes). | |
| virtual void | renderSphere_ (const Sphere &) throw () |
| Render a sphere. | |
| virtual void | renderDisc_ (const Disc &) throw () |
| Render a disc. | |
| virtual void | renderTube_ (const Tube &) throw () |
| Render a tube. | |
| virtual void | renderTwoColoredLine_ (const TwoColoredLine &) throw () |
| Render a line with two colors. | |
| virtual void | renderTwoColoredTube_ (const TwoColoredTube &) throw () |
| Render a tube with two colors. | |
| virtual void | renderGridVisualisation_ (const GridVisualisation &) throw () |
| Render a grid. | |
| virtual void | renderQuadMesh_ (const QuadMesh &) throw () |
| Render a quad mesh. | |
Public Member Functions | |
Constructors and Destructors | |
| Renderer () throw () | |
| Default Constructor. | |
| Renderer (const Renderer &renderer) throw () | |
| Copy constructor. | |
| virtual | ~Renderer () throw () |
| Destructor. | |
| virtual void | clear () throw () |
| Explicit default initialization. | |
| virtual bool | init (const Stage &stage, float height, float width) throw () |
| Initialisation with the Stage. | |
| virtual bool | finish () throw () |
Accessors | |
| virtual bool | render (const Representation &representation) throw () |
| Render a Representation. | |
| virtual const Stage & | getStage () const throw () |
| Get the stage for the renderer (const). | |
| virtual void | setStage (const Stage &stage) throw () |
| Set the stage for the renderer. | |
| bool | hasStage () const throw () |
| Test if a Stage was assigned to the Renderer. | |
| virtual void | setSize (float width, float height) throw () |
| Set the size of the display. | |
| virtual float | getWidth () const throw () |
| virtual float | getHeight () const throw () |
Protected Attributes | |
| const Stage * | stage_ |
| float | width_ |
| float | height_ |
Derived classes are GLRenderer and POVRenderer. Every renderer has a pointer to a Stage object, which contains the viewpoint, the LightSource, etc. The renderer also knows the width and height, of the display, it shall render.
|
|
Default Constructor.
|
|
|
Copy constructor.
|
|
|
Explicit default initialization.
Reimplemented from Object. Reimplemented in VIEW::GLRenderer, VIEW::POVRenderer, and VIEW::VRMLRenderer. |
|
||||||||||||||||
|
Initialisation with the Stage. Called by Scene::exportScene(). Reimplemented in VIEW::GLRenderer, and VIEW::POVRenderer. |
|
|
Render a Representation.
Reimplemented in VIEW::POVRenderer. |