Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_MultiCourbes_GL_Cuda / INC / MultiCourbeOptions.h
1 #ifndef MULTICOURBEOPTIONS_H_
2 #define MULTICOURBEOPTIONS_H_
3
4 #include "envBilatMultiCourbes.h"
5 #include "builtin_types.h"
6
7 /*----------------------------------------------------------------------*\
8 |* Declaration *|
9 \*---------------------------------------------------------------------*/
10
11 /*--------------------------------------*\
12 |* Public *|
13 \*-------------------------------------*/
14
15 /*
16 * Options:
17 *
18 * intervalHue01
19 *
20 * Permet de spécifier [hMin,hMax]
21 *
22 * seuil
23 *
24 * Permet de spécifier [sMin,sMax] (cf ci-dessus)
25 *
26 * colorNotInSeuil
27 *
28 * Couleur RGBA qui sera afficher si y se trouve à l'interieur du seuil.
29 *
30 * minMaxValue
31 *
32 * Permet de specifier [vMin,vMax], de telle sorte que vMin soit colorier avec hMin, et vMax avec hMax
33 * Il s'agit d'une calibration.
34 *
35 */
36 class CBI_MULTI_COURBES MultiCourbeOptions
37 {
38 /*--------------------------------------*\
39 |* Constructor *|
40 \*-------------------------------------*/
41
42 public:
43
44 MultiCourbeOptions(float2 minMaxValue, float2 intervalHue01, float2 seuil, float4 colorNotInSeuil);
45
46 /*--------------------------------------*\
47 |* Get *|
48 \*-------------------------------------*/
49
50 public:
51
52 float2 getMinMaxValue() const;
53
54 float2 getIntervalHue() const;
55
56 float2 getSeuil() const;
57
58 float4 getColorNotInSeuil() const;
59
60 /*--------------------------------------*\
61 |* Set *|
62 \*-------------------------------------*/
63
64 public:
65
66 void setMinMaxValue(float2 minMaxValue);
67
68 void setIntervalHue(float2 intervalHue01);
69
70 void setSeuil(float2 seuil);
71
72 void setColorNotInSeuil(float4 colorNotInSeuil);
73
74 /*--------------------------------------*\
75 |* Attributs *|
76 \*-------------------------------------*/
77 private:
78
79 // Input
80 float2 minMaxValue;
81 float2 intervalHue;
82 float2 seuil;
83 float4 colorNotInSeuil;
84 };
85
86 #endif
87
88 /*----------------------------------------------------------------------*\
89 |* End *|
90 \*---------------------------------------------------------------------*/