Classes | |
class | DefaultShapeRenderer |
DefaultShapeRenderer class is a default implementation of DefaultShapeRenderer. It implements the function of MbsShapeRenderer but do nothing. More... | |
class | DefaultWindowManager |
DefaultWindowManager is a default implementation of MbsWindowManager that do nothing. It is useful in association with VtkWorldRenderer. More... | |
class | DefaultWorldRenderer |
Implementation of MbsWorldRenderer class that do nothing. More... | |
class | GlfwWindowManager |
Implements a MbsWindowManager using the GLFW library. It may be used in association with OglWorldRenderer. More... | |
class | MbsBox |
class | MbsCone |
class | MbsCylinder |
class | MbsInline |
class | MbsShapeRenderer |
MbsShapeRenderer is an abstract class that defines the property need to render a MbsShape3D. Three implementation are currently available: More... | |
class | MbsSphere |
class | MbsViewPointRenderer |
abstract class for specifying code to render the 3D scene to an image from a specific viepoint. More... | |
class | MbsWindowManager |
MbsWindowManager is an abstract class that defines the functionalities of a window manager. More... | |
class | MbsWorldRenderer |
MbsWorldRenderer class defines the general properties of an object that renders a MbsWorld3D.Three implementation are currently available (but other can be written if needed): More... | |
class | MpegFrameCaptureOptions |
MpegFrameCaptureOptions: save screenshots as video in the mpeg format. More... | |
class | OglOffscreenVpRenderer |
implementation of a MbsViewPointRenderer using OpenGL to render offscreen. It re-uses code of OglViewPointRenderer More... | |
class | OglShapeRenderer |
OglShapeRenderer class is an implementation of MbsShapeRenderer that render a MbsShape3D using Open GL. More... | |
class | OglViewPointRenderer |
implementation of a MbsViewPointRenderer using OpenGL to render directly to the screen More... | |
class | OglWorldRenderer |
Implementation of MbsWorldRenderer class that render a MbsWorld3D using Open GL. More... | |
class | ShaderLight |
shader light class More... | |
Functions | |
void | shader_multisample (const char *mbs_filename, int &shader_flag, int &multi_samp) |
bool | int_in_range (int x, int min, int max) |
check if integer is in range More... | |
Variables | |
GLdouble | tmp_vert_box [3 *NB_VERTICES_INIT] |
GLfloat | tmp_coord_box [3 *NB_TRIANGLES_INIT] |
GLdouble | tmp_vert_cone [3 *NB_VERTICES_INIT] |
GLfloat | tmp_coord_cone [3 *NB_TRIANGLES_INIT] |
GLdouble | tmp_vert_cylinder [3 *NB_VERTICES_INIT] |
GLfloat | tmp_coord_cylinder [3 *NB_TRIANGLES_INIT] |
GLdouble | tmp_vert_sphere [3 *NB_VERTICES_INIT] |
GLfloat | tmp_coord_sphere [3 *NB_TRIANGLES_INIT] |
|
inline |
check if integer is in range
void OpenGLMbs::shader_multisample | ( | const char * | mbs_filename, |
int & | shader_flag, | ||
int & | multi_samp | ||
) |
GLfloat tmp_coord_box[3 *NB_TRIANGLES_INIT] |
GLfloat tmp_coord_cone[3 *NB_TRIANGLES_INIT] |
GLfloat tmp_coord_cylinder[3 *NB_TRIANGLES_INIT] |
GLfloat tmp_coord_sphere[3 *NB_TRIANGLES_INIT] |
GLdouble tmp_vert_box[3 *NB_VERTICES_INIT] |
GLdouble tmp_vert_cone[3 *NB_VERTICES_INIT] |
GLdouble tmp_vert_cylinder[3 *NB_VERTICES_INIT] |
GLdouble tmp_vert_sphere[3 *NB_VERTICES_INIT] |