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

Variable declarations related the OpenGL window
Data structure declarations related the OpenGL window. More...

#include "ogl_shading.h"
+ Include dependency graph for glwin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  angle
 
struct  distance
 
struct  atom_data
 
struct  spinner
 
struct  sequencer
 
struct  recorder
 
struct  Light
 
struct  Material
 
struct  Fog
 
struct  screen_string
 
struct  atom_in_selection
 
struct  atom_selection
 
struct  image
 
struct  snapshot
 
struct  animation
 
struct  colormap
 
struct  atom_search
 
struct  atomic_object
 
struct  wyckoff_position
 
struct  spg_setting
 
struct  space_group
 
struct  box_info
 
struct  cell_info
 
struct  builder_edition
 
struct  atom_edition
 
struct  cell_edition
 
struct  opengl_edition
 
struct  coord_edition
 
struct  measures
 
struct  volumes
 
struct  model_edition
 
struct  glwin
 

Macros

#define GL_COLOR_SUM_EXT   0x8458
 
#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT   0x81F8
 
#define GL_SEPARATE_SPECULAR_COLOR_EXT   0x81FA
 
#define GL_TEXTURE_RECTANGLE_ARB   0x84F5
 
#define BOX   0
 
#define AXIS   1
 
#define OGL_RENDERS   3
 
#define OGL_BOX   8
 
#define OGL_AXIS   13
 
#define OGL_REPS   2
 
#define ATOM_MAPS   7
 
#define POLY_MAPS   7
 
#define OGL_COORDS   5
 
#define OGL_RINGS   12
 
#define NUM_COLORS   64
 
#define NINPUTS   6
 
#define NSELECTION   7
 
#define NGLOBAL_SHADERS   14
 
#define FILLED_STYLES   4
 
#define OGL_STYLES   6
 

Typedefs

typedef struct angle angle
 
typedef struct distance distance
 
typedef struct atom_data atom_data
 
typedef struct spinner spinner
 
typedef struct sequencer sequencer
 
typedef struct recorder recorder
 
typedef struct Light Light
 Light parameters for OpenGL rendering.
 
typedef struct Material Material
 Material parameters for OpenGL rendering.
 
typedef struct Fog Fog
 Fog parameters for OpenGL rendering.
 
typedef struct screen_string screen_string
 OpenGL string rendering.
 
typedef struct atom_in_selection atom_in_selection
 
typedef struct atom_selection atom_selection
 
typedef struct image image
 a structure to describe the content of the OpenGL rendering
 
typedef struct snapshot snapshot
 
typedef struct animation animation
 
typedef struct colormap colormap
 
typedef struct atom_search atom_search
 a data structure to search for atom(s) and edit the model
 
typedef struct atomic_object atomic_object
 a data structure to describe an object to work on.
the object can be one or more:

 
typedef struct wyckoff_position wyckoff_position
 a structure to describe a Wyckoff position in crystallography
 
typedef struct spg_setting spg_setting
 a structure to describe the settings of a space group in crystallography
 
typedef struct space_group space_group
 a structure to described a space group in crystallography
 
typedef struct box_info box_info
 model box information
 
typedef struct cell_info cell_info
 Description of the periodicity.
 
typedef struct builder_edition builder_edition
 
typedef struct atom_edition atom_edition
 
typedef struct cell_edition cell_edition
 
typedef struct opengl_edition opengl_edition
 
typedef struct coord_edition coord_edition
 
typedef struct measures measures
 
typedef struct volumes volumes
 
typedef struct model_edition model_edition
 
typedef struct glwin glwin
 OpenGL window widget structure.
 

Enumerations

enum  object_types {
  FROM_DATA = -8 , FROM_SPEC = -7 , FROM_MOL = -6 , FROM_FRAG = -5 ,
  FROM_COORD_P = -4 , FROM_COORD_T = -3 , FROM_LIBRARY = -2 , FROM_PROJECT = -1
}
 
enum  shaders {
  ATOMS = 0 , BONDS = 1 , SELEC = 2 , POLYS = 3 ,
  MDBOX = 4 , MAXIS = 5 , ARROW = 6 , RINGS = 7 ,
  PICKS = 8 , LABEL = 9 , MEASU = 10 , LIGHT = 11 ,
  SLABS = 12 , VOLMS = 13
}
 The different types of shaders in the atomes program. More...
 

Variables

char * text_styles [OGL_STYLES]
 
char * text_filled [FILLED_STYLES]
 

Detailed Description

Variable declarations related the OpenGL window
Data structure declarations related the OpenGL window.

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 glwin.h.

Macro Definition Documentation

◆ ATOM_MAPS

#define ATOM_MAPS   7

Definition at line 61 of file glwin.h.

◆ AXIS

#define AXIS   1

Definition at line 55 of file glwin.h.

◆ BOX

#define BOX   0

Definition at line 54 of file glwin.h.

◆ FILLED_STYLES

#define FILLED_STYLES   4

Definition at line 105 of file glwin.h.

◆ GL_COLOR_SUM_EXT

#define GL_COLOR_SUM_EXT   0x8458

Definition at line 39 of file glwin.h.

◆ GL_LIGHT_MODEL_COLOR_CONTROL_EXT

#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT   0x81F8

Definition at line 43 of file glwin.h.

◆ GL_SEPARATE_SPECULAR_COLOR_EXT

#define GL_SEPARATE_SPECULAR_COLOR_EXT   0x81FA

Definition at line 47 of file glwin.h.

◆ GL_TEXTURE_RECTANGLE_ARB

#define GL_TEXTURE_RECTANGLE_ARB   0x84F5

Definition at line 51 of file glwin.h.

◆ NGLOBAL_SHADERS

