Renderer Class Referenceabstract
3D renderer base class. More...
#include <renderer.hpp>
Inheritance diagram for Renderer:

Public Member Functions | |
void | set_light_diffuse_color (Vec3D color) |
void | set_light_location (Vec3D location) |
void | set_light_ambient_color (Vec3D color) |
virtual void | set_material_diffuse_color (Vec3D color)=0 |
virtual void | set_material_ambient_color (Vec3D color)=0 |
virtual void | set_color (Vec3D color)=0 |
void | set_model_transformation (const Transformation &model) |
void | set_projection_frustum (double left, double right, double bottom, double top, double near, double far) |
void | set_view_look_at (const Vec3D &camera, const Vec3D &target, const Vec3D &up) |
virtual void | start_rendering (void)=0 |
virtual void | end_rendering (cairo_t *cairo)=0 |
virtual void | disable_lighting (void)=0 |
virtual void | enable_lighting (void)=0 |
virtual void | enable_view_settings (void)=0 |
virtual void | flat_triangle (const Vec3D &x0, const Vec3D &x1, const Vec3D &x2, const Vec3D &n)=0 |
virtual void | shaded_triangle (const Vec3D &x0, const Vec3D &c0, const Vec3D &x1, const Vec3D &c1, const Vec3D &x2, const Vec3D &c2, const Vec3D &n)=0 |
virtual void | line (const Vec3D &x0, const Vec3D &x1)=0 |
Protected Attributes | |
Vec3D | _light_diffuse_color |
Vec3D | _light_location |
Vec3D | _light_ambient_color |
Transformation | _model |
Transformation | _view |
Transformation | _projection |
Detailed Description
3D renderer base class.
Front-end for 3D renderer classes used in 3D geometry plotters.
The documentation for this class was generated from the following files: