GOFIGURE2
0.9.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Code
ExternalCode
MegaVTK
vtkRenderingAddOn
lut
GEColor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: vtkINRIA3D
4
Module: $Id: GEColor.h 477 2007-11-20 17:46:10Z filus $
5
Language: C++
6
Author: $Author: filus $
7
Date: $Date: 2007-11-20 12:46:10 -0500 (Tue, 20 Nov 2007) $
8
Version: $Revision: 477 $
9
10
Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
11
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
15
16
=========================================================================*/
17
18
/*========================================================================
19
Copyright (c) INRIA - ASCLEPIOS Project (http://www-sop.inria.fr/asclepios).
20
All rights reserved.
21
22
Redistribution and use in source and binary forms, with or without
23
modification, are permitted provided that the following conditions are met:
24
25
* Redistributions of source code must retain the above copyright notice,
26
this list of conditions and the following disclaimer.
27
28
* Redistributions in binary form must reproduce the above copyright notice,
29
this list of conditions and the following disclaimer in the documentation
30
and/or other materials provided with the distribution.
31
32
* Neither the name of INRIA or ASCLEPIOS, nor the names of any contributors
33
may be used to endorse or promote products derived from this software
34
without specific prior written permission.
35
36
* Modified source versions must be plainly marked as such, and must not be
37
misrepresented as being the original software.
38
39
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS''
40
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
41
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
42
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
43
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
44
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
45
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
46
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
47
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
48
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
49
=========================================================================*/
50
51
#ifndef _lut_GEColor_h_
52
#define _lut_GEColor_h_
53
54
static
const
int
GEColor
[3 * 256] = {
55
0,
56
0,
57
0,
58
0,
59
0,
60
0,
61
0,
62
0,
63
0,
64
0,
65
0,
66
0,
67
0,
68
0,
69
0,
70
0,
71
0,
72
0,
73
0,
74
0,
75
0,
76
0,
77
0,
78
0,
79
0,
80
0,
81
0,
82
0,
83
0,
84
0,
85
0,
86
0,
87
0,
88
0,
89
0,
90
0,
91
0,
92
0,
93
0,
94
0,
95
0,
96
0,
97
0,
98
0,
99
0,
100
0,
101
0,
102
0,
103
0,
104
0,
105
0,
106
0,
107
0,
108
0,
109
0,
110
0,
111
0,
112
0,
113
0,
114
0,
115
0,
116
0,
117
0,
118
0,
119
1,
120
3,
121
5,
122
7,
123
9,
124
11,
125
13,
126
15,
127
17,
128
19,
129
21,
130
23,
131
25,
132
27,
133
29,
134
31,
135
33,
136
35,
137
37,
138
39,
139
41,
140
43,
141
45,
142
47,
143
49,
144
51,
145
53,
146
55,
147
57,
148
59,
149
61,
150
63,
151
65,
152
67,
153
69,
154
71,
155
73,
156
75,
157
77,
158
79,
159
81,
160
83,
161
85,
162
86,
163
88,
164
90,
165
92,
166
94,
167
96,
168
98,
169
100,
170
102,
171
104,
172
106,
173
108,
174
110,
175
112,
176
114,
177
116,
178
118,
179
120,
180
122,
181
124,
182
126,
183
128,
184
130,
185
132,
186
134,
187
136,
188
138,
189
140,
190
142,
191
144,
192
146,
193
148,
194
150,
195
152,
196
154,
197
156,
198
158,
199
160,
200
162,
201
164,
202
166,
203
168,
204
170,
205
171,
206
173,
207
175,
208
177,
209
179,
210
181,
211
183,
212
185,
213
187,
214
189,
215
191,
216
193,
217
195,
218
197,
219
199,
220
201,
221
203,
222
205,
223
207,
224
209,
225
211,
226
213,
227
215,
228
217,
229
219,
230
221,
231
223,
232
225,
233
227,
234
229,
235
231,
236
233,
237
235,
238
237,
239
239,
240
241,
241
243,
242
245,
243
247,
244
249,
245
251,
246
253,
247
255,
248
255,
249
255,
250
255,
251
255,
252
255,
253
255,
254
255,
255
255,
256
255,
257
255,
258
255,
259
255,
260
255,
261
255,
262
255,
263
255,
264
255,
265
255,
266
255,
267
255,
268
255,
269
255,
270
255,
271
255,
272
255,
273
255,
274
255,
275
255,
276
255,
277
255,
278
255,
279
255,
280
255,
281
255,
282
255,
283
255,
284
255,
285
255,
286
255,
287
255,
288
255,
289
255,
290
255,
291
255,
292
255,
293
255,
294
255,
295
255,
296
255,
297
255,
298
255,
299
255,
300
255,
301
255,
302
255,
303
255,
304
255,
305
255,
306
255,
307
255,
308
255,
309
255,
310
255,
311
0,
312
2,
313
4,
314
6,
315
8,
316
10,
317
12,
318
14,
319
16,
320
18,
321
20,
322
22,
323
24,
324
26,
325
28,
326
30,
327
32,
328
34,
329
36,
330
38,
331
40,
332
42,
333
44,
334
46,
335
48,
336
50,
337
52,
338
54,
339
56,
340
58,
341
60,
342
62,
343
65,
344
67,
345
69,
346
71,
347
73,
348
75,
349
77,
350
79,
351
81,
352
83,
353
85,
354
87,
355
89,
356
91,
357
93,
358
95,
359
97,
360
99,
361
101,
362
103,
363
105,
364
107,
365
109,
366
111,
367
113,
368
115,
369
117,
370
119,
371
121,
372
123,
373
125,
374
128,
375
126,
376
124,
377
122,
378
120,
379
118,
380
116,
381
114,
382
112,
383
110,
384
108,
385
106,
386
104,
387
102,
388
100,
389
98,
390
96,
391
94,
392
92,
393
90,
394
88,
395
86,
396
84,
397
82,
398
80,
399
78,
400
76,
401
74,
402
72,
403
70,
404
68,
405
66,
406
64,
407
63,
408
61,
409
59,
410
57,
411
55,
412
53,
413
51,
414
49,
415
47,
416
45,
417
43,
418
41,
419
39,
420
37,
421
35,
422
33,
423
31,
424
29,
425
27,
426
25,
427
23,
428
21,
429
19,
430
17,
431
15,
432
13,
433
11,
434
9,
435
7,
436
5,
437
3,
438
1,
439
0,
440
2,
441
4,
442
6,
443
8,
444
10,
445
12,
446
14,
447
16,
448
18,
449
20,
450
22,
451
24,
452
26,
453
28,
454
30,
455
32,
456
34,
457
36,
458
38,
459
40,
460
42,
461
44,
462
46,
463
48,
464
50,
465
52,
466
54,
467
56,
468
58,
469
60,
470
62,
471
64,
472
66,
473
68,
474
70,
475
72,
476
74,
477
76,
478
78,
479
80,
480
82,
481
84,
482
86,
483
88,
484
90,
485
92,
486
94,
487
96,
488
98,
489
100,
490
102,
491
104,
492
106,
493
108,
494
110,
495
112,
496
114,
497
116,
498
118,
499
120,
500
122,
501
124,
502
126,
503
128,
504
130,
505
132,
506
134,
507
136,
508
138,
509
140,
510
142,
511
144,
512
146,
513
148,
514
150,
515
152,
516
154,
517
156,
518
158,
519
160,
520
162,
521
164,
522
166,
523
168,
524
170,
525
172,
526
174,
527
176,
528
178,
529
180,
530
182,
531
184,
532
186,
533
188,
534
190,
535
192,
536
194,
537
196,
538
198,
539
200,
540
202,
541
204,
542
206,
543
208,
544
210,
545
212,
546
214,
547
216,
548
218,
549
220,
550
222,
551
224,
552
226,
553
228,
554
230,
555
232,
556
234,
557
236,
558
238,
559
240,
560
242,
561
244,
562
246,
563
248,
564
250,
565
252,
566
255,
567
0,
568
1,
569
3,
570
5,
571
7,
572
9,
573
11,
574
13,
575
15,
576
17,
577
19,
578
21,
579
23,
580
25,
581
27,
582
29,
583
31,
584
33,
585
35,
586
37,
587
39,
588
41,
589
43,
590
45,
591
47,
592
49,
593
51,
594
53,
595
55,
596
57,
597
59,
598
61,
599
63,
600
65,
601
67,
602
69,
603
71,
604
73,
605
75,
606
77,
607
79,
608
81,
609
83,
610
85,
611
87,
612
89,
613
91,
614
93,
615
95,
616
97,
617
99,
618
101,
619
103,
620
105,
621
107,
622
109,
623
111,
624
113,
625
115,
626
117,
627
119,
628
121,
629
123,
630
125,
631
127,
632
129,
633
131,
634
133,
635
135,
636
137,
637
139,
638
141,
639
143,
640
145,
641
147,
642
149,
643
151,
644
153,
645
155,
646
157,
647
159,
648
161,
649
163,
650
165,
651
167,
652
169,
653
171,
654
173,
655
175,
656
177,
657
179,
658
181,
659
183,
660
185,
661
187,
662
189,
663
191,
664
193,
665
195,
666
197,
667
199,
668
201,
669
203,
670
205,
671
207,
672
209,
673
211,
674
213,
675
215,
676
217,
677
219,
678
221,
679
223,
680
225,
681
227,
682
229,
683
231,
684
233,
685
235,
686
237,
687
239,
688
241,
689
243,
690
245,
691
247,
692
249,
693
251,
694
253,
695
255,
696
252,
697
248,
698
244,
699
240,
700
236,
701
232,
702
228,
703
224,
704
220,
705
216,
706
212,
707
208,
708
204,
709
200,
710
196,
711
192,
712
188,
713
184,
714
180,
715
176,
716
172,
717
168,
718
164,
719
160,
720
156,
721
152,
722
148,
723
144,
724
140,
725
136,
726
132,
727
128,
728
124,
729
120,
730
116,
731
112,
732
108,
733
104,
734
100,
735
96,
736
92,
737
88,
738
84,
739
80,
740
76,
741
72,
742
68,
743
64,
744
60,
745
56,
746
52,
747
48,
748
44,
749
40,
750
36,
751
32,
752
28,
753
24,
754
20,
755
16,
756
12,
757
8,
758
4,
759
0,
760
4,
761
8,
762
12,
763
16,
764
20,
765
24,
766
28,
767
32,
768
36,
769
40,
770
44,
771
48,
772
52,
773
56,
774
60,
775
64,
776
68,
777
72,
778
76,
779
80,
780
85,
781
89,
782
93,
783
97,
784
101,
785
105,
786
109,
787
113,
788
117,
789
121,
790
125,
791
129,
792
133,
793
137,
794
141,
795
145,
796
149,
797
153,
798
157,
799
161,
800
165,
801
170,
802
174,
803
178,
804
182,
805
186,
806
190,
807
194,
808
198,
809
202,
810
206,
811
210,
812
214,
813
218,
814
222,
815
226,
816
230,
817
234,
818
238,
819
242,
820
246,
821
250,
822
255
823
};
824
825
#endif
GEColor
static const int GEColor[3 *256]
Definition:
GEColor.h:54
Generated on Fri Dec 13 2013 08:25:45 for GOFIGURE2 by
1.8.5