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
HotMetal.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: vtkINRIA3D
4
Module: $Id: HotMetal.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_HotMetal_h_
52
#define _lut_HotMetal_h_
53
54
static
const
int
HotMetal
[256 * 3] = {
55
0,
56
1,
57
2,
58
4,
59
5,
60
7,
61
8,
62
9,
63
11,
64
12,
65
14,
66
15,
67
16,
68
18,
69
19,
70
21,
71
22,
72
23,
73
25,
74
26,
75
28,
76
29,
77
30,
78
32,
79
33,
80
35,
81
36,
82
37,
83
39,
84
40,
85
42,
86
43,
87
44,
88
46,
89
47,
90
49,
91
50,
92
51,
93
53,
94
54,
95
56,
96
57,
97
58,
98
60,
99
61,
100
63,
101
64,
102
65,
103
67,
104
68,
105
70,
106
71,
107
72,
108
74,
109
75,
110
77,
111
78,
112
79,
113
81,
114
82,
115
84,
116
85,
117
86,
118
88,
119
89,
120
91,
121
92,
122
93,
123
95,
124
96,
125
98,
126
99,
127
100,
128
102,
129
103,
130
105,
131
106,
132
107,
133
109,
134
110,
135
112,
136
113,
137
114,
138
116,
139
117,
140
119,
141
120,
142
121,
143
123,
144
124,
145
126,
146
127,
147
128,
148
130,
149
131,
150
133,
151
134,
152
135,
153
137,
154
138,
155
140,
156
141,
157
142,
158
144,
159
145,
160
147,
161
148,
162
149,
163
151,
164
152,
165
154,
166
155,
167
156,
168
158,
169
159,
170
161,
171
162,
172
163,
173
165,
174
166,
175
168,
176
169,
177
170,
178
172,
179
173,
180
175,
181
176,
182
177,
183
179,
184
180,
185
182,
186
183,
187
184,
188
186,
189
187,
190
189,
191
190,
192
191,
193
193,
194
194,
195
196,
196
197,
197
198,
198
200,
199
201,
200
203,
201
204,
202
205,
203
207,
204
208,
205
210,
206
211,
207
212,
208
214,
209
215,
210
217,
211
218,
212
219,
213
221,
214
222,
215
224,
216
225,
217
226,
218
228,
219
229,
220
231,
221
232,
222
233,
223
235,
224
236,
225
238,
226
239,
227
240,
228
242,
229
243,
230
245,
231
246,
232
247,
233
249,
234
250,
235
252,
236
253,
237
255,
238
255,
239
255,
240
255,
241
255,
242
255,
243
255,
244
255,
245
255,
246
255,
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
0,
313
0,
314
0,
315
0,
316
0,
317
0,
318
0,
319
0,
320
0,
321
0,
322
0,
323
0,
324
0,
325
0,
326
0,
327
0,
328
0,
329
0,
330
0,
331
0,
332
0,
333
0,
334
0,
335
0,
336
0,
337
0,
338
0,
339
0,
340
0,
341
0,
342
0,
343
0,
344
0,
345
0,
346
0,
347
0,
348
0,
349
0,
350
0,
351
0,
352
0,
353
0,
354
0,
355
0,
356
0,
357
0,
358
0,
359
0,
360
0,
361
0,
362
0,
363
0,
364
0,
365
0,
366
0,
367
0,
368
0,
369
0,
370
0,
371
0,
372
0,
373
0,
374
0,
375
0,
376
0,
377
0,
378
0,
379
0,
380
0,
381
0,
382
0,
383
0,
384
0,
385
0,
386
0,
387
0,
388
0,
389
0,
390
0,
391
0,
392
0,
393
0,
394
0,
395
0,
396
0,
397
0,
398
0,
399
0,
400
0,
401
0,
402
0,
403
0,
404
0,
405
0,
406
0,
407
0,
408
0,
409
0,
410
0,
411
0,
412
0,
413
0,
414
0,
415
0,
416
0,
417
0,
418
0,
419
0,
420
0,
421
0,
422
0,
423
0,
424
0,
425
0,
426
0,
427
0,
428
0,
429
0,
430
0,
431
0,
432
0,
433
0,
434
0,
435
0,
436
0,
437
0,
438
0,
439
0,
440
2,
441
5,
442
8,
443
11,
444
14,
445
16,
446
19,
447
22,
448
25,
449
28,
450
30,
451
33,
452
36,
453
39,
454
42,
455
44,
456
47,
457
50,
458
53,
459
56,
460
58,
461
61,
462
64,
463
67,
464
70,
465
72,
466
75,
467
78,
468
81,
469
84,
470
86,
471
89,
472
92,
473
95,
474
98,
475
100,
476
103,
477
106,
478
109,
479
112,
480
114,
481
117,
482
120,
483
123,
484
126,
485
128,
486
131,
487
134,
488
137,
489
140,
490
142,
491
145,
492
148,
493
151,
494
154,
495
156,
496
159,
497
162,
498
165,
499
168,
500
170,
501
173,
502
176,
503
179,
504
182,
505
184,
506
187,
507
190,
508
193,
509
196,
510
198,
511
201,
512
204,
513
207,
514
210,
515
212,
516
215,
517
218,
518
221,
519
224,
520
226,
521
229,
522
232,
523
235,
524
238,
525
240,
526
243,
527
246,
528
249,
529
252,
530
255,
531
255,
532
255,
533
255,
534
255,
535
255,
536
255,
537
255,
538
255,
539
255,
540
255,
541
255,
542
255,
543
255,
544
255,
545
255,
546
255,
547
255,
548
255,
549
255,
550
255,
551
255,
552
255,
553
255,
554
255,
555
255,
556
255,
557
255,
558
255,
559
255,
560
255,
561
255,
562
255,
563
255,
564
255,
565
255,
566
255,
567
0,
568
0,
569
0,
570
0,
571
0,
572
0,
573
0,
574
0,
575
0,
576
0,
577
0,
578
0,
579
0,
580
0,
581
0,
582
0,
583
0,
584
0,
585
0,
586
0,
587
0,
588
0,
589
0,
590
0,
591
0,
592
0,
593
0,
594
0,
595
0,
596
0,
597
0,
598
0,
599
0,
600
0,
601
0,
602
0,
603
0,
604
0,
605
0,
606
0,
607
0,
608
0,
609
0,
610
0,
611
0,
612
0,
613
0,
614
0,
615
0,
616
0,
617
0,
618
0,
619
0,
620
0,
621
0,
622
0,
623
0,
624
0,
625
0,
626
0,
627
0,
628
0,
629
0,
630
0,
631
0,
632
0,
633
0,
634
0,
635
0,
636
0,
637
0,
638
0,
639
0,
640
0,
641
0,
642
0,
643
0,
644
0,
645
0,
646
0,
647
0,
648
0,
649
0,
650
0,
651
0,
652
0,
653
0,
654
0,
655
0,
656
0,
657
0,
658
0,
659
0,
660
0,
661
0,
662
0,
663
0,
664
0,
665
0,
666
0,
667
0,
668
0,
669
0,
670
0,
671
0,
672
0,
673
0,
674
0,
675
0,
676
0,
677
0,
678
0,
679
0,
680
0,
681
0,
682
0,
683
0,
684
0,
685
0,
686
0,
687
0,
688
0,
689
0,
690
0,
691
0,
692
0,
693
0,
694
0,
695
0,
696
0,
697
0,
698
0,
699
0,
700
0,
701
0,
702
0,
703
0,
704
0,
705
0,
706
0,
707
0,
708
0,
709
0,
710
0,
711
0,
712
0,
713
0,
714
0,
715
0,
716
0,
717
0,
718
0,
719
0,
720
0,
721
0,
722
0,
723
0,
724
0,
725
0,
726
0,
727
0,
728
0,
729
0,
730
0,
731
0,
732
0,
733
0,
734
0,
735
0,
736
0,
737
0,
738
0,
739
0,
740
0,
741
0,
742
0,
743
0,
744
0,
745
0,
746
0,
747
0,
748
0,
749
0,
750
0,
751
0,
752
0,
753
0,
754
0,
755
0,
756
0,
757
0,
758
0,
759
0,
760
3,
761
7,
762
11,
763
15,
764
19,
765
23,
766
27,
767
31,
768
35,
769
39,
770
43,
771
47,
772
51,
773
55,
774
59,
775
63,
776
67,
777
71,
778
75,
779
79,
780
83,
781
87,
782
91,
783
95,
784
99,
785
103,
786
107,
787
111,
788
115,
789
119,
790
123,
791
127,
792
131,
793
135,
794
139,
795
143,
796
147,
797
151,
798
155,
799
159,
800
163,
801
167,
802
171,
803
175,
804
179,
805
183,
806
187,
807
191,
808
195,
809
199,
810
203,
811
207,
812
211,
813
215,
814
219,
815
223,
816
227,
817
231,
818
235,
819
239,
820
243,
821
247,
822
251
823
};
824
825
#endif
HotMetal
static const int HotMetal[256 *3]
Definition:
HotMetal.h:54
Generated on Fri Dec 13 2013 08:25:45 for GOFIGURE2 by
1.8.5