GLRenderer Class Reference
OpenGL 3D renderer. More...
#include <glrenderer.hpp>
Inheritance diagram for GLRenderer:

Classes | |
class | ErrorGLInit |
Class for OpenGL initialization error. More... | |
Public Member Functions | |
GLRenderer (GtkWidget *darea) | |
virtual void | start_rendering (void) |
virtual void | end_rendering (cairo_t *cairo) |
virtual void | set_material_diffuse_color (Vec3D color) |
virtual void | set_material_ambient_color (Vec3D color) |
virtual void | set_color (Vec3D color) |
virtual void | disable_lighting (void) |
virtual void | enable_lighting (void) |
virtual void | enable_view_settings (void) |
virtual void | flat_triangle (const Vec3D &x0, const Vec3D &x1, const Vec3D &x2, const Vec3D &n) |
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) |
virtual void | line (const Vec3D &x0, const Vec3D &x1) |
![]() | |
void | set_light_diffuse_color (Vec3D color) |
void | set_light_location (Vec3D location) |
void | set_light_ambient_color (Vec3D color) |
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) |
Additional Inherited Members | |
![]() | |
Vec3D | _light_diffuse_color |
Vec3D | _light_location |
Vec3D | _light_ambient_color |
Transformation | _model |
Transformation | _view |
Transformation | _projection |
Detailed Description
OpenGL 3D renderer.
The documentation for this class was generated from the following files:
- glrenderer.hpp
- glrenderer.cpp