#define NGLOBAL_SHADERS   14

Definition at line 69 of file glwin.h.

◆ NINPUTS

#define NINPUTS   6

Definition at line 66 of file glwin.h.

◆ NSELECTION

#define NSELECTION   7

Definition at line 67 of file glwin.h.

◆ NUM_COLORS

#define NUM_COLORS   64

Definition at line 65 of file glwin.h.

◆ OGL_AXIS

#define OGL_AXIS   13

Definition at line 59 of file glwin.h.

◆ OGL_BOX

#define OGL_BOX   8

Definition at line 58 of file glwin.h.

◆ OGL_COORDS

#define OGL_COORDS   5

Definition at line 63 of file glwin.h.

◆ OGL_RENDERS

#define OGL_RENDERS   3

Definition at line 57 of file glwin.h.

◆ OGL_REPS

#define OGL_REPS   2

Definition at line 60 of file glwin.h.

◆ OGL_RINGS

#define OGL_RINGS   12

Definition at line 64 of file glwin.h.

◆ OGL_STYLES

#define OGL_STYLES   6

Definition at line 106 of file glwin.h.

◆ POLY_MAPS

#define POLY_MAPS   7

Definition at line 62 of file glwin.h.

Typedef Documentation

◆ angle

angle

Definition at line 112 of file glwin.h.

◆ animation

animation

Definition at line 467 of file glwin.h.

◆ atom_data

typedef struct atom_data atom_data

Definition at line 130 of file glwin.h.

◆ atom_edition

typedef struct atom_edition atom_edition

Definition at line 711 of file glwin.h.

◆ atom_in_selection

typedef struct atom_in_selection atom_in_selection

Definition at line 248 of file glwin.h.

◆ atom_search

atom_search

a data structure to search for atom(s) and edit the model

Definition at line 492 of file glwin.h.

◆ atom_selection

typedef struct atom_selection atom_selection

Definition at line 257 of file glwin.h.

◆ atomic_object

atomic_object

a data structure to describe an object to work on.
the object can be one or more:

  • atom(s)
  • chemical species
  • coordination sphere(s) (total or partial)
  • fragment(s)
  • molecule(s)
  • selection(s) of atom(s) from any project in the workspace

Definition at line 564 of file glwin.h.

◆ box_info

box_info

model box information

Definition at line 639 of file glwin.h.

◆ builder_edition

typedef struct builder_edition builder_edition

Definition at line 677 of file glwin.h.

◆ cell_edition

typedef struct cell_edition cell_edition

Definition at line 748 of file glwin.h.

◆ cell_info

cell_info

Description of the periodicity.

Definition at line 657 of file glwin.h.

◆ colormap

colormap

Definition at line 476 of file glwin.h.

◆ coord_edition

typedef struct coord_edition coord_edition

Definition at line 819 of file glwin.h.

◆ distance

distance

Definition at line 120 of file glwin.h.

◆ Fog

Fog

Fog parameters for OpenGL rendering.

Definition at line 220 of file glwin.h.

◆ glwin

glwin

OpenGL window widget structure.

Definition at line 873 of file glwin.h.

◆ image

image

a structure to describe the content of the OpenGL rendering

Definition at line 275 of file glwin.h.

◆ Light

Light

Light parameters for OpenGL rendering.

Definition at line 179 of file glwin.h.

◆ Material

Material

Material parameters for OpenGL rendering.

Definition at line 196 of file glwin.h.

◆ measures

typedef struct measures measures

Definition at line 833 of file glwin.h.

◆ model_edition

typedef struct model_edition model_edition

Definition at line 863 of file glwin.h.

◆ opengl_edition

typedef struct opengl_edition opengl_edition

Definition at line 785 of file glwin.h.

◆ recorder

typedef struct recorder recorder

Definition at line 167 of file glwin.h.

◆ screen_string

screen_string

OpenGL string rendering.

Definition at line 234 of file glwin.h.

◆ sequencer

typedef struct sequencer sequencer

Definition at line 151 of file glwin.h.

◆ snapshot

snapshot

Definition at line 458 of file glwin.h.

◆ space_group

space_group

a structure to described a space group in crystallography

Definition at line 618 of file glwin.h.

◆ spg_setting

spg_setting

a structure to describe the settings of a space group in crystallography

Definition at line 604 of file glwin.h.

◆ spinner

typedef struct spinner spinner

Definition at line 140 of file glwin.h.

◆ volumes

typedef struct volumes volumes

Definition at line 841 of file glwin.h.

◆ wyckoff_position

wyckoff_position

a structure to describe a Wyckoff position in crystallography

Definition at line 591 of file glwin.h.

Enumeration Type Documentation

◆ object_types

Enumerator
FROM_DATA 

-8

FROM_SPEC 

-7

FROM_MOL 

-6

FROM_FRAG 

-5

FROM_COORD_P 

-4

FROM_COORD_T 

-3

FROM_LIBRARY 

-2

FROM_PROJECT 

-1

Definition at line 72 of file glwin.h.

◆ shaders

enum shaders

The different types of shaders in the atomes program.

Enumerator
ATOMS 

0

BONDS 

1

SELEC 

2

POLYS 

3

MDBOX 

4

MAXIS 

5

ARROW 

6

RINGS 

7

PICKS 

8

LABEL 

9

MEASU 

10

LIGHT 

11

SLABS 

12

VOLMS 

13

Definition at line 88 of file glwin.h.

Variable Documentation

◆ text_filled

char* text_filled[FILLED_STYLES]
extern

Definition at line 61 of file m_style.c.

◆ text_styles

char* text_styles[OGL_STYLES]
extern

Definition at line 54 of file m_style.c.