Go to the documentation of this file.
44 #ifndef GLRENDERER_HPP
45 #define GLRENDERER_HPP 1
48 #include <gtk/gtkgl.h>
58 GdkGLContext *_glcontext;
59 GdkGLDrawable *_gldrawable;
61 Vec3D _material_diffuse_color;
62 Vec3D _material_ambient_color;
80 virtual void start_rendering(
void );
81 virtual void end_rendering(
void );
83 virtual void set_material_diffuse_color(
Vec3D color );
84 virtual void set_material_ambient_color(
Vec3D color );
85 virtual void set_color(
Vec3D color );
87 virtual void disable_lighting(
void );
88 virtual void enable_lighting(
void );
90 virtual void enable_view_settings(
void );
92 virtual void flat_triangle(
const Vec3D &x0,
96 virtual void shaded_triangle(
const Vec3D &x0,
const Vec3D &c0,
100 virtual void line(
const Vec3D &x0,
Basic error class.
Definition: error.hpp:142
3D renderer base class.
Definition: renderer.hpp:56
Class for OpenGL initialization error.
Definition: glrenderer.hpp:69
ErrorGLInit()
Error constructor.
Definition: glrenderer.hpp:74
OpenGL 3D renderer.
Definition: glrenderer.hpp:55
Error classes and handling
Three dimensional vector.
Definition: vec3d.hpp:58
Reference manual for Ion Beam Simulator 1.0.5new_solver
Generated by
Doxygen 1.8.5 on Tue May 19 2015 09:15:42.