mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-28 10:48:57 -05:00
Added new color maps. Part of #2191
This commit is contained in:
parent
eaa5445702
commit
11f91b577b
@ -69,6 +69,9 @@ QHash<QString, const float *> ColorMap::m_colorMaps{
|
|||||||
{"Shrimp", &m_shrimp[0]},
|
{"Shrimp", &m_shrimp[0]},
|
||||||
{"Cubehelix", &m_cubehelix[0]},
|
{"Cubehelix", &m_cubehelix[0]},
|
||||||
{"Cubegamma", &m_cubegamma[0]},
|
{"Cubegamma", &m_cubegamma[0]},
|
||||||
|
{"Cubehlx2", &m_cubehlx2[0]},
|
||||||
|
{"Icy", &m_icy[0]},
|
||||||
|
{"Mint", &m_mint[0]},
|
||||||
};
|
};
|
||||||
|
|
||||||
const float ColorMap::m_angel[m_size] =
|
const float ColorMap::m_angel[m_size] =
|
||||||
@ -6313,3 +6316,789 @@ const float ColorMap::m_cubegamma[m_size] =
|
|||||||
1.000, 0.998, 0.999,
|
1.000, 0.998, 0.999,
|
||||||
1.000, 1.000, 1.000,
|
1.000, 1.000, 1.000,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Generated with https://people.phy.cam.ac.uk/dag9/CUBEHELIX/cubetry.html
|
||||||
|
// Using: Start color: 1.5, Number of rotations: -1.0, Rotation direction: negative, Hue: 1.0, Gamma: 0.7
|
||||||
|
const float ColorMap::m_cubehlx2[m_size] =
|
||||||
|
{
|
||||||
|
0.000, 0.000, 0.000,
|
||||||
|
0.023, 0.023, 0.001,
|
||||||
|
0.037, 0.038, 0.002,
|
||||||
|
0.051, 0.049, 0.003,
|
||||||
|
0.063, 0.060, 0.004,
|
||||||
|
0.075, 0.069, 0.005,
|
||||||
|
0.086, 0.078, 0.007,
|
||||||
|
0.098, 0.086, 0.009,
|
||||||
|
0.109, 0.093, 0.010,
|
||||||
|
0.120, 0.100, 0.013,
|
||||||
|
0.131, 0.107, 0.015,
|
||||||
|
0.141, 0.113, 0.017,
|
||||||
|
0.152, 0.119, 0.020,
|
||||||
|
0.163, 0.124, 0.022,
|
||||||
|
0.173, 0.129, 0.025,
|
||||||
|
0.184, 0.134, 0.028,
|
||||||
|
0.195, 0.139, 0.032,
|
||||||
|
0.205, 0.144, 0.035,
|
||||||
|
0.216, 0.148, 0.039,
|
||||||
|
0.226, 0.152, 0.043,
|
||||||
|
0.237, 0.156, 0.047,
|
||||||
|
0.247, 0.160, 0.051,
|
||||||
|
0.257, 0.164, 0.055,
|
||||||
|
0.267, 0.167, 0.060,
|
||||||
|
0.278, 0.171, 0.065,
|
||||||
|
0.288, 0.174, 0.070,
|
||||||
|
0.298, 0.177, 0.075,
|
||||||
|
0.308, 0.181, 0.080,
|
||||||
|
0.318, 0.184, 0.085,
|
||||||
|
0.328, 0.186, 0.091,
|
||||||
|
0.337, 0.189, 0.097,
|
||||||
|
0.347, 0.192, 0.103,
|
||||||
|
0.357, 0.195, 0.109,
|
||||||
|
0.366, 0.197, 0.116,
|
||||||
|
0.375, 0.200, 0.122,
|
||||||
|
0.385, 0.202, 0.129,
|
||||||
|
0.394, 0.205, 0.136,
|
||||||
|
0.403, 0.207, 0.143,
|
||||||
|
0.412, 0.210, 0.150,
|
||||||
|
0.421, 0.212, 0.158,
|
||||||
|
0.429, 0.214, 0.165,
|
||||||
|
0.438, 0.217, 0.173,
|
||||||
|
0.446, 0.219, 0.181,
|
||||||
|
0.454, 0.221, 0.189,
|
||||||
|
0.462, 0.224, 0.197,
|
||||||
|
0.470, 0.226, 0.205,
|
||||||
|
0.478, 0.228, 0.214,
|
||||||
|
0.486, 0.230, 0.222,
|
||||||
|
0.493, 0.233, 0.231,
|
||||||
|
0.501, 0.235, 0.239,
|
||||||
|
0.508, 0.237, 0.248,
|
||||||
|
0.515, 0.240, 0.257,
|
||||||
|
0.522, 0.242, 0.266,
|
||||||
|
0.528, 0.244, 0.276,
|
||||||
|
0.535, 0.247, 0.285,
|
||||||
|
0.541, 0.249, 0.294,
|
||||||
|
0.547, 0.252, 0.304,
|
||||||
|
0.553, 0.254, 0.313,
|
||||||
|
0.559, 0.257, 0.323,
|
||||||
|
0.565, 0.259, 0.332,
|
||||||
|
0.570, 0.262, 0.342,
|
||||||
|
0.575, 0.265, 0.352,
|
||||||
|
0.580, 0.267, 0.362,
|
||||||
|
0.585, 0.270, 0.372,
|
||||||
|
0.590, 0.273, 0.381,
|
||||||
|
0.594, 0.276, 0.391,
|
||||||
|
0.599, 0.279, 0.401,
|
||||||
|
0.603, 0.282, 0.411,
|
||||||
|
0.607, 0.285, 0.421,
|
||||||
|
0.610, 0.288, 0.431,
|
||||||
|
0.614, 0.291, 0.441,
|
||||||
|
0.617, 0.295, 0.451,
|
||||||
|
0.621, 0.298, 0.461,
|
||||||
|
0.624, 0.301, 0.471,
|
||||||
|
0.626, 0.305, 0.481,
|
||||||
|
0.629, 0.308, 0.491,
|
||||||
|
0.632, 0.312, 0.500,
|
||||||
|
0.634, 0.316, 0.510,
|
||||||
|
0.636, 0.319, 0.520,
|
||||||
|
0.638, 0.323, 0.530,
|
||||||
|
0.640, 0.327, 0.539,
|
||||||
|
0.641, 0.331, 0.549,
|
||||||
|
0.643, 0.335, 0.558,
|
||||||
|
0.644, 0.339, 0.568,
|
||||||
|
0.645, 0.343, 0.577,
|
||||||
|
0.646, 0.348, 0.586,
|
||||||
|
0.647, 0.352, 0.595,
|
||||||
|
0.648, 0.356, 0.604,
|
||||||
|
0.648, 0.361, 0.613,
|
||||||
|
0.649, 0.365, 0.622,
|
||||||
|
0.649, 0.370, 0.631,
|
||||||
|
0.649, 0.375, 0.639,
|
||||||
|
0.649, 0.380, 0.648,
|
||||||
|
0.649, 0.384, 0.656,
|
||||||
|
0.648, 0.389, 0.665,
|
||||||
|
0.648, 0.394, 0.673,
|
||||||
|
0.648, 0.399, 0.681,
|
||||||
|
0.647, 0.404, 0.688,
|
||||||
|
0.646, 0.409, 0.696,
|
||||||
|
0.645, 0.415, 0.704,
|
||||||
|
0.644, 0.420, 0.711,
|
||||||
|
0.643, 0.425, 0.718,
|
||||||
|
0.642, 0.431, 0.726,
|
||||||
|
0.641, 0.436, 0.732,
|
||||||
|
0.640, 0.442, 0.739,
|
||||||
|
0.638, 0.447, 0.746,
|
||||||
|
0.637, 0.453, 0.752,
|
||||||
|
0.635, 0.458, 0.759,
|
||||||
|
0.634, 0.464, 0.765,
|
||||||
|
0.632, 0.470, 0.771,
|
||||||
|
0.630, 0.476, 0.776,
|
||||||
|
0.629, 0.481, 0.782,
|
||||||
|
0.627, 0.487, 0.787,
|
||||||
|
0.625, 0.493, 0.793,
|
||||||
|
0.623, 0.499, 0.798,
|
||||||
|
0.621, 0.505, 0.803,
|
||||||
|
0.620, 0.511, 0.807,
|
||||||
|
0.618, 0.517, 0.812,
|
||||||
|
0.616, 0.523, 0.816,
|
||||||
|
0.614, 0.529, 0.821,
|
||||||
|
0.612, 0.535, 0.825,
|
||||||
|
0.610, 0.541, 0.828,
|
||||||
|
0.608, 0.547, 0.832,
|
||||||
|
0.606, 0.553, 0.836,
|
||||||
|
0.604, 0.560, 0.839,
|
||||||
|
0.602, 0.566, 0.842,
|
||||||
|
0.601, 0.572, 0.845,
|
||||||
|
0.599, 0.578, 0.848,
|
||||||
|
0.597, 0.584, 0.850,
|
||||||
|
0.595, 0.590, 0.853,
|
||||||
|
0.594, 0.596, 0.855,
|
||||||
|
0.592, 0.602, 0.857,
|
||||||
|
0.591, 0.609, 0.859,
|
||||||
|
0.589, 0.615, 0.861,
|
||||||
|
0.588, 0.621, 0.862,
|
||||||
|
0.586, 0.627, 0.864,
|
||||||
|
0.585, 0.633, 0.865,
|
||||||
|
0.584, 0.639, 0.866,
|
||||||
|
0.582, 0.645, 0.867,
|
||||||
|
0.581, 0.651, 0.868,
|
||||||
|
0.580, 0.657, 0.869,
|
||||||
|
0.579, 0.663, 0.870,
|
||||||
|
0.579, 0.669, 0.870,
|
||||||
|
0.578, 0.674, 0.870,
|
||||||
|
0.577, 0.680, 0.871,
|
||||||
|
0.577, 0.686, 0.871,
|
||||||
|
0.576, 0.692, 0.871,
|
||||||
|
0.576, 0.697, 0.870,
|
||||||
|
0.576, 0.703, 0.870,
|
||||||
|
0.576, 0.709, 0.870,
|
||||||
|
0.576, 0.714, 0.869,
|
||||||
|
0.576, 0.720, 0.869,
|
||||||
|
0.576, 0.725, 0.868,
|
||||||
|
0.577, 0.731, 0.867,
|
||||||
|
0.577, 0.736, 0.866,
|
||||||
|
0.578, 0.741, 0.865,
|
||||||
|
0.578, 0.746, 0.864,
|
||||||
|
0.579, 0.751, 0.863,
|
||||||
|
0.580, 0.757, 0.862,
|
||||||
|
0.581, 0.762, 0.861,
|
||||||
|
0.583, 0.767, 0.860,
|
||||||
|
0.584, 0.771, 0.858,
|
||||||
|
0.586, 0.776, 0.857,
|
||||||
|
0.587, 0.781, 0.855,
|
||||||
|
0.589, 0.786, 0.854,
|
||||||
|
0.591, 0.790, 0.852,
|
||||||
|
0.593, 0.795, 0.851,
|
||||||
|
0.595, 0.799, 0.849,
|
||||||
|
0.597, 0.804, 0.848,
|
||||||
|
0.600, 0.808, 0.846,
|
||||||
|
0.602, 0.812, 0.845,
|
||||||
|
0.605, 0.817, 0.843,
|
||||||
|
0.608, 0.821, 0.841,
|
||||||
|
0.611, 0.825, 0.840,
|
||||||
|
0.614, 0.829, 0.838,
|
||||||
|
0.617, 0.832, 0.837,
|
||||||
|
0.620, 0.836, 0.835,
|
||||||
|
0.624, 0.840, 0.834,
|
||||||
|
0.627, 0.844, 0.832,
|
||||||
|
0.631, 0.847, 0.831,
|
||||||
|
0.635, 0.851, 0.829,
|
||||||
|
0.639, 0.854, 0.828,
|
||||||
|
0.643, 0.858, 0.827,
|
||||||
|
0.647, 0.861, 0.825,
|
||||||
|
0.651, 0.864, 0.824,
|
||||||
|
0.655, 0.867, 0.823,
|
||||||
|
0.660, 0.870, 0.822,
|
||||||
|
0.664, 0.873, 0.821,
|
||||||
|
0.669, 0.876, 0.820,
|
||||||
|
0.674, 0.879, 0.819,
|
||||||
|
0.679, 0.882, 0.818,
|
||||||
|
0.683, 0.885, 0.818,
|
||||||
|
0.688, 0.887, 0.817,
|
||||||
|
0.693, 0.890, 0.817,
|
||||||
|
0.699, 0.892, 0.816,
|
||||||
|
0.704, 0.895, 0.816,
|
||||||
|
0.709, 0.897, 0.816,
|
||||||
|
0.714, 0.899, 0.816,
|
||||||
|
0.720, 0.902, 0.815,
|
||||||
|
0.725, 0.904, 0.816,
|
||||||
|
0.731, 0.906, 0.816,
|
||||||
|
0.736, 0.908, 0.816,
|
||||||
|
0.742, 0.910, 0.816,
|
||||||
|
0.748, 0.912, 0.817,
|
||||||
|
0.753, 0.914, 0.818,
|
||||||
|
0.759, 0.916, 0.818,
|
||||||
|
0.765, 0.918, 0.819,
|
||||||
|
0.771, 0.920, 0.820,
|
||||||
|
0.776, 0.922, 0.821,
|
||||||
|
0.782, 0.923, 0.823,
|
||||||
|
0.788, 0.925, 0.824,
|
||||||
|
0.794, 0.927, 0.826,
|
||||||
|
0.800, 0.928, 0.827,
|
||||||
|
0.806, 0.930, 0.829,
|
||||||
|
0.811, 0.932, 0.831,
|
||||||
|
0.817, 0.933, 0.833,
|
||||||
|
0.823, 0.935, 0.835,
|
||||||
|
0.829, 0.936, 0.837,
|
||||||
|
0.835, 0.938, 0.840,
|
||||||
|
0.840, 0.939, 0.842,
|
||||||
|
0.846, 0.941, 0.845,
|
||||||
|
0.852, 0.942, 0.848,
|
||||||
|
0.857, 0.944, 0.851,
|
||||||
|
0.863, 0.945, 0.854,
|
||||||
|
0.869, 0.946, 0.857,
|
||||||
|
0.874, 0.948, 0.860,
|
||||||
|
0.880, 0.949, 0.863,
|
||||||
|
0.885, 0.951, 0.867,
|
||||||
|
0.890, 0.952, 0.871,
|
||||||
|
0.896, 0.954, 0.874,
|
||||||
|
0.901, 0.955, 0.878,
|
||||||
|
0.906, 0.956, 0.882,
|
||||||
|
0.911, 0.958, 0.886,
|
||||||
|
0.916, 0.959, 0.890,
|
||||||
|
0.921, 0.961, 0.894,
|
||||||
|
0.926, 0.962, 0.899,
|
||||||
|
0.930, 0.964, 0.903,
|
||||||
|
0.935, 0.966, 0.908,
|
||||||
|
0.940, 0.967, 0.912,
|
||||||
|
0.944, 0.969, 0.917,
|
||||||
|
0.948, 0.970, 0.922,
|
||||||
|
0.953, 0.972, 0.927,
|
||||||
|
0.957, 0.974, 0.932,
|
||||||
|
0.961, 0.976, 0.937,
|
||||||
|
0.965, 0.977, 0.942,
|
||||||
|
0.968, 0.979, 0.947,
|
||||||
|
0.972, 0.981, 0.952,
|
||||||
|
0.976, 0.983, 0.957,
|
||||||
|
0.979, 0.985, 0.962,
|
||||||
|
0.983, 0.987, 0.968,
|
||||||
|
0.986, 0.989, 0.973,
|
||||||
|
0.989, 0.991, 0.978,
|
||||||
|
0.992, 0.993, 0.984,
|
||||||
|
0.995, 0.995, 0.989,
|
||||||
|
0.997, 0.998, 0.995,
|
||||||
|
1.000, 1.000, 1.000,
|
||||||
|
};
|
||||||
|
|
||||||
|
// Generated with https://people.phy.cam.ac.uk/dag9/CUBEHELIX/cubetry.html
|
||||||
|
// Using: Start color: 3.0, Number of rotations: -0.5, Rotation direction: negative, Hue: 1.0, Gamma: 0.7
|
||||||
|
const float ColorMap::m_icy[m_size] =
|
||||||
|
{
|
||||||
|
0.000, 0.000, 0.000,
|
||||||
|
0.019, 0.018, 0.041,
|
||||||
|
0.030, 0.029, 0.066,
|
||||||
|
0.040, 0.039, 0.087,
|
||||||
|
0.048, 0.048, 0.105,
|
||||||
|
0.056, 0.057, 0.123,
|
||||||
|
0.063, 0.065, 0.139,
|
||||||
|
0.070, 0.073, 0.154,
|
||||||
|
0.076, 0.080, 0.168,
|
||||||
|
0.081, 0.088, 0.182,
|
||||||
|
0.087, 0.095, 0.195,
|
||||||
|
0.092, 0.103, 0.207,
|
||||||
|
0.096, 0.110, 0.219,
|
||||||
|
0.101, 0.117, 0.231,
|
||||||
|
0.105, 0.124, 0.242,
|
||||||
|
0.110, 0.130, 0.253,
|
||||||
|
0.113, 0.137, 0.263,
|
||||||
|
0.117, 0.144, 0.273,
|
||||||
|
0.121, 0.151, 0.283,
|
||||||
|
0.124, 0.157, 0.293,
|
||||||
|
0.128, 0.164, 0.302,
|
||||||
|
0.131, 0.171, 0.311,
|
||||||
|
0.134, 0.177, 0.320,
|
||||||
|
0.137, 0.184, 0.329,
|
||||||
|
0.140, 0.190, 0.337,
|
||||||
|
0.143, 0.196, 0.345,
|
||||||
|
0.146, 0.203, 0.353,
|
||||||
|
0.148, 0.209, 0.361,
|
||||||
|
0.151, 0.216, 0.369,
|
||||||
|
0.153, 0.222, 0.376,
|
||||||
|
0.156, 0.228, 0.383,
|
||||||
|
0.158, 0.235, 0.390,
|
||||||
|
0.160, 0.241, 0.397,
|
||||||
|
0.162, 0.247, 0.404,
|
||||||
|
0.165, 0.253, 0.410,
|
||||||
|
0.167, 0.260, 0.417,
|
||||||
|
0.169, 0.266, 0.423,
|
||||||
|
0.171, 0.272, 0.429,
|
||||||
|
0.173, 0.278, 0.435,
|
||||||
|
0.175, 0.284, 0.441,
|
||||||
|
0.177, 0.290, 0.446,
|
||||||
|
0.179, 0.297, 0.452,
|
||||||
|
0.180, 0.303, 0.457,
|
||||||
|
0.182, 0.309, 0.462,
|
||||||
|
0.184, 0.315, 0.467,
|
||||||
|
0.186, 0.321, 0.472,
|
||||||
|
0.188, 0.327, 0.477,
|
||||||
|
0.189, 0.333, 0.481,
|
||||||
|
0.191, 0.339, 0.486,
|
||||||
|
0.193, 0.345, 0.490,
|
||||||
|
0.194, 0.351, 0.495,
|
||||||
|
0.196, 0.357, 0.499,
|
||||||
|
0.198, 0.362, 0.503,
|
||||||
|
0.200, 0.368, 0.507,
|
||||||
|
0.201, 0.374, 0.511,
|
||||||
|
0.203, 0.380, 0.515,
|
||||||
|
0.205, 0.386, 0.518,
|
||||||
|
0.206, 0.392, 0.522,
|
||||||
|
0.208, 0.397, 0.525,
|
||||||
|
0.210, 0.403, 0.529,
|
||||||
|
0.212, 0.409, 0.532,
|
||||||
|
0.213, 0.415, 0.535,
|
||||||
|
0.215, 0.420, 0.538,
|
||||||
|
0.217, 0.426, 0.541,
|
||||||
|
0.219, 0.431, 0.544,
|
||||||
|
0.220, 0.437, 0.547,
|
||||||
|
0.222, 0.443, 0.549,
|
||||||
|
0.224, 0.448, 0.552,
|
||||||
|
0.226, 0.454, 0.554,
|
||||||
|
0.228, 0.459, 0.557,
|
||||||
|
0.230, 0.465, 0.559,
|
||||||
|
0.232, 0.470, 0.561,
|
||||||
|
0.234, 0.475, 0.564,
|
||||||
|
0.236, 0.481, 0.566,
|
||||||
|
0.238, 0.486, 0.568,
|
||||||
|
0.240, 0.491, 0.570,
|
||||||
|
0.242, 0.497, 0.572,
|
||||||
|
0.244, 0.502, 0.574,
|
||||||
|
0.246, 0.507, 0.575,
|
||||||
|
0.248, 0.512, 0.577,
|
||||||
|
0.251, 0.518, 0.579,
|
||||||
|
0.253, 0.523, 0.580,
|
||||||
|
0.255, 0.528, 0.582,
|
||||||
|
0.257, 0.533, 0.583,
|
||||||
|
0.260, 0.538, 0.585,
|
||||||
|
0.262, 0.543, 0.586,
|
||||||
|
0.265, 0.548, 0.587,
|
||||||
|
0.267, 0.553, 0.589,
|
||||||
|
0.270, 0.558, 0.590,
|
||||||
|
0.272, 0.563, 0.591,
|
||||||
|
0.275, 0.567, 0.592,
|
||||||
|
0.278, 0.572, 0.593,
|
||||||
|
0.280, 0.577, 0.594,
|
||||||
|
0.283, 0.582, 0.595,
|
||||||
|
0.286, 0.586, 0.596,
|
||||||
|
0.289, 0.591, 0.597,
|
||||||
|
0.291, 0.596, 0.598,
|
||||||
|
0.294, 0.600, 0.599,
|
||||||
|
0.297, 0.605, 0.600,
|
||||||
|
0.300, 0.609, 0.600,
|
||||||
|
0.303, 0.614, 0.601,
|
||||||
|
0.306, 0.618, 0.602,
|
||||||
|
0.309, 0.623, 0.603,
|
||||||
|
0.313, 0.627, 0.603,
|
||||||
|
0.316, 0.631, 0.604,
|
||||||
|
0.319, 0.636, 0.604,
|
||||||
|
0.322, 0.640, 0.605,
|
||||||
|
0.326, 0.644, 0.606,
|
||||||
|
0.329, 0.648, 0.606,
|
||||||
|
0.333, 0.653, 0.607,
|
||||||
|
0.336, 0.657, 0.607,
|
||||||
|
0.340, 0.661, 0.608,
|
||||||
|
0.343, 0.665, 0.608,
|
||||||
|
0.347, 0.669, 0.609,
|
||||||
|
0.351, 0.673, 0.609,
|
||||||
|
0.354, 0.677, 0.610,
|
||||||
|
0.358, 0.681, 0.610,
|
||||||
|
0.362, 0.685, 0.611,
|
||||||
|
0.366, 0.688, 0.611,
|
||||||
|
0.370, 0.692, 0.612,
|
||||||
|
0.374, 0.696, 0.612,
|
||||||
|
0.378, 0.700, 0.612,
|
||||||
|
0.382, 0.703, 0.613,
|
||||||
|
0.386, 0.707, 0.613,
|
||||||
|
0.390, 0.711, 0.614,
|
||||||
|
0.394, 0.714, 0.614,
|
||||||
|
0.398, 0.718, 0.615,
|
||||||
|
0.402, 0.721, 0.615,
|
||||||
|
0.407, 0.725, 0.616,
|
||||||
|
0.411, 0.728, 0.616,
|
||||||
|
0.415, 0.731, 0.617,
|
||||||
|
0.420, 0.735, 0.617,
|
||||||
|
0.424, 0.738, 0.618,
|
||||||
|
0.429, 0.741, 0.619,
|
||||||
|
0.433, 0.744, 0.619,
|
||||||
|
0.438, 0.748, 0.620,
|
||||||
|
0.443, 0.751, 0.620,
|
||||||
|
0.447, 0.754, 0.621,
|
||||||
|
0.452, 0.757, 0.622,
|
||||||
|
0.457, 0.760, 0.622,
|
||||||
|
0.461, 0.763, 0.623,
|
||||||
|
0.466, 0.766, 0.624,
|
||||||
|
0.471, 0.769, 0.625,
|
||||||
|
0.476, 0.772, 0.625,
|
||||||
|
0.481, 0.775, 0.626,
|
||||||
|
0.486, 0.778, 0.627,
|
||||||
|
0.491, 0.781, 0.628,
|
||||||
|
0.496, 0.783, 0.629,
|
||||||
|
0.501, 0.786, 0.630,
|
||||||
|
0.506, 0.789, 0.631,
|
||||||
|
0.511, 0.792, 0.632,
|
||||||
|
0.516, 0.794, 0.633,
|
||||||
|
0.521, 0.797, 0.634,
|
||||||
|
0.526, 0.799, 0.635,
|
||||||
|
0.531, 0.802, 0.636,
|
||||||
|
0.536, 0.805, 0.638,
|
||||||
|
0.542, 0.807, 0.639,
|
||||||
|
0.547, 0.810, 0.640,
|
||||||
|
0.552, 0.812, 0.642,
|
||||||
|
0.557, 0.815, 0.643,
|
||||||
|
0.563, 0.817, 0.644,
|
||||||
|
0.568, 0.819, 0.646,
|
||||||
|
0.573, 0.822, 0.647,
|
||||||
|
0.578, 0.824, 0.649,
|
||||||
|
0.584, 0.826, 0.651,
|
||||||
|
0.589, 0.829, 0.652,
|
||||||
|
0.595, 0.831, 0.654,
|
||||||
|
0.600, 0.833, 0.656,
|
||||||
|
0.605, 0.835, 0.657,
|
||||||
|
0.611, 0.837, 0.659,
|
||||||
|
0.616, 0.840, 0.661,
|
||||||
|
0.622, 0.842, 0.663,
|
||||||
|
0.627, 0.844, 0.665,
|
||||||
|
0.632, 0.846, 0.667,
|
||||||
|
0.638, 0.848, 0.669,
|
||||||
|
0.643, 0.850, 0.671,
|
||||||
|
0.649, 0.852, 0.674,
|
||||||
|
0.654, 0.854, 0.676,
|
||||||
|
0.660, 0.856, 0.678,
|
||||||
|
0.665, 0.858, 0.680,
|
||||||
|
0.671, 0.860, 0.683,
|
||||||
|
0.676, 0.862, 0.685,
|
||||||
|
0.681, 0.864, 0.688,
|
||||||
|
0.687, 0.866, 0.690,
|
||||||
|
0.692, 0.868, 0.693,
|
||||||
|
0.698, 0.869, 0.696,
|
||||||
|
0.703, 0.871, 0.698,
|
||||||
|
0.709, 0.873, 0.701,
|
||||||
|
0.714, 0.875, 0.704,
|
||||||
|
0.719, 0.877, 0.707,
|
||||||
|
0.725, 0.879, 0.710,
|
||||||
|
0.730, 0.880, 0.713,
|
||||||
|
0.735, 0.882, 0.716,
|
||||||
|
0.741, 0.884, 0.719,
|
||||||
|
0.746, 0.886, 0.722,
|
||||||
|
0.751, 0.887, 0.725,
|
||||||
|
0.757, 0.889, 0.729,
|
||||||
|
0.762, 0.891, 0.732,
|
||||||
|
0.767, 0.893, 0.735,
|
||||||
|
0.772, 0.894, 0.739,
|
||||||
|
0.778, 0.896, 0.742,
|
||||||
|
0.783, 0.898, 0.746,
|
||||||
|
0.788, 0.900, 0.749,
|
||||||
|
0.793, 0.901, 0.753,
|
||||||
|
0.798, 0.903, 0.757,
|
||||||
|
0.803, 0.905, 0.760,
|
||||||
|
0.808, 0.906, 0.764,
|
||||||
|
0.813, 0.908, 0.768,
|
||||||
|
0.818, 0.910, 0.772,
|
||||||
|
0.823, 0.911, 0.776,
|
||||||
|
0.828, 0.913, 0.780,
|
||||||
|
0.833, 0.915, 0.784,
|
||||||
|
0.838, 0.917, 0.788,
|
||||||
|
0.842, 0.918, 0.792,
|
||||||
|
0.847, 0.920, 0.796,
|
||||||
|
0.852, 0.922, 0.801,
|
||||||
|
0.857, 0.923, 0.805,
|
||||||
|
0.861, 0.925, 0.809,
|
||||||
|
0.866, 0.927, 0.814,
|
||||||
|
0.870, 0.929, 0.818,
|
||||||
|
0.875, 0.930, 0.822,
|
||||||
|
0.879, 0.932, 0.827,
|
||||||
|
0.884, 0.934, 0.832,
|
||||||
|
0.888, 0.936, 0.836,
|
||||||
|
0.892, 0.937, 0.841,
|
||||||
|
0.897, 0.939, 0.845,
|
||||||
|
0.901, 0.941, 0.850,
|
||||||
|
0.905, 0.943, 0.855,
|
||||||
|
0.909, 0.945, 0.860,
|
||||||
|
0.913, 0.946, 0.865,
|
||||||
|
0.917, 0.948, 0.869,
|
||||||
|
0.921, 0.950, 0.874,
|
||||||
|
0.925, 0.952, 0.879,
|
||||||
|
0.929, 0.954, 0.884,
|
||||||
|
0.933, 0.956, 0.889,
|
||||||
|
0.937, 0.958, 0.894,
|
||||||
|
0.941, 0.960, 0.899,
|
||||||
|
0.944, 0.962, 0.904,
|
||||||
|
0.948, 0.964, 0.910,
|
||||||
|
0.951, 0.965, 0.915,
|
||||||
|
0.955, 0.967, 0.920,
|
||||||
|
0.958, 0.970, 0.925,
|
||||||
|
0.962, 0.972, 0.930,
|
||||||
|
0.965, 0.974, 0.936,
|
||||||
|
0.968, 0.976, 0.941,
|
||||||
|
0.971, 0.978, 0.946,
|
||||||
|
0.975, 0.980, 0.951,
|
||||||
|
0.978, 0.982, 0.957,
|
||||||
|
0.981, 0.984, 0.962,
|
||||||
|
0.984, 0.986, 0.967,
|
||||||
|
0.986, 0.989, 0.973,
|
||||||
|
0.989, 0.991, 0.978,
|
||||||
|
0.992, 0.993, 0.984,
|
||||||
|
0.995, 0.995, 0.989,
|
||||||
|
0.997, 0.998, 0.995,
|
||||||
|
1.000, 1.000, 1.000,
|
||||||
|
};
|
||||||
|
|
||||||
|
// Generated with https://people.phy.cam.ac.uk/dag9/CUBEHELIX/cubetry.html
|
||||||
|
// Using: Start color: 2.75, Number of rotations: -0.5, Rotation direction: negative, Hue: 1.0, Gamma: 0.7
|
||||||
|
const float ColorMap::m_mint[m_size] =
|
||||||
|
{
|
||||||
|
0.000, 0.000, 0.000,
|
||||||
|
0.010, 0.023, 0.038,
|
||||||
|
0.016, 0.037, 0.061,
|
||||||
|
0.022, 0.050, 0.080,
|
||||||
|
0.026, 0.061, 0.097,
|
||||||
|
0.031, 0.071, 0.113,
|
||||||
|
0.035, 0.081, 0.127,
|
||||||
|
0.038, 0.091, 0.141,
|
||||||
|
0.042, 0.100, 0.153,
|
||||||
|
0.045, 0.109, 0.165,
|
||||||
|
0.048, 0.118, 0.177,
|
||||||
|
0.051, 0.127, 0.188,
|
||||||
|
0.054, 0.135, 0.198,
|
||||||
|
0.057, 0.143, 0.208,
|
||||||
|
0.060, 0.151, 0.217,
|
||||||
|
0.062, 0.159, 0.227,
|
||||||
|
0.065, 0.167, 0.235,
|
||||||
|
0.067, 0.175, 0.244,
|
||||||
|
0.069, 0.183, 0.252,
|
||||||
|
0.072, 0.190, 0.260,
|
||||||
|
0.074, 0.198, 0.267,
|
||||||
|
0.076, 0.205, 0.275,
|
||||||
|
0.078, 0.213, 0.282,
|
||||||
|
0.081, 0.220, 0.289,
|
||||||
|
0.083, 0.227, 0.295,
|
||||||
|
0.085, 0.234, 0.302,
|
||||||
|
0.087, 0.241, 0.308,
|
||||||
|
0.089, 0.248, 0.314,
|
||||||
|
0.091, 0.255, 0.320,
|
||||||
|
0.093, 0.262, 0.325,
|
||||||
|
0.095, 0.269, 0.331,
|
||||||
|
0.097, 0.276, 0.336,
|
||||||
|
0.099, 0.282, 0.341,
|
||||||
|
0.101, 0.289, 0.346,
|
||||||
|
0.103, 0.296, 0.351,
|
||||||
|
0.105, 0.302, 0.356,
|
||||||
|
0.107, 0.309, 0.360,
|
||||||
|
0.109, 0.315, 0.364,
|
||||||
|
0.111, 0.322, 0.369,
|
||||||
|
0.113, 0.328, 0.373,
|
||||||
|
0.115, 0.335, 0.377,
|
||||||
|
0.117, 0.341, 0.380,
|
||||||
|
0.119, 0.347, 0.384,
|
||||||
|
0.121, 0.354, 0.388,
|
||||||
|
0.124, 0.360, 0.391,
|
||||||
|
0.126, 0.366, 0.394,
|
||||||
|
0.128, 0.372, 0.398,
|
||||||
|
0.130, 0.378, 0.401,
|
||||||
|
0.132, 0.384, 0.404,
|
||||||
|
0.135, 0.390, 0.407,
|
||||||
|
0.137, 0.396, 0.409,
|
||||||
|
0.139, 0.402, 0.412,
|
||||||
|
0.141, 0.408, 0.415,
|
||||||
|
0.144, 0.413, 0.417,
|
||||||
|
0.146, 0.419, 0.420,
|
||||||
|
0.149, 0.425, 0.422,
|
||||||
|
0.151, 0.431, 0.424,
|
||||||
|
0.154, 0.436, 0.426,
|
||||||
|
0.156, 0.442, 0.428,
|
||||||
|
0.159, 0.447, 0.430,
|
||||||
|
0.162, 0.453, 0.432,
|
||||||
|
0.164, 0.458, 0.434,
|
||||||
|
0.167, 0.464, 0.436,
|
||||||
|
0.170, 0.469, 0.438,
|
||||||
|
0.172, 0.474, 0.439,
|
||||||
|
0.175, 0.480, 0.441,
|
||||||
|
0.178, 0.485, 0.443,
|
||||||
|
0.181, 0.490, 0.444,
|
||||||
|
0.184, 0.495, 0.446,
|
||||||
|
0.187, 0.500, 0.447,
|
||||||
|
0.190, 0.505, 0.448,
|
||||||
|
0.193, 0.510, 0.450,
|
||||||
|
0.196, 0.515, 0.451,
|
||||||
|
0.200, 0.520, 0.452,
|
||||||
|
0.203, 0.525, 0.453,
|
||||||
|
0.206, 0.530, 0.454,
|
||||||
|
0.210, 0.535, 0.455,
|
||||||
|
0.213, 0.540, 0.456,
|
||||||
|
0.216, 0.544, 0.457,
|
||||||
|
0.220, 0.549, 0.458,
|
||||||
|
0.223, 0.554, 0.459,
|
||||||
|
0.227, 0.558, 0.460,
|
||||||
|
0.231, 0.563, 0.461,
|
||||||
|
0.234, 0.567, 0.462,
|
||||||
|
0.238, 0.572, 0.463,
|
||||||
|
0.242, 0.576, 0.463,
|
||||||
|
0.246, 0.581, 0.464,
|
||||||
|
0.249, 0.585, 0.465,
|
||||||
|
0.253, 0.589, 0.466,
|
||||||
|
0.257, 0.593, 0.466,
|
||||||
|
0.261, 0.598, 0.467,
|
||||||
|
0.265, 0.602, 0.468,
|
||||||
|
0.270, 0.606, 0.469,
|
||||||
|
0.274, 0.610, 0.469,
|
||||||
|
0.278, 0.614, 0.470,
|
||||||
|
0.282, 0.618, 0.471,
|
||||||
|
0.286, 0.622, 0.471,
|
||||||
|
0.291, 0.626, 0.472,
|
||||||
|
0.295, 0.630, 0.473,
|
||||||
|
0.300, 0.633, 0.473,
|
||||||
|
0.304, 0.637, 0.474,
|
||||||
|
0.308, 0.641, 0.475,
|
||||||
|
0.313, 0.645, 0.475,
|
||||||
|
0.318, 0.648, 0.476,
|
||||||
|
0.322, 0.652, 0.477,
|
||||||
|
0.327, 0.655, 0.478,
|
||||||
|
0.332, 0.659, 0.478,
|
||||||
|
0.336, 0.663, 0.479,
|
||||||
|
0.341, 0.666, 0.480,
|
||||||
|
0.346, 0.669, 0.480,
|
||||||
|
0.351, 0.673, 0.481,
|
||||||
|
0.356, 0.676, 0.482,
|
||||||
|
0.361, 0.679, 0.483,
|
||||||
|
0.366, 0.683, 0.484,
|
||||||
|
0.371, 0.686, 0.485,
|
||||||
|
0.376, 0.689, 0.485,
|
||||||
|
0.381, 0.692, 0.486,
|
||||||
|
0.386, 0.695, 0.487,
|
||||||
|
0.391, 0.698, 0.488,
|
||||||
|
0.396, 0.701, 0.489,
|
||||||
|
0.402, 0.704, 0.490,
|
||||||
|
0.407, 0.707, 0.491,
|
||||||
|
0.412, 0.710, 0.492,
|
||||||
|
0.417, 0.713, 0.493,
|
||||||
|
0.423, 0.716, 0.495,
|
||||||
|
0.428, 0.719, 0.496,
|
||||||
|
0.434, 0.722, 0.497,
|
||||||
|
0.439, 0.724, 0.498,
|
||||||
|
0.444, 0.727, 0.499,
|
||||||
|
0.450, 0.730, 0.501,
|
||||||
|
0.455, 0.732, 0.502,
|
||||||
|
0.461, 0.735, 0.504,
|
||||||
|
0.466, 0.738, 0.505,
|
||||||
|
0.472, 0.740, 0.506,
|
||||||
|
0.478, 0.743, 0.508,
|
||||||
|
0.483, 0.745, 0.509,
|
||||||
|
0.489, 0.748, 0.511,
|
||||||
|
0.494, 0.750, 0.513,
|
||||||
|
0.500, 0.753, 0.514,
|
||||||
|
0.506, 0.755, 0.516,
|
||||||
|
0.511, 0.757, 0.518,
|
||||||
|
0.517, 0.760, 0.520,
|
||||||
|
0.523, 0.762, 0.522,
|
||||||
|
0.528, 0.764, 0.523,
|
||||||
|
0.534, 0.767, 0.525,
|
||||||
|
0.540, 0.769, 0.527,
|
||||||
|
0.545, 0.771, 0.529,
|
||||||
|
0.551, 0.773, 0.532,
|
||||||
|
0.557, 0.775, 0.534,
|
||||||
|
0.563, 0.778, 0.536,
|
||||||
|
0.568, 0.780, 0.538,
|
||||||
|
0.574, 0.782, 0.540,
|
||||||
|
0.580, 0.784, 0.543,
|
||||||
|
0.586, 0.786, 0.545,
|
||||||
|
0.591, 0.788, 0.548,
|
||||||
|
0.597, 0.790, 0.550,
|
||||||
|
0.603, 0.792, 0.553,
|
||||||
|
0.608, 0.794, 0.555,
|
||||||
|
0.614, 0.796, 0.558,
|
||||||
|
0.620, 0.798, 0.561,
|
||||||
|
0.626, 0.800, 0.563,
|
||||||
|
0.631, 0.802, 0.566,
|
||||||
|
0.637, 0.804, 0.569,
|
||||||
|
0.643, 0.806, 0.572,
|
||||||
|
0.648, 0.808, 0.575,
|
||||||
|
0.654, 0.809, 0.578,
|
||||||
|
0.660, 0.811, 0.581,
|
||||||
|
0.665, 0.813, 0.584,
|
||||||
|
0.671, 0.815, 0.587,
|
||||||
|
0.676, 0.817, 0.591,
|
||||||
|
0.682, 0.819, 0.594,
|
||||||
|
0.687, 0.820, 0.597,
|
||||||
|
0.693, 0.822, 0.601,
|
||||||
|
0.699, 0.824, 0.604,
|
||||||
|
0.704, 0.826, 0.608,
|
||||||
|
0.709, 0.828, 0.611,
|
||||||
|
0.715, 0.829, 0.615,
|
||||||
|
0.720, 0.831, 0.618,
|
||||||
|
0.726, 0.833, 0.622,
|
||||||
|
0.731, 0.835, 0.626,
|
||||||
|
0.736, 0.836, 0.630,
|
||||||
|
0.742, 0.838, 0.633,
|
||||||
|
0.747, 0.840, 0.637,
|
||||||
|
0.752, 0.842, 0.641,
|
||||||
|
0.757, 0.843, 0.645,
|
||||||
|
0.762, 0.845, 0.649,
|
||||||
|
0.768, 0.847, 0.653,
|
||||||
|
0.773, 0.849, 0.657,
|
||||||
|
0.778, 0.850, 0.662,
|
||||||
|
0.783, 0.852, 0.666,
|
||||||
|
0.788, 0.854, 0.670,
|
||||||
|
0.793, 0.856, 0.674,
|
||||||
|
0.798, 0.857, 0.679,
|
||||||
|
0.802, 0.859, 0.683,
|
||||||
|
0.807, 0.861, 0.688,
|
||||||
|
0.812, 0.863, 0.692,
|
||||||
|
0.817, 0.865, 0.697,
|
||||||
|
0.821, 0.866, 0.701,
|
||||||
|
0.826, 0.868, 0.706,
|
||||||
|
0.831, 0.870, 0.710,
|
||||||
|
0.835, 0.872, 0.715,
|
||||||
|
0.840, 0.874, 0.720,
|
||||||
|
0.844, 0.876, 0.724,
|
||||||
|
0.849, 0.877, 0.729,
|
||||||
|
0.853, 0.879, 0.734,
|
||||||
|
0.857, 0.881, 0.739,
|
||||||
|
0.862, 0.883, 0.744,
|
||||||
|
0.866, 0.885, 0.749,
|
||||||
|
0.870, 0.887, 0.754,
|
||||||
|
0.874, 0.889, 0.759,
|
||||||
|
0.878, 0.891, 0.764,
|
||||||
|
0.882, 0.893, 0.769,
|
||||||
|
0.886, 0.895, 0.774,
|
||||||
|
0.890, 0.897, 0.779,
|
||||||
|
0.894, 0.899, 0.784,
|
||||||
|
0.898, 0.901, 0.789,
|
||||||
|
0.901, 0.903, 0.794,
|
||||||
|
0.905, 0.905, 0.799,
|
||||||
|
0.909, 0.907, 0.804,
|
||||||
|
0.912, 0.909, 0.810,
|
||||||
|
0.916, 0.911, 0.815,
|
||||||
|
0.919, 0.913, 0.820,
|
||||||
|
0.922, 0.915, 0.825,
|
||||||
|
0.926, 0.917, 0.831,
|
||||||
|
0.929, 0.920, 0.836,
|
||||||
|
0.932, 0.922, 0.841,
|
||||||
|
0.935, 0.924, 0.847,
|
||||||
|
0.938, 0.926, 0.852,
|
||||||
|
0.942, 0.929, 0.857,
|
||||||
|
0.944, 0.931, 0.863,
|
||||||
|
0.947, 0.933, 0.868,
|
||||||
|
0.950, 0.936, 0.873,
|
||||||
|
0.953, 0.938, 0.879,
|
||||||
|
0.956, 0.940, 0.884,
|
||||||
|
0.958, 0.943, 0.889,
|
||||||
|
0.961, 0.945, 0.895,
|
||||||
|
0.964, 0.948, 0.900,
|
||||||
|
0.966, 0.950, 0.905,
|
||||||
|
0.968, 0.953, 0.911,
|
||||||
|
0.971, 0.955, 0.916,
|
||||||
|
0.973, 0.958, 0.921,
|
||||||
|
0.975, 0.961, 0.927,
|
||||||
|
0.977, 0.963, 0.932,
|
||||||
|
0.980, 0.966, 0.937,
|
||||||
|
0.982, 0.969, 0.943,
|
||||||
|
0.984, 0.971, 0.948,
|
||||||
|
0.985, 0.974, 0.953,
|
||||||
|
0.987, 0.977, 0.959,
|
||||||
|
0.989, 0.980, 0.964,
|
||||||
|
0.991, 0.982, 0.969,
|
||||||
|
0.993, 0.985, 0.974,
|
||||||
|
0.994, 0.988, 0.979,
|
||||||
|
0.996, 0.991, 0.985,
|
||||||
|
0.997, 0.994, 0.990,
|
||||||
|
0.999, 0.997, 0.995,
|
||||||
|
1.000, 1.000, 1.000,
|
||||||
|
};
|
||||||
|
@ -66,6 +66,9 @@ private:
|
|||||||
static const float m_shrimp[m_size];
|
static const float m_shrimp[m_size];
|
||||||
static const float m_cubehelix[m_size];
|
static const float m_cubehelix[m_size];
|
||||||
static const float m_cubegamma[m_size];
|
static const float m_cubegamma[m_size];
|
||||||
|
static const float m_cubehlx2[m_size];
|
||||||
|
static const float m_icy[m_size];
|
||||||
|
static const float m_mint[m_size];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user