AmbientOcclusion
Params.h
Go to the documentation of this file.
1 #ifndef PARAMS_H
2 #define PARAMS_H
3 
4 #include <QColor>
5 #include <QString>
6 
7 #include <string.h>
8 #include <iostream>
9 #include <stdlib.h>
10 
14 enum RadiusEnum {
16 };
17 
21 enum ColorMode {
22  PER_ATOM = 0, PER_CHAIN = 1, NO_COLOR = 2
23 };
24 
25 class Params
26 {
27 public:
28 
32  static int HEIGHT;
33 
37  static int WIDTH;
38 
42  static float FOV;
43 
47  static float NEARPLANE;
48 
52  static float FARPLANE;
53 
57  static float ROTATIONSPEED;
58 
62  static float SCALEFACTOR;
63 
67  static QColor BACKGROUND_COLOR;
68 
72  static QString FILE_NAME;
73 
77  static bool MODEL_CHANGED;
78 
83 
88 
92  static float EDGE_THICKNESS;
93 
97  static float DEPTH_AWARENESS;
98 
102  static QColor EDGE_COLOR;
103 
107  static float AMBIENT_INTENSITY;
108 
112  static float DIFFUSE_INTENSITY;
113 
117  static float SPECULAR_INTENSITY;
118 
122  static float SPECULAR_EXPONENT;
123 
127  static bool TOGGLE_SPECULAR;
128 
132  static int SHADOWMAP_SIZE;
133 
137  static int OCCLUSION_MAP_SIZE;
138 
142  static int NUM_DIRECTIONS;
143 
148 
153 
157  static float HALO_SIZE;
158 
162  static float HALO_DEPTH_THRESHOLD;
163 
167  static QColor HALO_COLOR;
168 
169 };
170 #endif // PARAMS_H
Definition: Params.h:22
Definition: Params.h:22
static int SHADOWMAP_SIZE
SHADOWMAP_SIZE - Ambient Occlusion Parameter, size of shadow map.
Definition: Params.h:132
static int NUM_DIRECTIONS
NUM_DIRECTIONS - Ambient Occlusion Parameter, number of light sources simulated.
Definition: Params.h:142
static bool NUM_DIRECTIONS_CHANGED
NUM_DIRECTIONS_CHANGED - Ambient Occlusion Parameter, signalizes if the number of light directions ha...
Definition: Params.h:152
static float DEPTH_AWARENESS
DEPTH_AWARENESS - Edge Parameter for depth awareness.
Definition: Params.h:97
Definition: Params.h:15
Definition: Params.h:15
static float FOV
FOV - Render Parameter, Field of View.
Definition: Params.h:42
static float HALO_DEPTH_THRESHOLD
HALO_DEPTH_THRESHOLD - Halo Parameter, specifies the depth threshold of the halo. ...
Definition: Params.h:162
static ColorMode COLOR_MODE
COLOR_MODE - specifies the mode in which the model is to be colored.
Definition: Params.h:87
RadiusEnum
The RadiusEnum enum - enumeration specifies the two possible types of radii, which the application vi...
Definition: Params.h:14
static QColor BACKGROUND_COLOR
BACKGROUND_COLOR - Shader Parameter, for the background color.
Definition: Params.h:67
static RadiusEnum RADIUS_TYPE
RADIUS_TYPE - specifies the type of the radius.
Definition: Params.h:82
static float SPECULAR_EXPONENT
SPECULAR_EXPONENT - Lighting Parameter for specular lighting, exponent.
Definition: Params.h:122
static bool TOGGLE_AMBIENT_OCCLUSION
TOGGLE_AMBIENT_OCCLUSION - Ambient Occlusion Parameter, check box signalizing if ambient occlusion sh...
Definition: Params.h:147
static bool TOGGLE_SPECULAR
TOGGLE_SPECULAR - Lighting Parameter, signalizes if the specular factor should be used in the lightin...
Definition: Params.h:127
static float DIFFUSE_INTENSITY
DIFFUSE_INTENSITY - Lighting Parameter for diffuse lighting, intensity.
Definition: Params.h:112
static float SCALEFACTOR
SCALEFACTOR - UI Parameter, Scale Factor.
Definition: Params.h:62
Definition: Params.h:25
static int OCCLUSION_MAP_SIZE
OCCLUSION_MAP_SIZE - Ambient Occlusion Parameter, size of occlusion map.
Definition: Params.h:137
static QColor EDGE_COLOR
EDGE_COLOR - Edge Parameter for color.
Definition: Params.h:102
static float FARPLANE
FARPLANE - Render Parameter, Far Plane.
Definition: Params.h:52
static float AMBIENT_INTENSITY
AMBIENT_INTENSITY - Lighting Parameter for ambient lighting, intensity.
Definition: Params.h:107
static QString FILE_NAME
FILE_NAME - Molecule Parameter, Name of the PDB file.
Definition: Params.h:72
static int HEIGHT
HEIGHT - Window Parameter, Height.
Definition: Params.h:32
ColorMode
The ColorMode enum - enumeration specifies how the visualized molecule is to be colored, pers atom, per chain or without any color at all.
Definition: Params.h:21
static float HALO_SIZE
HALO_SIZE - Halo Parameter, specifies size of halo.
Definition: Params.h:157
static float SPECULAR_INTENSITY
SPECULAR_INTENSITY - Lighting Parameter for specular lighting, intensity.
Definition: Params.h:117
static QColor HALO_COLOR
HALO_COLOR - Halo Parameter, specifies the color of the halo.
Definition: Params.h:167
static float ROTATIONSPEED
ROTATIONSPEED - UI Parameter, Rotation Speed.
Definition: Params.h:57
static bool MODEL_CHANGED
MODEL_CHANGED - signalizes if the model has changed.
Definition: Params.h:77
static int WIDTH
WIDTH - Window Parameter, Width.
Definition: Params.h:37
Definition: Params.h:22
static float NEARPLANE
NEARPLANE - Render Parameter, Near Plane.
Definition: Params.h:47
static float EDGE_THICKNESS
EDGE_THICKNESS - Edge Parameter for thickness.
Definition: Params.h:92