86 else if(x >= 0.375 && x < 0.625)
88 else if(x >= 0.625 && x < 0.875)
89 return (
int)floor(1.0*255);
104 else if(x >= 0.125 && x < 0.375)
106 else if(x >= 0.375 && x < 0.625)
107 return (
int)floor(1.0*255);
108 else if(x >= 0.625 && x < 0.875)
122 else if(x >= 0.125 && x < 0.375)
123 return (
int)floor(1.0*255);
124 else if(x >= 0.375 && x < 0.625)
136 return (
int)floor(
linearSlope(x, 2.5621, 0.0392)*255);
138 return (
int)floor(1.0*255);
149 else if(x >= 0.375 && x < 0.75)
150 return (
int)floor(
linearSlope(x, 2.6667, -1.0)*255);
152 return (
int)floor(1.0*255);
176 return (
int)floor(
linearSlope(x, 2.7832, -0.6090)*255);
178 return (
int)floor(1.0*255);
189 else if(x >= 0.5781 && x < 0.8125)
190 return (
int)floor(
linearSlope(x, 4.2662, -2.4663)*255);
192 return (
int)floor(1.0*255);
204 return (
int)floor(
linearSlope(x,5.3333,-4.3333)*255);
216 return (
int)floor(
linearSlope(x, 3.5549, -1.9996)*255);
218 return (
int)floor(1.0*255);
229 else if(x >= 0.8438 && x < 0.9531)
230 return (
int)floor(
linearSlope(x, 9.1491, -7.72)*255);
232 return (
int)floor(1.0*255);
244 return (
int)floor(
linearSlope(x,21.3220,-20.3220)*255);
256 else if(x >= 0.375 && x < 0.75)
257 return (
int)floor(
linearSlope(x, 0.8889, -0.0157)*255);
259 return (
int)floor(
linearSlope(x, 1.396, -0.396)*255);
270 else if(x >= 0.375 && x < 0.75)
271 return (
int)floor(
linearSlope(x, 1.2237, -0.1413)*255);
273 return (
int)floor(
linearSlope(x, 0.894, 0.106)*255);
283 return (
int)floor(
linearSlope(x, 1.1712, 0.0039)*255);
284 else if(x >= 0.375 && x < 0.75)
285 return (
int)floor(
linearSlope(x, 0.8889, 0.1098)*255);
287 return (
int)floor(
linearSlope(x, 0.8941, 0.1059)*255);
299 return (
int)floor(1.0*255);
321 return (
int)floor(1.0*255);
static int hotGNeg1(double v)
ColorMap class declaration.
static double linearSlope(double x, double m, double n)
static int boneB(double v)
static int hotG(double v)
static int hotRNeg1(double v)
static int jetR(double v)
static int hotRNeg2(double v)
static int boneG(double v)
static int hotBNeg2(double v)
static int hotGNeg2(double v)
static int hotBNeg1(double v)
static int hotR(double v)
static int jetG(double v)
static int hotB(double v)
static int boneR(double v)
static int jetB(double v)