parula.h
Go to the documentation of this file.
1 /**
2  * This file was automatically created with "create_c++_header.sh".
3  * Do not edit manually.
4  */
5 #pragma once
6 #include "../../colormap.h"
7 
8 namespace colormap
9 {
10  namespace MATLAB
11  {
12 
13  class Parula : public Colormap
14  {
15  private:
16  class Wrapper : public WrapperBase
17  {
18  public:
19 #ifdef float
20 #error "TODO"
21 #endif
22 #define float local_real_t
23 #include "../../../../shaders/glsl/MATLAB_parula.frag"
24 #undef float
25  };
26 
27  public:
28  Color
29  getColor(double x) const override
30  {
31  Wrapper w;
32  vec4 c = w.colormap(x);
33  Color result;
34  result.r = std::max(0.0, std::min(1.0, c.r));
35  result.g = std::max(0.0, std::min(1.0, c.g));
36  result.b = std::max(0.0, std::min(1.0, c.b));
37  result.a = std::max(0.0, std::min(1.0, c.a));
38  return result;
39  }
40 
41  std::string
42  getTitle() const override
43  {
44  return std::string("parula");
45  }
46 
47  std::string
48  getCategory() const override
49  {
50  return std::string("MATLAB");
51  }
52 
53  std::string
54  getSource() const override
55  {
56  return std::string("vec4 colormap(float x) {\n"
57  " if (x < 0.0) {\n"
58  " return vec4(0.0, 0.0, 0.0, 0.0);\n"
59  " } else if (1.0 < x) {\n"
60  " return vec4(0.0, 0.0, 0.0, 0.0);\n"
61  " }\n"
62  " if (x < 3.1250000000000000e-02) {\n"
63  " float dx = x - 1.5625000000000000e-02;\n"
64  " return ((vec4(-1.4151576683620706e+02, "
65  "2.4271369358056621e+01, 4.5510373586485706e+01, 1.0) * dx\n"
66  " + vec4( 0.0000000000000000e+00, "
67  "0.0000000000000000e+00, 0.0000000000000000e+00, 1.0)) * dx\n"
68  " + vec4( 2.6007355728658488e-01, "
69  "1.4968553250962457e+00, 3.0913652594248364e+00, 1.0)) * dx\n"
70  " + vec4( 2.0810000000000001e-01, "
71  "1.6630000000000000e-01, 5.2920000000000000e-01, 1.0);\n"
72  " } else if (x < 4.6875000000000000e-02) {\n"
73  " float dx = x - 3.1250000000000000e-02;\n"
74  " return ((vec4(-5.1390461057291191e+01, "
75  "1.2211762733842230e+01, -1.2843448884986955e+01, 1.0) * dx\n"
76  " + vec4(-6.6335515704472066e+00, "
77  "1.1377204386589042e+00, 2.1332987618665173e+00, 1.0)) * dx\n"
78  " + vec4( 1.5642431399834725e-01, "
79  "1.5146322069502911e+00, 3.1246980525790007e+00, 1.0)) * dx\n"
80  " + vec4( 2.1162380952380999e-01, "
81  "1.8978095238095199e-01, 5.7767619047619101e-01, 1.0);\n"
82  " } else if (x < 6.2500000000000000e-02) {\n"
83  " float dx = x - 4.6875000000000000e-02;\n"
84  " return ((vec4(-1.4725107464858192e+02, "
85  "1.3014608277362621e+01, 5.8634219534912217e+00, 1.0) * dx\n"
86  " + vec4(-9.0424794325077311e+00, "
87  "1.7101468168077587e+00, 1.5312620953827538e+00, 1.0)) * dx\n"
88  " + vec4(-8.8513670422823654e-02, "
89  "1.5591301328169576e+00, 3.1819568159735203e+00, 1.0)) * dx\n"
90  " + vec4( 2.1225238095238100e-01, "
91  "2.1377142857142900e-01, 6.2697142857142896e-01, 1.0);\n"
92  " } else if (x < 7.8125000000000000e-02) {\n"
93  " float dx = x - 6.2500000000000000e-02;\n"
94  " return ((vec4(-2.1469400225321081e+02, "
95  "-1.4338005366630648e+01, -4.1817857976177763e+01, 1.0) * dx\n"
96  " + vec4(-1.5944873556660008e+01, "
97  "2.3202065798091316e+00, 1.8061099994526548e+00, 1.0)) * dx\n"
98  " + vec4(-4.7894106087856969e-01, "
99  "1.6221044046390967e+00, 3.2341032549553237e+00, 1.0)) * dx\n"
100  " + vec4( 2.0810000000000001e-01, "
101  "2.3860000000000001e-01, 6.7708571428571396e-01, 1.0);\n"
102  " } else if (x < 9.3750000000000000e-02) {\n"
103  " float dx = x - 7.8125000000000000e-02;\n"
104  " return ((vec4(-2.8846495443400278e+02, "
105  "2.0037550842697090e+02, 1.1771734328417965e+02, 1.0) * dx\n"
106  " + vec4(-2.6008654912279265e+01, "
107  "1.6481125782483199e+00, -1.5410209318067788e-01, 1.0)) * dx\n"
108  " + vec4(-1.1344649432057459e+00, "
109  "1.6841093914837442e+00, 3.2599158784908235e+00, 1.0)) * dx\n"
110  " + vec4( 1.9590476190476200e-01, "
111  "2.6445714285714300e-01, 7.2789999999999999e-01, 1.0);\n"
112  " } else if (x < 1.0937500000000000e-01) {\n"
113  " float dx = x - 9.3750000000000000e-02;\n"
114  " return ((vec4(-5.4509738001026233e+02, "
115  "5.1696771659011155e+01, -6.5374637230314454e+02, 1.0) * dx\n"
116  " + vec4(-3.9530449651373146e+01, "
117  "1.1040714535762580e+01, 5.3638983732652425e+00, 1.0)) * dx\n"
118  " + vec4(-2.1585134520128149e+00, "
119  "1.8823723151401646e+00, 3.3413189453671448e+00, 1.0)) * dx\n"
120  " + vec4( 1.7072857142857101e-01, "
121  "2.9193809523809500e-01, 7.7924761904761897e-01, 1.0);\n"
122  " } else if (x < 1.2500000000000000e-01) {\n"
123  " float dx = x - 1.0937500000000000e-01;\n"
124  " return ((vec4( 2.3639968744743715e+03, "
125  "-8.1036503315845437e+02, -8.1573269216733058e+02, 1.0) * dx\n"
126  " + vec4(-6.5081889339354191e+01, "
127  "1.3464000707278728e+01, -2.5280462828444659e+01, 1.0)) * dx\n"
128  " + vec4(-3.7930812487429293e+00, "
129  "2.2652584908126849e+00, 3.0301226257549660e+00, 1.0)) * dx\n"
130  " + vec4( 1.2527142857142901e-01, "
131  "3.2424285714285700e-01, 8.3027142857142899e-01, 1.0);\n"
132  " } else if (x < 1.4062500000000000e-01) {\n"
133  " float dx = x - 1.2500000000000000e-01;\n"
134  " return ((vec4( 1.4125902630655582e+03, "
135  "2.5375056097507152e+02, 9.0826266478267496e+02, 1.0) * dx\n"
136  " + vec4( 4.5730464151631985e+01, "
137  "-2.4521860222023822e+01, -6.3517932773788282e+01, 1.0)) * dx\n"
138  " + vec4(-4.0954472673010889e+00, "
139  "2.0924794358947931e+00, 1.6426476944700765e+00, 1.0)) * dx\n"
140  " + vec4( 5.9133333333333399e-02, "
141  "3.5983333333333301e-01, 8.6833333333333296e-01, 1.0);\n"
142  " } else if (x < 1.5625000000000000e-01) {\n"
143  " float dx = x - 1.4062500000000000e-01;\n"
144  " return ((vec4(-1.9850459267366693e+03, "
145  "1.4738473211499172e+02, 2.4976683303608979e+02, 1.0) * dx\n"
146  " + vec4( 1.1194563273283002e+02, "
147  "-1.2627302676317344e+01, -2.0943120362100398e+01, 1.0)) * dx\n"
148  " + vec4(-1.6317582534813697e+00, "
149  "1.5120237656082123e+00, 3.2294373922181602e-01, 1.0)) * dx\n"
150  " + vec4( 1.1695238095238101e-02, "
151  "3.8750952380952403e-01, 8.8195714285714299e-01, 1.0);\n"
152  " } else if (x < 1.7187500000000000e-01) {\n"
153  " float dx = x - 1.5625000000000000e-01;\n"
154  " return ((vec4(-1.3211246088080517e+02, "
155  "6.1731462945951478e+01, 9.6199145930320853e+01, 1.0) * dx\n"
156  " + vec4( 1.8896604917048652e+01, "
157  "-5.7186433584271068e+00, -9.2353000635336890e+00, 1.0)) * dx\n"
158  " + vec4( 4.1265170979798449e-01, "
159  "1.2253683588153301e+00, -1.4859407992871662e-01, 1.0)) * dx\n"
160  " + vec4( 5.9571428571428596e-03, "
161  "4.0861428571428599e-01, 8.8284285714285704e-01, 1.0);\n"
162  " } else if (x < 1.8750000000000000e-01) {\n"
163  " float dx = x - 1.7187500000000000e-01;\n"
164  " return ((vec4(-2.4276114402580023e+02, "
165  "1.8878292291818184e+01, 5.4500811814199913e+01, 1.0) * dx\n"
166  " + vec4( 1.2703833313260910e+01, "
167  "-2.8249810328356313e+00, -4.7259650980498993e+00, 1.0)) * dx\n"
168  " + vec4( 9.0640855714657143e-01, "
169  "1.0918742277018498e+00, -3.6673884807846019e-01, 1.0)) * dx\n"
170  " + vec4( 1.6514285714285700e-02, "
171  "4.2659999999999998e-01, 8.7863333333333304e-01, 1.0);\n"
172  " } else if (x < 2.0312500000000000e-01) {\n"
173  " float dx = x - 1.8750000000000000e-01;\n"
174  " return ((vec4(-2.4875702015890445e+02, "
175  "2.7531596458333780e+01, 1.1605149669749400e+01, 1.0) * dx\n"
176  " + vec4( 1.3244046870515243e+00, "
177  "-1.9400610816566539e+00, -2.1712395442592785e+00, 1.0)) * dx\n"
178  " + vec4( 1.1255997759014531e+00, "
179  "1.0174204446629080e+00, -4.7450767061454108e-01, 1.0)) * dx\n"
180  " + vec4( 3.2852380952381001e-02, "
181  "4.4304285714285702e-01, 8.7195714285714299e-01, 1.0);\n"
182  " } else if (x < 2.1875000000000000e-01) {\n"
183  " float dx = x - 2.0312500000000000e-01;\n"
184  " return ((vec4( 6.6879357994795782e+01, "
185  "3.3156266362545779e+00, 3.1398894268734253e+01, 1.0) * dx\n"
186  " + vec4(-1.0336080632897122e+01, "
187  "-6.4951749767225808e-01, -1.6272481534897754e+00, 1.0)) * dx\n"
188  " + vec4( 9.8479233924761567e-01, "
189  "9.7695827936089374e-01, -5.3385904089187008e-01, 1.0)) * dx\n"
190  " + vec4( 4.9814285714285700e-02, "
191  "4.5857142857142902e-01, 8.6405714285714297e-01, 1.0);\n"
192  " } else if (x < 2.3437500000000000e-01) {\n"
193  " float dx = x - 2.1875000000000000e-01;\n"
194  " return ((vec4(-3.7807546774099214e+00, "
195  "2.9110963663947160e+01, 2.0085673255558202e+01, 1.0) * dx\n"
196  " + vec4(-7.2011107268910699e+00, "
197  "-4.9409749909782474e-01, -1.5542498464285720e-01, 1.0)) * dx\n"
198  " + vec4( 7.1077372425092522e-01, "
199  "9.5908929503636120e-01, -5.6171330867519242e-01, 1.0)) * dx\n"
200  " + vec4( 6.2933333333333299e-02, "
201  "4.7369047619047600e-01, 8.5543809523809500e-01, 1.0);\n"
202  " } else if (x < 2.5000000000000000e-01) {\n"
203  " float dx = x - 2.3437500000000000e-01;\n"
204  " return ((vec4(-1.8052110713761824e+01, "
205  "7.5676044216235097e+00, 2.6820241280346455e+01, 1.0) * dx\n"
206  " + vec4(-7.3783336023946600e+00, "
207  "8.7047892264969851e-01, 7.8609094921143352e-01, 1.0)) * dx\n"
208  " + vec4( 4.8296990660583561e-01, "
209  "9.6497025477935916e-01, -5.5185915297880839e-01, 1.0)) * dx\n"
210  " + vec4( 7.2266666666666701e-02, "
211  "4.8866666666666703e-01, 8.4670000000000001e-01, 1.0);\n"
212  " } else if (x < 2.6562500000000000e-01) {\n"
213  " float dx = x - 2.5000000000000000e-01;\n"
214  " return ((vec4(-8.5042116753280467e+01, "
215  "3.9234694840689350e+01, 6.3623990194130904e+01, 1.0) * dx\n"
216  " + vec4(-8.2245262921022455e+00, "
217  "1.2252103799133005e+00, 2.0432897592276738e+00, 1.0)) * dx\n"
218  " + vec4( 2.3917522075432149e-01, "
219  "9.9771540013190607e-01, -5.0765007940944740e-01, 1.0)) * dx\n"
220  " + vec4( 7.7942857142857203e-02, "
221  "5.0398571428571404e-01, 8.3837142857142899e-01, 1.0);\n"
222  " } else if (x < 2.8125000000000000e-01) {\n"
223  " float dx = x - 2.6562500000000000e-01;\n"
224  " return ((vec4(-4.4981860368289709e+01, "
225  "3.5222378119677195e+01, 1.8276940800992332e+01, 1.0) * dx\n"
226  " + vec4(-1.2210875514912267e+01, "
227  "3.0643367005706139e+00, 5.0256642995775600e+00, 1.0)) * dx\n"
228  " + vec4(-8.0127932480280273e-02, "
229  "1.0647395732644671e+00, -3.9719767224061564e-01, 1.0)) * dx\n"
230  " + vec4( 7.9347619047619000e-02, "
231  "5.2002380952381000e-01, 8.3118095238095202e-01, 1.0);\n"
232  " } else if (x < 2.9687500000000000e-01) {\n"
233  " float dx = x - 2.8125000000000000e-01;\n"
234  " return ((vec4( 8.8958586797831074e+01, "
235  "-6.4031864461777545e+01, -5.4343639113056135e+01, 1.0) * dx\n"
236  " + vec4(-1.4319400219675847e+01, "
237  "4.7153856749304826e+00, 5.8823958996240755e+00, 1.0)) * dx\n"
238  " + vec4(-4.9466349083321959e-01, "
239  "1.1862977353816719e+00, -2.2675923162809006e-01, 1.0)) * dx\n"
240  " + vec4( 7.4942857142857103e-02, "
241  "5.3754285714285699e-01, 8.2627142857142899e-01, 1.0);\n"
242  " } else if (x < 3.1250000000000000e-01) {\n"
243  " float dx = x - 2.9687500000000000e-01;\n"
244  " return ((vec4( 2.3465669412937996e+02, "
245  "-7.4943148843863256e+01, -1.7040059387215410e+02, 1.0) * dx\n"
246  " + vec4(-1.0149466463527515e+01, "
247  "1.7138920282846606e+00, 3.3350378161995691e+00, 1.0)) * dx\n"
248  " + vec4(-8.7698953275827207e-01, "
249  "1.2867551994944084e+00, -8.2736829818345611e-02, 1.0)) * dx\n"
250  " + vec4( 6.4057142857142799e-02, "
251  "5.5698571428571397e-01, 8.2395714285714305e-01, 1.0);\n"
252  " } else if (x < 3.2812500000000000e-01) {\n"
253  " float dx = x - 3.1250000000000000e-01;\n"
254  " return ((vec4( 3.5054309382746595e+02, "
255  "-7.5598816353949772e+01, -5.9224118732067950e+01, 1.0) * dx\n"
256  " + vec4( 8.5006607378717081e-01, "
257  "-1.7990680737714295e+00, -4.6524900215576546e+00, 1.0)) * dx\n"
258  " + vec4(-1.0222926638479650e+00, "
259  "1.2854243237836778e+00, -1.0332202052706571e-01, 1.0)) * dx\n"
260  " + vec4( 4.8771428571428597e-02, "
261  "5.7722380952381003e-01, 8.2282857142857202e-01, 1.0);\n"
262  " } else if (x < 3.4375000000000000e-01) {\n"
263  " float dx = x - 3.2812500000000000e-01;\n"
264  " return ((vec4(-1.3511844086782639e+02, "
265  "2.1571557117596814e+01, 6.5912402293741552e+00, 1.0) * dx\n"
266  " + vec4( 1.7281773596949638e+01, "
267  "-5.3427625903628249e+00, -7.4286205871233397e+00, 1.0)) * dx\n"
268  " + vec4(-7.3898266899270237e-01, "
269  "1.1738332196565799e+00, -2.9208937378770627e-01, 1.0)) * dx\n"
270  " + vec4( 3.4342857142857203e-02, "
271  "5.9658095238095199e-01, 8.1985238095238100e-01, 1.0);\n"
272  " } else if (x < 3.5937500000000000e-01) {\n"
273  " float dx = x - 3.4375000000000000e-01;\n"
274  " return ((vec4(-1.6458788273706924e+02, "
275  "1.0533768835542057e+01, 3.0362548290707878e+01, 1.0) * dx\n"
276  " + vec4( 1.0948096681270275e+01, "
277  "-4.3315958504754741e+00, -7.1196562013714262e+00, 1.0)) * dx\n"
278  " + vec4(-2.9789094589551629e-01, "
279  "1.0226713690184817e+00, -5.1940619860793691e-01, 1.0)) * dx\n"
280  " + vec4( 2.6499999999999999e-02, "
281  "6.1370000000000002e-01, 8.1350000000000000e-01, 1.0);\n"
282  " } else if (x < 3.7500000000000000e-01) {\n"
283  " float dx = x - 3.5937500000000000e-01;\n"
284  " return ((vec4(-1.0406115199344315e+02, "
285  "1.9929786587720105e+01, 3.6734795179105028e+01, 1.0) * dx\n"
286  " + vec4( 3.2330396779701545e+00, "
287  "-3.8378254363094402e+00, -5.6964117502444944e+00, 1.0)) * dx\n"
288  " + vec4(-7.6310690282384588e-02, "
289  "8.9502416141246732e-01, -7.1965726035193567e-01, 1.0)) * dx\n"
290  " + vec4( 2.3890476190476202e-02, "
291  "6.2866190476190498e-01, 8.0376190476190501e-01, 1.0);\n"
292  " } else if (x < 3.9062500000000000e-01) {\n"
293  " float dx = x - 3.7500000000000000e-01;\n"
294  " return ((vec4( 2.3255546213942225e+02, "
295  "1.8349599099637384e+01, 1.7433813849989207e+01, 1.0) * dx\n"
296  " + vec4(-1.6448268217224928e+00, "
297  "-2.9036166900100602e+00, -3.9744682262239461e+00, 1.0)) * dx\n"
298  " + vec4(-5.1494864403514876e-02, "
299  "7.8968912818872505e-01, -8.7076475998425507e-01, 1.0)) * dx\n"
300  " + vec4( 2.3090476190476199e-02, "
301  "6.4178571428571396e-01, 7.9126666666666701e-01, 1.0);\n"
302  " } else if (x < 4.0625000000000000e-01) {\n"
303  " float dx = x - 3.9062500000000000e-01;\n"
304  " return ((vec4( 1.5126193200717549e+02, "
305  "2.0267550346934740e+01, 2.0857035135376179e+01, 1.0) * dx\n"
306  " + vec4( 9.2562104660629245e+00, "
307  "-2.0434792322145579e+00, -3.1572582020057021e+00, 1.0)) * dx\n"
308  " + vec4( 6.7433005039304356e-02, "
309  "7.1239075440396538e-01, -9.8219798542534331e-01, 1.0)) * dx\n"
310  " + vec4( 2.2771428571428599e-02, "
311  "6.5348571428571400e-01, 7.7675714285714303e-01, 1.0);\n"
312  " } else if (x < 4.2187500000000000e-01) {\n"
313  " float dx = x - 4.0625000000000000e-01;\n"
314  " return ((vec4( 1.0861181935568159e+02, "
315  "-5.7969433444380156e+00, 3.9956456082908054e+00, 1.0) * dx\n"
316  " + vec4( 1.6346613528899276e+01, "
317  "-1.0934378097019919e+00, -2.1795846800349437e+00, 1.0)) * dx\n"
318  " + vec4( 4.6747712996058871e-01, "
319  "6.6337642562401933e-01, -1.0655861554572283e+00, 1.0)) * dx\n"
320  " + vec4( 2.6661904761904800e-02, "
321  "6.6419523809523795e-01, 7.6071904761904796e-01, 1.0);\n"
322  " } else if (x < 4.3750000000000000e-01) {\n"
323  " float dx = x - 4.2187500000000000e-01;\n"
324  " return ((vec4(-3.0484063800132168e+02, "
325  "1.4154965887634640e+01, -3.1353889969814710e+00, 1.0) * dx\n"
326  " + vec4( 2.1437792561196851e+01, "
327  "-1.3651695289725239e+00, -1.9922887921463122e+00, 1.0)) * dx\n"
328  " + vec4( 1.0578584751183406e+00, "
329  "6.2496068595722998e-01, -1.1307716784600605e+00, 1.0)) * dx\n"
330  " + vec4( 3.8371428571428598e-02, "
331  "6.7427142857142897e-01, 7.4355238095238096e-01, 1.0);\n"
332  " } else if (x < 4.5312500000000000e-01) {\n"
333  " float dx = x - 4.3750000000000000e-01;\n"
334  " return ((vec4( 1.9732370744832981e+01, "
335  "-3.3873392535419122e+00, -5.1854420010455629e+00, 1.0) * dx\n"
336  " + vec4( 7.1483876548848961e+00, "
337  "-7.0165550298965007e-01, -2.1392601513798186e+00, 1.0)) * dx\n"
338  " + vec4( 1.5045175409946179e+00, "
339  "5.9266654483282100e-01, -1.1953271307026563e+00, 1.0)) * dx\n"
340  " + vec4( 5.8971428571428598e-02, "
341  "6.8375714285714295e-01, 7.2538571428571397e-01, 1.0);\n"
342  " } else if (x < 4.6875000000000000e-01) {\n"
343  " float dx = x - 4.5312500000000000e-01;\n"
344  " return ((vec4(-5.2460806882781675e+01, "
345  "-6.0560887320505685e-01, 1.3890718905419471e+01, 1.0) * dx\n"
346  " + vec4( 8.0733425335489422e+00, "
347  "-8.6043703049942721e-01, -2.3823277451788294e+00, 1.0)) * dx\n"
348  " + vec4( 1.7423570751888966e+00, "
349  "5.6825884899705426e-01, -1.2659769415863851e+00, 1.0)) * dx\n"
350  " + vec4( 8.4300000000000000e-02, "
351  "6.9283333333333297e-01, 7.0616666666666705e-01, 1.0);\n"
352  " } else if (x < 4.8437500000000000e-01) {\n"
353  " float dx = x - 4.6875000000000000e-01;\n"
354  " return ((vec4( 1.0354971072183483e+01, "
355  "5.8097747460711062e+00, -5.4384621916749820e+00, 1.0) * dx\n"
356  " + vec4( 5.6142422109185510e+00, "
357  "-8.8882494643091425e-01, -1.7312002964872917e+00, 1.0)) * dx\n"
358  " + vec4( 1.9562255868212013e+00, "
359  "5.4092663060751767e-01, -1.3302508172374183e+00, 1.0)) * dx\n"
360  " + vec4( 1.1329523809523800e-01, "
361  "7.0150000000000001e-01, 6.8585714285714305e-01, 1.0);\n"
362  " } else if (x < 5.0000000000000000e-01) {\n"
363  " float dx = x - 4.8437500000000000e-01;\n"
364  " return ((vec4(-1.3925172644537971e+01, "
365  "-8.9021377300786071e+00, -4.6199177582688593e+00, 1.0) * dx\n"
366  " + vec4( 6.0996314799271518e+00, "
367  "-6.1649175520883115e-01, -1.9861282117220564e+00, 1.0)) * dx\n"
368  " + vec4( 2.1392548632406654e+00, "
369  "5.1740605714439658e-01, -1.3883340751781894e+00, 1.0)) * dx\n"
370  " + vec4( 1.4527142857142900e-01, "
371  "7.0975714285714298e-01, 6.6462857142857201e-01, 1.0);\n"
372  " } else if (x < 5.1562500000000000e-01) {\n"
373  " float dx = x - 5.0000000000000000e-01;\n"
374  " return ((vec4( 3.1614367125520630e+01, "
375  "-1.1395280968671647e+01, 2.1421523701702025e+01, 1.0) * dx\n"
376  " + vec4( 5.4468890122144344e+00, "
377  "-1.0337794613062659e+00, -2.2026868566409092e+00, 1.0)) * dx\n"
378  " + vec4( 2.3196692459303776e+00, "
379  "4.9162056938634824e-01, -1.4537843106213608e+00, 1.0)) * dx\n"
380  " + vec4( 1.8013333333333301e-01, "
381  "7.1765714285714299e-01, 6.4243333333333297e-01, 1.0);\n"
382  " } else if (x < 5.3125000000000000e-01) {\n"
383  " float dx = x - 5.1562500000000000e-01;\n"
384  " return ((vec4(-3.7634010143333590e+01, "
385  "2.0544616050328934e+00, 1.3219372364175872e+00, 1.0) * dx\n"
386  " + vec4( 6.9288124712232140e+00, "
387  "-1.5679332567127493e+00, -1.1985529331236269e+00, 1.0)) * dx\n"
388  " + vec4( 2.5130395816090907e+00, "
389  "4.5096880816730112e-01, -1.5069286823364316e+00, 1.0)) * dx\n"
390  " + vec4( 2.1782857142857101e-01, "
391  "7.2504285714285699e-01, 6.1926190476190501e-01, 1.0);\n"
392  " } else if (x < 5.4687500000000000e-01) {\n"
393  " float dx = x - 5.3125000000000000e-01;\n"
394  " return ((vec4( 1.2815768685879013e+01, "
395  "-1.4298832118473902e+01, 3.9450879734146490e+01, 1.0) * dx\n"
396  " + vec4( 5.1647182457544520e+00, "
397  "-1.4716303689768324e+00, -1.1365871251665525e+00, 1.0)) * dx\n"
398  " + vec4( 2.7020009990618670e+00, "
399  "4.0347562651590141e-01, -1.5434152457472157e+00, 1.0)) * dx\n"
400  " + vec4( 2.5864285714285701e-01, "
401  "7.3171428571428598e-01, 5.9542857142857097e-01, 1.0);\n"
402  " } else if (x < 5.6250000000000000e-01) {\n"
403  " float dx = x - 5.4687500000000000e-01;\n"
404  " return ((vec4(-7.8540912219456771e+01, "
405  "-1.8509114083431125e+01, 3.3113477160250433e+01, 1.0) * dx\n"
406  " + vec4( 5.7654574029050307e+00, "
407  "-2.1418881245302965e+00, 7.1267286237156402e-01, 1.0)) * dx\n"
408  " + vec4( 2.8727849935721714e+00, "
409  "3.4701440005485251e-01, -1.5500389061033872e+00, 1.0)) * dx\n"
410  " + vec4( 3.0217142857142898e-01, "
411  "7.3760476190476199e-01, 5.7118571428571396e-01, 1.0);\n"
412  " } else if (x < 5.7812500000000000e-01) {\n"
413  " float dx = x - 5.6250000000000000e-01;\n"
414  " return ((vec4(-5.8163891236508938e+01, "
415  "9.6920884524980497e+00, 3.0320583052976861e+01, 1.0) * dx\n"
416  " + vec4( 2.0838521426179946e+00, "
417  "-3.0095028471911305e+00, 2.2648671042583031e+00, 1.0)) * dx\n"
418  " + vec4( 2.9954304552209687e+00, "
419  "2.6652391612170523e-01, -1.5035148441247956e+00, 1.0)) * dx\n"
420  " + vec4( 3.4816666666666701e-01, "
421  "7.4243333333333295e-01, 5.4726666666666701e-01, 1.0);\n"
422  " } else if (x < 5.9375000000000000e-01) {\n"
423  " float dx = x - 5.7812500000000000e-01;\n"
424  " return ((vec4(-6.4543256167712116e+01, "
425  "-2.8636353652780144e-01, 2.8905906284068501e+00, 1.0) * dx\n"
426  " + vec4(-6.4258025909336181e-01, "
427  "-2.5551862009802844e+00, 3.6861444348665935e+00, 1.0)) * dx\n"
428  " + vec4( 3.0179503284010409e+00, "
429  "1.7957564974402687e-01, -1.4105302888259692e+00, 1.0)) * dx\n"
430  " + vec4( 3.9525714285714297e-01, "
431  "7.4590000000000001e-01, 5.2444285714285699e-01, 1.0);\n"
432  " } else if (x < 6.0937500000000000e-01) {\n"
433  " float dx = x - 5.9375000000000000e-01;\n"
434  " return ((vec4(-2.4450284092939786e+01, "
435  "1.3922851408411924e+01, -1.6916850328844372e+01, 1.0) * dx\n"
436  " + vec4(-3.6680453919548675e+00, "
437  "-2.5686094917550251e+00, 3.8216408705731646e+00, 1.0)) * dx\n"
438  " + vec4( 2.9505968026034126e+00, "
439  "9.9516342045037676e-02, -1.2932211434284731e+00, 1.0)) * dx\n"
440  " + vec4( 4.4200952380952402e-01, "
441  "7.4808095238095196e-01, 5.0331428571428605e-01, 1.0);\n"
442  " } else if (x < 6.2500000000000000e-01) {\n"
443  " float dx = x - 6.0937500000000000e-01;\n"
444  " return ((vec4( 1.2547821111311350e+01, "
445  "1.5748329330961459e+01, -1.7611303598786566e+01, 1.0) * dx\n"
446  " + vec4(-4.8141524588114200e+00, "
447  "-1.9159758319857161e+00, 3.0286635114085847e+00, 1.0)) * dx\n"
448  " + vec4( 2.8180624611851890e+00, "
449  "2.9444696361588602e-02, -1.1861851374600081e+00, 1.0)) * dx\n"
450  " + vec4( 4.8712380952380901e-01, "
451  "7.4906190476190504e-01, 4.8397619047619100e-01, 1.0);\n"
452  " } else if (x < 6.4062500000000000e-01) {\n"
453  " float dx = x - 6.2500000000000000e-01;\n"
454  " return ((vec4( 9.2115329809656430e+00, "
455  "-3.2661877796437579e+00, -1.2675733711774058e+00, 1.0) * dx\n"
456  " + vec4(-4.2259733442187004e+00, "
457  "-1.1777728945968977e+00, 2.2031336552154643e+00, 1.0)) * dx\n"
458  " + vec4( 2.6768104955128438e+00, "
459  "-1.8895127491264742e-02, -1.1044383067315073e+00, 1.0)) * dx\n"
460  " + vec4( 5.3002857142857096e-01, "
461  "7.4911428571428595e-01, 4.6611428571428598e-01, 1.0);\n"
462  " } else if (x < 6.5625000000000000e-01) {\n"
463  " float dx = x - 6.4062500000000000e-01;\n"
464  " return ((vec4( 1.4269589821681299e+01, "
465  "7.3028598827757278e+00, -8.5260219639800940e+00, 1.0) * dx\n"
466  " + vec4(-3.7941827357359359e+00, "
467  "-1.3308754467676989e+00, 2.1437161534415234e+00, 1.0)) * dx\n"
468  " + vec4( 2.5514955567635522e+00, "
469  "-5.8092757825086563e-02, -1.0365187784712420e+00, 1.0)) * dx\n"
470  " + vec4( 5.7085714285714295e-01, "
471  "7.4851904761904797e-01, 4.4939047619047601e-01, 1.0);\n"
472  " } else if (x < 6.7187500000000000e-01) {\n"
473  " float dx = x - 6.5625000000000000e-01;\n"
474  " return ((vec4( 8.6083934467238432e+00, "
475  "2.6914824850885094e-01, -1.7057138772896455e+01, 1.0) * dx\n"
476  " + vec4(-3.1252957128446250e+00, "
477  "-9.8855388976258662e-01, 1.7440588738799565e+00, 1.0)) * dx\n"
478  " + vec4( 2.4433787060044811e+00, "
479  "-9.4333841208372265e-02, -9.7577229366934382e-01, 1.0)) * dx\n"
480  " + vec4( 6.0985238095238103e-01, "
481  "7.4731428571428604e-01, 4.3368571428571401e-01, 1.0);\n"
482  " } else if (x < 6.8750000000000000e-01) {\n"
483  " float dx = x - 6.7187500000000000e-01;\n"
484  " return ((vec4( 8.7188554392023345e+00, "
485  "1.7834947123447904e+01, -1.8886229447019101e+00, 1.0) * dx\n"
486  " + vec4(-2.7217772700294449e+00, "
487  "-9.7593756561373424e-01, 9.4450549390043514e-01, 1.0)) * dx\n"
488  " + vec4( 2.3520181906470738e+00, "
489  "-1.2502902019862727e-01, -9.3376347542277516e-01, 1.0)) * dx\n"
490  " + vec4( 6.4729999999999999e-01, "
491  "7.4560000000000004e-01, 4.1880000000000001e-01, 1.0);\n"
492  " } else if (x < 7.0312500000000000e-01) {\n"
493  " float dx = x - 6.8750000000000000e-01;\n"
494  " return ((vec4( 8.9449847961700044e+00, "
495  "-2.1676746266635202e+01, -4.0993789718798466e+00, 1.0) * dx\n"
496  " + vec4(-2.3130809213168355e+00, "
497  "-1.3992441920211368e-01, 8.5597629336753311e-01, 1.0)) * dx\n"
498  " + vec4( 2.2733485314072883e+00, "
499  "-1.4246436371137491e-01, -9.0563094749671313e-01, 1.0)) * dx\n"
500  " + vec4( 6.8341904761904804e-01, "
501  "7.4347619047619096e-01, 4.0443333333333298e-01, 1.0);\n"
502  " } else if (x < 7.1875000000000000e-01) {\n"
503  " float dx = x - 7.0312500000000000e-01;\n"
504  " return ((vec4( 1.1674919661892304e+01, "
505  "2.3933066515154213e+01, -1.1673175453308831e+01, 1.0) * dx\n"
506  " + vec4(-1.8937847589963666e+00, "
507  "-1.1560219004506387e+00, 6.6381790406066532e-01, 1.0)) * dx\n"
508  " + vec4( 2.2076162551523946e+00, "
509  "-1.6271352495594915e-01, -8.8188416316189755e-01, 1.0)) * dx\n"
510  " + vec4( 7.1840952380952405e-01, "
511  "7.4113333333333298e-01, 3.9047619047618998e-01, 1.0);\n"
512  " } else if (x < 7.3437500000000000e-01) {\n"
513  " float dx = x - 7.1875000000000000e-01;\n"
514  " return ((vec4(-4.4641682053710623e+00, "
515  "2.0910706819426692e+00, 4.6048045942407727e+00, 1.0) * dx\n"
516  " + vec4(-1.3465228998451648e+00, "
517  "-3.4159407552784897e-02, 1.1663780468681384e-01, 1.0)) * dx\n"
518  " + vec4( 2.1569864479829954e+00, "
519  "-1.8131010789350266e-01, -8.6968954271271826e-01, 1.0)) * dx\n"
520  " + vec4( 7.5248571428571398e-01, "
521  "7.3839999999999995e-01, 3.7681428571428599e-01, 1.0);\n"
522  " } else if (x < 7.5000000000000000e-01) {\n"
523  " float dx = x - 7.3437500000000000e-01;\n"
524  " return ((vec4( 1.2423276968973711e+01, "
525  "-6.0829492432479162e+00, -2.1725700066572116e+01, 1.0) * dx\n"
526  " + vec4(-1.5557807844719334e+00, "
527  "6.3859530663277708e-02, 3.3248802004185007e-01, 1.0)) * dx\n"
528  " + vec4( 2.1116379529155407e+00, "
529  "-1.8084604346990121e-01, -8.6267195170133282e-01, 1.0)) * dx\n"
530  " + vec4( 7.8584285714285695e-01, "
531  "7.3556666666666704e-01, 3.6327142857142902e-01, 1.0);\n"
532  " } else if (x < 7.6562500000000000e-01) {\n"
533  " float dx = x - 7.5000000000000000e-01;\n"
534  " return ((vec4( 3.4549460436900552e+00, "
535  "2.2240726291601970e+01, -7.5799471847609725e+00, 1.0) * dx\n"
536  " + vec4(-9.7343967655129060e-01, "
537  "-2.2127871511396835e-01, -6.8590417057871789e-01, 1.0)) * dx\n"
538  " + vec4( 2.0721188832120530e+00, "
539  "-1.8330571822694325e-01, -8.6819407905347146e-01, 1.0)) * dx\n"
540  " + vec4( 8.1850476190476196e-01, "
541  "7.3273333333333301e-01, 3.4979047619047599e-01, 1.0);\n"
542  " } else if (x < 7.8125000000000000e-01) {\n"
543  " float dx = x - 7.6562500000000000e-01;\n"
544  " return ((vec4( 8.7094721894791203e+00, "
545  "1.3239510743088688e+01, -2.2852796908624047e+01, 1.0) * dx\n"
546  " + vec4(-8.1148908075331927e-01, "
547  "8.2125532980487381e-01, -1.0412141948643885e+00, 1.0)) * dx\n"
548  " + vec4( 2.0442293713791684e+00, "
549  "-1.7393108362239784e-01, -8.9518030351351996e-01, 1.0)) * dx\n"
550  " + vec4( 8.5065714285714300e-01, "
551  "7.2989999999999999e-01, 3.3602857142857101e-01, 1.0);\n"
552  " } else if (x < 7.9687500000000000e-01) {\n"
553  " float dx = x - 7.8125000000000000e-01;\n"
554  " return ((vec4(-1.2078434801289291e+01, "
555  "4.3390183117236198e+01, -3.9570693752303733e+01, 1.0) * dx\n"
556  " + vec4(-4.0323257187148548e-01, "
557  "1.4418573958871561e+00, -2.1124390499561407e+00, 1.0)) * dx\n"
558  " + vec4( 2.0252493455569058e+00, "
559  "-1.3856994728345987e-01, -9.4445613546384066e-01, 1.0)) * dx\n"
560  " + vec4( 8.8243333333333296e-01, "
561  "7.2743333333333304e-01, 3.2169999999999999e-01, 1.0);\n"
562  " } else if (x < 8.1250000000000000e-01) {\n"
563  " float dx = x - 7.9687500000000000e-01;\n"
564  " return ((vec4(-1.2824532984374384e+01, "
565  "1.1653781393088177e+02, -1.1096774236821523e+02, 1.0) * dx\n"
566  " + vec4(-9.6940920318192092e-01, "
567  "3.4757722295076028e+00, -3.9673153195953783e+00, 1.0)) * dx\n"
568  " + vec4( 2.0038018178216963e+00, "
569  "-6.1731984386666772e-02, -1.0394522974880831e+00, 1.0)) * dx\n"
570  " + vec4( 9.1393333333333304e-01, "
571  "7.2578571428571403e-01, 3.0627619047619098e-01, 1.0);\n"
572  " } else if (x < 8.2812500000000000e-01) {\n"
573  " float dx = x - 8.1250000000000000e-01;\n"
574  " return ((vec4(-3.5855044278532131e+02, "
575  "2.7064903734930277e+02, -8.0792089155266083e+01, 1.0) * dx\n"
576  " + vec4(-1.5705591868244702e+00, "
577  "8.9384822575176859e+00, -9.1689282431054675e+00, 1.0)) * dx\n"
578  " + vec4( 1.9641148117278464e+00, "
579  "1.3224074197310332e-01, -1.2447061031552840e+00, 1.0)) * dx\n"
580  " + vec4( 9.4495714285714305e-01, "
581  "7.2611428571428605e-01, 2.8864285714285698e-01, 1.0);\n"
582  " } else if (x < 8.4375000000000000e-01) {\n"
583  " float dx = x - 8.2812500000000000e-01;\n"
584  " return ((vec4(-3.8174017206443654e+02, "
585  "-1.9549693475620506e+02, 4.4911575613188438e+02, 1.0) * dx\n"
586  " + vec4(-1.8377611192386407e+01, "
587  "2.1625155883266252e+01, -1.2956057422258565e+01, 1.0)) * dx\n"
588  " + vec4( 1.6524246495526764e+00, "
589  "6.0979758792285232e-01, -1.5904090041765968e+00, 1.0)) * dx\n"
590  " + vec4( 9.7389523809523804e-01, "
591  "7.3139523809523799e-01, 2.6664761904761902e-01, 1.0);\n"
592  " } else if (x < 8.5937500000000000e-01) {\n"
593  " float dx = x - 8.4375000000000000e-01;\n"
594  " return ((vec4( 4.3248438818547703e+02, "
595  "-2.7134838403902307e+02, 3.3204036056432756e+01, 1.0) * dx\n"
596  " + vec4(-3.6271681757906869e+01, "
597  "1.2461237066569140e+01, 8.0962436464235150e+00, 1.0)) * dx\n"
598  " + vec4( 7.9852944720434427e-01, "
599  "1.1423974777640304e+00, -1.6663435944240195e+00, 1.0)) * dx\n"
600  " + vec4( 9.9377142857142897e-01, "
601  "7.4545714285714304e-01, 2.4034761904761900e-01, 1.0);\n"
602  " } else if (x < 8.7500000000000000e-01) {\n"
603  " float dx = x - 8.5937500000000000e-01;\n"
604  " return ((vec4( 1.7847934313241271e+02, "
605  "-6.1117386114828536e+00, -1.0882439559595376e+02, 1.0) * dx\n"
606  " + vec4(-1.5998976061712632e+01, "
607  "-2.5821843526006538e-01, 9.6526828365688004e+00, 1.0)) * dx\n"
608  " + vec4(-1.8199581227210410e-02, "
609  "1.3330696438782346e+00, -1.3890166181272647e+00, 1.0)) * dx\n"
610  " + vec4( 9.9904285714285701e-01, "
611  "7.6531428571428595e-01, 2.1641428571428600e-01, 1.0);\n"
612  " } else if (x < 8.9062500000000000e-01) {\n"
613  " float dx = x - 8.7500000000000000e-01;\n"
614  " return ((vec4( 1.0065469642774150e+02, "
615  "1.1181852770679304e+01, -4.2302948910418884e+01, 1.0) * dx\n"
616  " + vec4(-7.6327568523807861e+00, "
617  "-5.4470618267332416e-01, 4.5515392930084682e+00, 1.0)) * dx\n"
618  " + vec4(-3.8744540800992006e-01, "
619  "1.3205239467230254e+00, -1.1670756473526198e+00, 1.0)) * dx\n"
620  " + vec4( 9.9553333333333305e-01, "
621  "7.8605714285714301e-01, 1.9665238095238100e-01, 1.0);\n"
622  " } else if (x < 9.0625000000000000e-01) {\n"
623  " float dx = x - 8.9062500000000000e-01;\n"
624  " return ((vec4( 5.1792385442186948e+01, "
625  "1.3813127528788970e+01, -4.7771351619749993e+01, 1.0) * dx\n"
626  " + vec4(-2.9145679573304033e+00, "
627  "-2.0556834047731776e-02, 2.5685885628325829e+00, 1.0)) * dx\n"
628  " + vec4(-5.5224735816165738e-01, "
629  "1.3116917120867588e+00, -1.0558236496051034e+00, 1.0)) * dx\n"
630  " + vec4( 9.8799999999999999e-01, "
631  "8.0659999999999998e-01, 1.7936666666666701e-01, 1.0);\n"
632  " } else if (x < 9.2187500000000000e-01) {\n"
633  " float dx = x - 9.0625000000000000e-01;\n"
634  " return ((vec4( 1.1035785704157649e+02, "
635  "5.2154589495154021e+01, -3.9990387467675163e+01, 1.0) * dx\n"
636  " + vec4(-4.8679988972789023e-01, "
637  "6.2693351886425119e-01, 3.2930645565680206e-01, 1.0)) * dx\n"
638  " + vec4(-6.0539373077194325e-01, "
639  "1.3211663477870170e+00, -1.0105440399412067e+00, 1.0)) * dx\n"
640  " + vec4( 9.7885714285714298e-01, "
641  "8.2714285714285696e-01, 1.6331428571428599e-01, 1.0);\n"
642  " } else if (x < 9.3750000000000000e-01) {\n"
643  " float dx = x - 9.2187500000000000e-01;\n"
644  " return ((vec4( 4.6043843534396274e+01, "
645  "2.0987943062129727e+01, -2.3203479461840441e+01, 1.0) * dx\n"
646  " + vec4( 4.6862246590960082e+00, "
647  "3.0716799014495959e+00, -1.5452429568904713e+00, 1.0)) * dx\n"
648  " + vec4(-5.3977771875056635e-01, "
649  "1.3789571824794209e+00, -1.0295430477729828e+00, 1.0)) * dx\n"
650  " + vec4( 9.6970000000000001e-01, "
651  "8.4813809523809502e-01, 1.4745238095238100e-01, 1.0);\n"
652  " } else if (x < 9.5312500000000000e-01) {\n"
653  " float dx = x - 9.3750000000000000e-01;\n"
654  " return ((vec4( 6.1233625963980650e+01, "
655  "2.8669866827404956e+01, 2.4201791029260814e+01, 1.0) * dx\n"
656  " + vec4( 6.8445298247708335e+00, "
657  "4.0554897324869268e+00, -2.6329060566642419e+00, 1.0)) * dx\n"
658  " + vec4(-3.5960967994014698e-01, "
659  "1.4903192080096790e+00, -1.0948266261097752e+00, 1.0)) * dx\n"
660  " + vec4( 9.6258571428571404e-01, "
661  "8.7051428571428602e-01, 1.3089999999999999e-01, 1.0);\n"
662  " } else if (x < 9.6875000000000000e-01) {\n"
663  " float dx = x - 9.5312500000000000e-01;\n"
664  " return ((vec4( 4.1070719275903762e+01, "
665  "5.3910277236601019e+00, 2.0019172487757277e+01, 1.0) * dx\n"
666  " + vec4( 9.7148560418324266e+00, "
667  "5.3993897400215340e+00, -1.4984471021676413e+00, 1.0)) * dx\n"
668  " + vec4(-1.0086927577447102e-01, "
669  "1.6380516997676238e+00, -1.1593790192165234e+00, 1.0)) * dx\n"
670  " + vec4( 9.5887142857142904e-01, "
671  "8.9490000000000003e-01, 1.1324285714285701e-01, 1.0);\n"
672  " } else if (x < 9.8437500000000000e-01) {\n"
673  " float dx = x - 9.6875000000000000e-01;\n"
674  " return ((vec4(-5.3250445924665847e+01, "
675  "-1.6529749150400146e+01, -1.4422423336140781e+02, 1.0) * dx\n"
676  " + vec4( 1.1640046007890415e+01, "
677  "5.6520941645681013e+00, -5.6004839180401900e-01, 1.0)) * dx\n"
678  " + vec4( 2.3280106875244833e-01, "
679  "1.8107311357768368e+00, -1.1915430113098306e+00, 1.0)) * dx\n"
680  " + vec4( 9.5982380952380997e-01, "
681  "9.2183333333333295e-01, 9.4838095238095305e-02, 1.0);\n"
682  " } else if (x < 1.0000000000000000e+00) {\n"
683  " float dx = x - 9.8437500000000000e-01;\n"
684  " return ((vec4(-1.9507053557699635e+02, "
685  "-1.0404825969371934e+02, 1.5617193238656020e+02, 1.0) * dx\n"
686  " + vec4( 9.1439313551717039e+00, "
687  "4.8772621731430945e+00, -7.3205593306200099e+00, 1.0)) * dx\n"
688  " + vec4( 5.5755071505029385e-01, "
689  "1.9752523285535741e+00, -1.3146775069727061e+00, 1.0)) * dx\n"
690  " + vec4( 9.6609999999999996e-01, "
691  "9.5144285714285703e-01, 7.5533333333333300e-02, 1.0);\n"
692  " } else {\n"
693  " float dx = x - 1.0000000000000000e+00;\n"
694  " return ((vec4( 0.0000000000000000e+00, "
695  "3.4202936336155174e+00, 3.0625241907655076e+00, 1.0) * dx\n"
696  " + vec4( 0.0000000000000000e+00, "
697  "0.0000000000000000e+00, 0.0000000000000000e+00, 1.0)) * dx\n"
698  " + vec4( 0.0000000000000000e+00, "
699  "0.0000000000000000e+00, 0.0000000000000000e+00, 1.0)) * dx\n"
700  " + vec4( 9.7629999999999995e-01, "
701  "9.8309999999999997e-01, 5.3800000000000001e-02, 1.0);\n"
702  " }\n"
703  "}\n");
704  }
705  };
706 
707  } // namespace MATLAB
708 } // namespace colormap
colormap::Colormap
Definition: colormap.h:17
colormap::MATLAB::Parula
Definition: parula.h:13
colormap::Color::g
double g
Definition: colormap.h:14
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:46
colormap::Colormap::vec4
Definition: colormap.h:33
colormap::MATLAB::Parula::getCategory
std::string getCategory() const override
Definition: parula.h:48
Color
uint32_t Color
RGBA color.
Definition: color.h:8
colormap::MATLAB::Parula::getTitle
std::string getTitle() const override
Definition: parula.h:42
colormap::MATLAB::Parula::getColor
Color getColor(double x) const override
Definition: parula.h:29
colormap::MATLAB::Parula::getSource
std::string getSource() const override
Definition: parula.h:54
colormap::Color::a
double a
Definition: colormap.h:14
colormap::Color::b
double b
Definition: colormap.h:14
max
T max(T t1, T t2)
Definition: gdiam.h:51
colormap::Color
Definition: colormap.h:12
colormap
This file was automatically created with "create_c++_header.sh".
Definition: colormap.h:9
colormap::Color::r
double r
Definition: colormap.h:14
colormap::Colormap::WrapperBase
Definition: colormap.h:146
min
T min(T t1, T t2)
Definition: gdiam.h:44