atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
ogl_shading.h File Reference

Variable declarations related to GLSL programs
Data structure declarations related to GLSL programs. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  object_3d
 
struct  glsl_program
 

Macros

#define POLY_BUFF_SIZE   10
 
#define LINE_BUFF_SIZE   7
 
#define CYLI_BUFF_SIZE   13
 
#define CAPS_BUFF_SIZE   12
 
#define ATOM_BUFF_SIZE   8
 
#define CHAR_BUFF_SIZE   4
 

Typedefs

typedef struct object_3d object_3d
 
typedef struct glsl_program glsl_program
 

Enumerations

enum  glsl_styles {
  GLSL_POINTS = 0 , GLSL_SPHERES = 1 , GLSL_LINES = 2 , GLSL_CYLINDERS = 3 ,
  GLSL_CAPS = 4 , GLSL_POLYEDRA = 5 , GLSL_STRING = 6 , GLSL_LIGHT = 7
}
 

Variables

const GLchar * point_vertex
 
const GLchar * point_color
 
const GLchar * line_vertex
 
const GLchar * line_color
 
const GLchar * line_stipple
 
const GLchar * line_stipple_color
 
const GLchar * angle_vertex
 
const GLchar * angle_stipple
 
const GLchar * angle_color
 
const GLchar * angstrom_vertex
 
const GLchar * degree_vertex
 
const GLchar * full_vertex
 
const GLchar * full_color
 
const GLchar * sphere_vertex
 
const GLchar * cylinder_vertex
 
const GLchar * cone_vertex
 
const GLchar * cap_vertex
 
const GLchar * axis_sphere_vertex
 
const GLchar * axis_cylinder_geom
 
const GLchar * axis_line_vertex
 
const GLchar * gs_cylinder_vertex
 
const GLchar * gs_cylinder_geom
 
const GLchar * polyedron_vertex
 
const GLchar * polyedron_geom
 
const GLchar * polyedron_color
 
const GLchar * pick_color
 
const GLchar * string_vertex
 
const GLchar * string_color
 
const GLchar * string_color_2d
 

Detailed Description

Variable declarations related to GLSL programs
Data structure declarations related to GLSL programs.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file ogl_shading.h.

Macro Definition Documentation

◆ ATOM_BUFF_SIZE

#define ATOM_BUFF_SIZE   8

Definition at line 52 of file ogl_shading.h.

◆ CAPS_BUFF_SIZE

#define CAPS_BUFF_SIZE   12

Definition at line 51 of file ogl_shading.h.

◆ CHAR_BUFF_SIZE

#define CHAR_BUFF_SIZE   4

Definition at line 53 of file ogl_shading.h.

◆ CYLI_BUFF_SIZE

#define CYLI_BUFF_SIZE   13

Definition at line 50 of file ogl_shading.h.

◆ LINE_BUFF_SIZE

#define LINE_BUFF_SIZE   7

Definition at line 49 of file ogl_shading.h.

◆ POLY_BUFF_SIZE

#define POLY_BUFF_SIZE   10

Definition at line 48 of file ogl_shading.h.

Typedef Documentation

◆ glsl_program

glsl_program

Definition at line 124 of file ogl_shading.h.

◆ object_3d

object_3d

Definition at line 104 of file ogl_shading.h.

Enumeration Type Documentation

◆ glsl_styles

Enumerator
GLSL_POINTS 

0

GLSL_SPHERES 

1

GLSL_LINES 

2

GLSL_CYLINDERS 

3

GLSL_CAPS 

4

GLSL_POLYEDRA 

5

GLSL_STRING 

6

GLSL_LIGHT 

7

Definition at line 37 of file ogl_shading.h.

Variable Documentation

◆ angle_color

const GLchar* angle_color
extern

Definition at line 343 of file ogl_shaders.c.

◆ angle_stipple

const GLchar* angle_stipple
extern

Definition at line 154 of file ogl_shaders.c.

◆ angle_vertex

const GLchar* angle_vertex
extern

Definition at line 141 of file ogl_shaders.c.

◆ angstrom_vertex

const GLchar* angstrom_vertex
extern

Definition at line 1426 of file ogl_shaders.c.

◆ axis_cylinder_geom

const GLchar* axis_cylinder_geom
extern

Definition at line 95 of file ogl_shading.h.

◆ axis_line_vertex

const GLchar* axis_line_vertex
extern

Definition at line 93 of file ogl_shaders.c.

◆ axis_sphere_vertex

const GLchar* axis_sphere_vertex
extern

Definition at line 711 of file ogl_shaders.c.

◆ cap_vertex

const GLchar* cap_vertex
extern

Definition at line 830 of file ogl_shaders.c.

◆ cone_vertex

const GLchar* cone_vertex
extern

Definition at line 788 of file ogl_shaders.c.

◆ cylinder_vertex

const GLchar* cylinder_vertex
extern

Definition at line 748 of file ogl_shaders.c.

◆ degree_vertex

const GLchar* degree_vertex
extern

Definition at line 1549 of file ogl_shaders.c.

◆ full_color

const GLchar* full_color
extern

Definition at line 381 of file ogl_shaders.c.

◆ full_vertex

const GLchar* full_vertex
extern

Definition at line 359 of file ogl_shaders.c.

◆ gs_cylinder_geom

const GLchar* gs_cylinder_geom
extern

Definition at line 869 of file ogl_shaders.c.

◆ gs_cylinder_vertex

const GLchar* gs_cylinder_vertex
extern

Definition at line 737 of file ogl_shaders.c.

◆ line_color

const GLchar* line_color
extern

Definition at line 106 of file ogl_shaders.c.

◆ line_stipple

const GLchar* line_stipple
extern

Definition at line 115 of file ogl_shaders.c.

◆ line_stipple_color

const GLchar* line_stipple_color
extern

Definition at line 327 of file ogl_shaders.c.

◆ line_vertex

const GLchar* line_vertex
extern

Definition at line 80 of file ogl_shaders.c.

◆ pick_color

const GLchar* pick_color
extern

Definition at line 1365 of file ogl_shaders.c.

◆ point_color

const GLchar* point_color
extern

Definition at line 59 of file ogl_shaders.c.

◆ point_vertex

const GLchar* point_vertex
extern

Definition at line 43 of file ogl_shaders.c.

◆ polyedron_color

const GLchar* polyedron_color
extern

Definition at line 1060 of file ogl_shaders.c.

◆ polyedron_geom

const GLchar* polyedron_geom
extern

Definition at line 1017 of file ogl_shaders.c.

◆ polyedron_vertex

const GLchar* polyedron_vertex
extern

Definition at line 1005 of file ogl_shaders.c.

◆ sphere_vertex

const GLchar* sphere_vertex
extern

Definition at line 686 of file ogl_shaders.c.

◆ string_color

const GLchar* string_color
extern

Definition at line 1715 of file ogl_shaders.c.

◆ string_color_2d

const GLchar* string_color_2d
extern

Definition at line 1730 of file ogl_shaders.c.

◆ string_vertex

const GLchar* string_vertex
extern

Definition at line 1374 of file ogl_shaders.c.