CMS 3D CMS Logo

fwPaletteClassic.cc
Go to the documentation of this file.
1 
2 namespace fireworks {
3 
4 static const float s_forWhite[][3] ={
5 { 0.79, 0.79, 0.12 }, //yellow (made it a bit darker)
6 { 0.47, 0.00, 0.64 }, //purple
7 { 0.98, 0.70, 0.00 }, //yellowish-orange
8 { 0.18, 0.00, 0.59 }, //purplish-blue
9 { 0.98, 0.54, 0.00 }, //orange
10 { 0.00, 0.11, 1.00 }, //blue
11 { 0.99, 0.26, 0.01 }, //dark orange
12 { 0.00, 0.80, 0.78 }, //cyan
13 { 1.00, 0.06, 0.00 }, //red
14 { 0.33, 0.64, 0.14 }, //green
15 { 0.60, 0.06, 0.23 }, //burgundy
16 { 0.65, 0.92, 0.17 }, //lime{ 0.99, 1.00, 0.39 },
17 { 0.00, 0.46, 1.00 }, //azure+9
18 { 1.00, 0.00, 0.40 }, //pink-3
19 { 0.02, 1.00, 0.40 }, //teal+8
20 { 0.40, 0.40, 0.40 }, //gray
21 { 0.00, 0.00, 0.00 }, //black
22 
23 { 0.85, 0.85, 0.58 },
24 { 0.87, 0.72, 0.92 },
25 { 0.99, 0.88, 0.59 },
26 { 0.79, 0.72, 0.90 },
27 { 1.00, 0.82, 0.59 },
28 { 0.71, 0.75, 0.99 },
29 { 1.00, 0.80, 0.72 },
30 { 0.71, 0.98, 0.95 },
31 { 0.99, 0.74, 0.70 },
32 { 0.77, 0.86, 0.65 },
33 { 0.90, 0.74, 0.79 },
34 { 0.67, 0.95, 0.52 },
35 { 0.57, 0.78, 1.00 }, //azure+9
36 { 1.00, 0.57, 0.74 }, //pink-5
37 { 0.73, 1.00, 0.83 }, //teal+9
38 { 0.80, 0.80, 0.80 }, //gray
39 { 0.60, 0.60, 0.60 } //blackish gray
40 };
41 
42 static const float s_forBlack[][3] ={
43 { 1.00, 1.00, 0.20 }, //yellow
44 { 0.53, 0.00, 0.69 }, //purple
45 { 0.98, 0.74, 0.01 }, //yellowish-orange
46 { 0.24, 0.00, 0.64 }, //purplish-blue
47 { 0.98, 0.60, 0.01 }, //orange
48 { 0.01, 0.14, 1.00 }, //blue
49 { 0.99, 0.33, 0.03 }, //dark orange
50 { 0.01, 0.83, 0.81 }, //cyan
51 { 1.00, 0.09, 0.00 }, //red
52 { 0.40, 0.69, 0.20 }, //green
53 { 0.65, 0.10, 0.29 }, //burgundy
54 { 0.65, 0.92, 0.17 }, //lime
55 { 0.00, 0.39, 0.79 }, //azure+9
56 { 1.00, 0.00, 0.40 }, //pink-3
57 { 0.02, 1.00, 0.40 }, //teal+8
58 { 0.70, 0.70, 0.70 }, //gray
59 { 1.00, 1.00, 1.00 }, //white
60 
61 /*
62 {1.,0.,0.}, //red
63 {0.,0.,1.}, //blue
64 {0.,1.,1.}, //cyan
65 {0.,1.,0.}, //green
66 {1.,0.,1.}, //magenta
67 {1.,0.5,0.0}, //orange
68 {1.,1.,0.}, //yellow
69 {0.5,0.5,0.5}, //gray
70 */
71 { 0.27, 0.27, 0.04 },
72 { 0.19, 0.00, 0.24 },
73 { 0.19, 0.15, 0.00 },
74 { 0.14, 0.00, 0.38 },
75 { 0.19, 0.11, 0.00 },
76 { 0.01, 0.05, 0.33 },
77 { 0.17, 0.05, 0.02 },
78 { 0.00, 0.33, 0.29 },
79 { 0.34, 0.03, 0.01 },
80 { 0.15, 0.24, 0.06 },
81 { 0.24, 0.02, 0.11 },
82 { 0.22, 0.30, 0.07 },
83 { 0.00, 0.20, 0.26 }, //azure+8
84 { 0.35, 0.00, 0.14 }, //pink-2
85 { 0.00, 0.35, 0.12 }, //teal+9
86 { 0.22, 0.22, 0.22 }, //gray
87 { 0.36, 0.36, 0.36 } //whitish gray
88 /*
89 {0.7,0.0,0.0},
90 {0.0,0.0,0.7},
91 {0.0,.7,0.7},
92 {0.0,.7,0.},
93 {.7,0.,.7},
94 {.7,0.4,0.0},
95 {.7,.7,0.0},
96 {0.3,0.3,0.3}
97  */
98 };
99 
100 
101 const static unsigned int s_size = sizeof(s_forBlack)/sizeof(s_forBlack[0]);
102 }
static const float s_forWhite[][3]
static const float s_forBlack[][3]
static const unsigned int s_size