scene Class Reference
+ Collaboration diagram for scene:

Public Member Functions

 scene ()
 Empty constructor for the scene. More...
 
void load_model ()
 Method called only once at the beginning (load files ...) More...
 
void draw_scene ()
 Method called at every frame. More...
 
void set_glwidget (glwidget *p_widget)
 Set the GLWidget pointer. More...
 
cpe::gui_interfacegui_visible_interface ()
 get the gui helper class More...
 

Private Member Functions

void preload_sphere ()
 Init the sphere loading. More...
 
void init_gui_visibility ()
 Init the visibility gui parameters. More...
 

Private Attributes

cpe::grid grid_1
 The control grid for the spline. More...
 
cpe::surface_param_drawable surf_1
 The Spline surface. More...
 
cpe::mesh sphere
 storage for the sphere (to draw the grid position) More...
 
cpe::gui_interface gui_visible
 Storage class for visibility modified in the gui. More...
 

Constructor & Destructor Documentation

scene::scene ( )

Empty constructor for the scene.

Member Function Documentation

void scene::draw_scene ( )

Method called at every frame.

References cpe::opengl_drawer::draw(), and cpe::opengl_drawer::draw_sphere().

Referenced by glwidget::paintGL().

+ Here is the call graph for this function:

gui_interface & scene::gui_visible_interface ( )
void scene::init_gui_visibility ( )
private

Init the visibility gui parameters.

void scene::load_model ( )

Method called only once at the beginning (load files ...)

References cpe::vec3::cross(), cpe::evaluator_spline::diff_u(), and cpe::evaluator_spline::diff_v().

Referenced by glwidget::initializeGL().

+ Here is the call graph for this function:

void scene::preload_sphere ( )
private

Init the sphere loading.

void scene::set_glwidget ( glwidget p_widget)

Set the GLWidget pointer.

Member Data Documentation

cpe::grid scene::grid_1
private

The control grid for the spline.

cpe::gui_interface scene::gui_visible
private

Storage class for visibility modified in the gui.

cpe::mesh scene::sphere
private

storage for the sphere (to draw the grid position)

cpe::surface_param_drawable scene::surf_1
private

The Spline surface.


The documentation for this class was generated from the following files: