Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F751
LUT.patch
Public
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
kast
Nov 15 2011, 5:20 PM
2011-11-15 17:20:30 (UTC+1)
Size
115 KB
Referenced Files
None
Subscribers
None
LUT.patch
View Options
diff --git a/Core/Code/DataManagement/lut/Asymmetry.h b/Core/Code/DataManagement/lut/Asymmetry.h
new file mode 100644
index 0000000..c19a218
--- /dev/null
+++ b/Core/Code/DataManagement/lut/Asymmetry.h
@@ -0,0 +1,288 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: Asymmetry.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_asymmetry_h_
+#define _lut_asymmetry_h_
+
+
+static const float AsymmetryLUT[256][3] =
+{
+
+ { 0.0 , 0.0 , 1.0 }, // 0.0
+ { 0.0 , 0.019608 , 1.0 },
+ { 0.0 , 0.039216 , 1.0 },
+ { 0.0 , 0.058824 , 1.0 },
+ { 0.0 , 0.078431 , 1.0 },
+ { 0.0 , 0.098039 , 1.0 },
+ { 0.0 , 0.117647 , 1.0 },
+ { 0.0 , 0.137255 , 1.0 },
+ { 0.0 , 0.156863 , 1.0 },
+ { 0.0 , 0.176471 , 1.0 },
+ { 0.0 , 0.196078 , 1.0 },
+ { 0.0 , 0.215686 , 1.0 },
+ { 0.0 , 0.235294 , 1.0 },
+ { 0.0 , 0.254902 , 1.0 },
+ { 0.0 , 0.274510 , 1.0 },
+ { 0.0 , 0.294118 , 1.0 },
+ { 0.0 , 0.313725 , 1.0 },
+ { 0.0 , 0.333333 , 1.0 },
+ { 0.0 , 0.352941 , 1.0 },
+ { 0.0 , 0.372549 , 1.0 },
+ { 0.0 , 0.392157 , 1.0 },
+ { 0.0 , 0.411765 , 1.0 },
+ { 0.0 , 0.431373 , 1.0 },
+ { 0.0 , 0.450980 , 1.0 },
+ { 0.0 , 0.470588 , 1.0 },
+ { 0.0 , 0.490196 , 1.0 },
+ { 0.0 , 0.509804 , 1.0 },
+ { 0.0 , 0.529412 , 1.0 },
+ { 0.0 , 0.549020 , 1.0 },
+ { 0.0 , 0.568627 , 1.0 },
+ { 0.0 , 0.588235 , 1.0 },
+ { 0.0 , 0.607843 , 1.0 },
+ { 0.0 , 0.627451 , 1.0 },
+ { 0.0 , 0.647059 , 1.0 },
+ { 0.0 , 0.666667 , 1.0 },
+ { 0.0 , 0.686275 , 1.0 },
+ { 0.0 , 0.705882 , 1.0 },
+ { 0.0 , 0.725490 , 1.0 },
+ { 0.0 , 0.745098 , 1.0 },
+ { 0.0 , 0.764706 , 1.0 },
+ { 0.0 , 0.784314 , 1.0 },
+ { 0.0 , 0.803922 , 1.0 },
+ { 0.0 , 0.823529 , 1.0 },
+ { 0.0 , 0.843137 , 1.0 },
+ { 0.0 , 0.862745 , 1.0 },
+ { 0.0 , 0.882353 , 1.0 },
+ { 0.0 , 0.901961 , 1.0 },
+ { 0.0 , 0.921569 , 1.0 },
+ { 0.0 , 0.941176 , 1.0 },
+ { 0.0 , 0.960784 , 1.0 },
+ { 0.0 , 0.980392 , 1.0 },
+
+ { 0.0 , 1.0 , 1.0 }, // 0.2
+ { 0.0 , 1.0 , 0.980392 },
+ { 0.0 , 1.0 , 0.960784 },
+ { 0.0 , 1.0 , 0.941176 },
+ { 0.0 , 1.0 , 0.921569 },
+ { 0.0 , 1.0 , 0.901961 },
+ { 0.0 , 1.0 , 0.882353 },
+ { 0.0 , 1.0 , 0.862745 },
+ { 0.0 , 1.0 , 0.843137 },
+ { 0.0 , 1.0 , 0.823529 },
+ { 0.0 , 1.0 , 0.803922 },
+ { 0.0 , 1.0 , 0.784314 },
+ { 0.0 , 1.0 , 0.764706 },
+ { 0.0 , 1.0 , 0.745098 },
+ { 0.0 , 1.0 , 0.725490 },
+ { 0.0 , 1.0 , 0.705882 },
+ { 0.0 , 1.0 , 0.686275 },
+ { 0.0 , 1.0 , 0.666667 },
+ { 0.0 , 1.0 , 0.647059 },
+ { 0.0 , 1.0 , 0.627451 },
+ { 0.0 , 1.0 , 0.607843 },
+ { 0.0 , 1.0 , 0.588235 },
+ { 0.0 , 1.0 , 0.568627 },
+ { 0.0 , 1.0 , 0.549020 },
+ { 0.0 , 1.0 , 0.529412 },
+ { 0.0 , 1.0 , 0.509804 },
+ { 0.0 , 1.0 , 0.490196 },
+ { 0.0 , 1.0 , 0.470588 },
+ { 0.0 , 1.0 , 0.450980 },
+ { 0.0 , 1.0 , 0.431373 },
+ { 0.0 , 1.0 , 0.411765 },
+ { 0.0 , 1.0 , 0.392157 },
+ { 0.0 , 1.0 , 0.372549 },
+ { 0.0 , 1.0 , 0.352941 },
+ { 0.0 , 1.0 , 0.333333 },
+ { 0.0 , 1.0 , 0.313725 },
+ { 0.0 , 1.0 , 0.294118 },
+ { 0.0 , 1.0 , 0.274510 },
+ { 0.0 , 1.0 , 0.254902 },
+ { 0.0 , 1.0 , 0.235294 },
+ { 0.0 , 1.0 , 0.215686 },
+ { 0.0 , 1.0 , 0.196078 },
+ { 0.0 , 1.0 , 0.176471 },
+ { 0.0 , 1.0 , 0.156863 },
+ { 0.0 , 1.0 , 0.137255 },
+ { 0.0 , 1.0 , 0.117647 },
+ { 0.0 , 1.0 , 0.098039 },
+ { 0.0 , 1.0 , 0.078431 },
+ { 0.0 , 1.0 , 0.058824 },
+ { 0.0 , 1.0 , 0.039216 },
+ { 0.0 , 1.0 , 0.019608 },
+
+ { 0.0 , 1.0 , 0.0 }, // 0.4
+ { 0.019608 , 1.0 , 0.0 },
+ { 0.039216 , 1.0 , 0.0 },
+ { 0.058824 , 1.0 , 0.0 },
+ { 0.078431 , 1.0 , 0.0 },
+ { 0.098039 , 1.0 , 0.0 },
+ { 0.117647 , 1.0 , 0.0 },
+ { 0.137255 , 1.0 , 0.0 },
+ { 0.156863 , 1.0 , 0.0 },
+ { 0.176471 , 1.0 , 0.0 },
+ { 0.196078 , 1.0 , 0.0 },
+ { 0.215686 , 1.0 , 0.0 },
+ { 0.235294 , 1.0 , 0.0 },
+ { 0.254902 , 1.0 , 0.0 },
+ { 0.274510 , 1.0 , 0.0 },
+ { 0.294118 , 1.0 , 0.0 },
+ { 0.313725 , 1.0 , 0.0 },
+ { 0.333333 , 1.0 , 0.0 },
+ { 0.352941 , 1.0 , 0.0 },
+ { 0.372549 , 1.0 , 0.0 },
+ { 0.392157 , 1.0 , 0.0 },
+ { 0.411765 , 1.0 , 0.0 },
+ { 0.431373 , 1.0 , 0.0 },
+ { 0.450980 , 1.0 , 0.0 },
+ { 0.470588 , 1.0 , 0.0 },
+ { 0.490196 , 1.0 , 0.0 },
+ { 0.509804 , 1.0 , 0.0 },
+ { 0.529412 , 1.0 , 0.0 },
+ { 0.549020 , 1.0 , 0.0 },
+ { 0.568627 , 1.0 , 0.0 },
+ { 0.588235 , 1.0 , 0.0 },
+ { 0.607843 , 1.0 , 0.0 },
+ { 0.627451 , 1.0 , 0.0 },
+ { 0.647059 , 1.0 , 0.0 },
+ { 0.666667 , 1.0 , 0.0 },
+ { 0.686275 , 1.0 , 0.0 },
+ { 0.705882 , 1.0 , 0.0 },
+ { 0.725490 , 1.0 , 0.0 },
+ { 0.745098 , 1.0 , 0.0 },
+ { 0.764706 , 1.0 , 0.0 },
+ { 0.784314 , 1.0 , 0.0 },
+ { 0.803922 , 1.0 , 0.0 },
+ { 0.823529 , 1.0 , 0.0 },
+ { 0.843137 , 1.0 , 0.0 },
+ { 0.862745 , 1.0 , 0.0 },
+ { 0.882353 , 1.0 , 0.0 },
+ { 0.901961 , 1.0 , 0.0 },
+ { 0.921569 , 1.0 , 0.0 },
+ { 0.941176 , 1.0 , 0.0 },
+ { 0.960784 , 1.0 , 0.0 },
+ { 0.980392 , 1.0 , 0.0 },
+
+ { 1.0 , 1.0 , 0.0 }, // 0.6
+ { 1.0 , 0.980392 , 0.0 },
+ { 1.0 , 0.960784 , 0.0 },
+ { 1.0 , 0.941176 , 0.0 },
+ { 1.0 , 0.921569 , 0.0 },
+ { 1.0 , 0.901961 , 0.0 },
+ { 1.0 , 0.882353 , 0.0 },
+ { 1.0 , 0.862745 , 0.0 },
+ { 1.0 , 0.843137 , 0.0 },
+ { 1.0 , 0.823529 , 0.0 },
+ { 1.0 , 0.803922 , 0.0 },
+ { 1.0 , 0.784314 , 0.0 },
+ { 1.0 , 0.764706 , 0.0 },
+ { 1.0 , 0.745098 , 0.0 },
+ { 1.0 , 0.725490 , 0.0 },
+ { 1.0 , 0.705882 , 0.0 },
+ { 1.0 , 0.686275 , 0.0 },
+ { 1.0 , 0.666667 , 0.0 },
+ { 1.0 , 0.647059 , 0.0 },
+ { 1.0 , 0.627451 , 0.0 },
+ { 1.0 , 0.607843 , 0.0 },
+ { 1.0 , 0.588235 , 0.0 },
+ { 1.0 , 0.568627 , 0.0 },
+ { 1.0 , 0.549020 , 0.0 },
+ { 1.0 , 0.529412 , 0.0 },
+ { 1.0 , 0.509804 , 0.0 },
+ { 1.0 , 0.490196 , 0.0 },
+ { 1.0 , 0.470588 , 0.0 },
+ { 1.0 , 0.450980 , 0.0 },
+ { 1.0 , 0.431373 , 0.0 },
+ { 1.0 , 0.411765 , 0.0 },
+ { 1.0 , 0.392157 , 0.0 },
+ { 1.0 , 0.372549 , 0.0 },
+ { 1.0 , 0.352941 , 0.0 },
+ { 1.0 , 0.333333 , 0.0 },
+ { 1.0 , 0.313725 , 0.0 },
+ { 1.0 , 0.294118 , 0.0 },
+ { 1.0 , 0.274510 , 0.0 },
+ { 1.0 , 0.254902 , 0.0 },
+ { 1.0 , 0.235294 , 0.0 },
+ { 1.0 , 0.215686 , 0.0 },
+ { 1.0 , 0.196078 , 0.0 },
+ { 1.0 , 0.176471 , 0.0 },
+ { 1.0 , 0.156863 , 0.0 },
+ { 1.0 , 0.137255 , 0.0 },
+ { 1.0 , 0.117647 , 0.0 },
+ { 1.0 , 0.098039 , 0.0 },
+ { 1.0 , 0.078431 , 0.0 },
+ { 1.0 , 0.058824 , 0.0 },
+ { 1.0 , 0.039216 , 0.0 },
+ { 1.0 , 0.019608 , 0.0 },
+
+ { 1.0 , 0.0 , 0.0 }, // 0.8
+ { 1.0 , 0.0 , 0.019608 },
+ { 1.0 , 0.0 , 0.039216 },
+ { 1.0 , 0.0 , 0.058824 },
+ { 1.0 , 0.0 , 0.078431 },
+ { 1.0 , 0.0 , 0.098039 },
+ { 1.0 , 0.0 , 0.117647 },
+ { 1.0 , 0.0 , 0.137255 },
+ { 1.0 , 0.0 , 0.156863 },
+ { 1.0 , 0.0 , 0.176471 },
+ { 1.0 , 0.0 , 0.196078 },
+ { 1.0 , 0.0 , 0.215686 },
+ { 1.0 , 0.0 , 0.235294 },
+ { 1.0 , 0.0 , 0.254902 },
+ { 1.0 , 0.0 , 0.274510 },
+ { 1.0 , 0.0 , 0.294118 },
+ { 1.0 , 0.0 , 0.313725 },
+ { 1.0 , 0.0 , 0.333333 },
+ { 1.0 , 0.0 , 0.352941 },
+ { 1.0 , 0.0 , 0.372549 },
+ { 1.0 , 0.0 , 0.392157 },
+ { 1.0 , 0.0 , 0.411765 },
+ { 1.0 , 0.0 , 0.431373 },
+ { 1.0 , 0.0 , 0.450980 },
+ { 1.0 , 0.0 , 0.470588 },
+ { 1.0 , 0.0 , 0.490196 },
+ { 1.0 , 0.0 , 0.509804 },
+ { 1.0 , 0.0 , 0.529412 },
+ { 1.0 , 0.0 , 0.549020 },
+ { 1.0 , 0.0 , 0.568627 },
+ { 1.0 , 0.0 , 0.588235 },
+ { 1.0 , 0.0 , 0.607843 },
+ { 1.0 , 0.0 , 0.627451 },
+ { 1.0 , 0.0 , 0.647059 },
+ { 1.0 , 0.0 , 0.666667 },
+ { 1.0 , 0.0 , 0.686275 },
+ { 1.0 , 0.0 , 0.705882 },
+ { 1.0 , 0.0 , 0.725490 },
+ { 1.0 , 0.0 , 0.745098 },
+ { 1.0 , 0.0 , 0.764706 },
+ { 1.0 , 0.0 , 0.784314 },
+ { 1.0 , 0.0 , 0.803922 },
+ { 1.0 , 0.0 , 0.823529 },
+ { 1.0 , 0.0 , 0.843137 },
+ { 1.0 , 0.0 , 0.862745 },
+ { 1.0 , 0.0 , 0.882353 },
+ { 1.0 , 0.0 , 0.901961 },
+ { 1.0 , 0.0 , 0.921569 },
+ { 1.0 , 0.0 , 0.941176 },
+ { 1.0 , 0.0 , 0.960784 },
+ { 1.0 , 0.0 , 0.980392 },
+ { 1.0 , 0.0 , 1.0 } // 1.0
+};
+
+
+#endif
diff --git a/Core/Code/DataManagement/lut/BlackBody.h b/Core/Code/DataManagement/lut/BlackBody.h
new file mode 100644
index 0000000..56d257f
--- /dev/null
+++ b/Core/Code/DataManagement/lut/BlackBody.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_blackBody_h_
+#define _lut_blackBody_h_
+
+static const int BlackBody[256*3]={
+0,
+3,
+6,
+9,
+12,
+15,
+18,
+21,
+24,
+27,
+30,
+33,
+36,
+39,
+42,
+45,
+48,
+51,
+54,
+57,
+60,
+63,
+66,
+69,
+72,
+75,
+78,
+81,
+84,
+87,
+90,
+93,
+96,
+99,
+102,
+105,
+108,
+111,
+114,
+117,
+120,
+123,
+126,
+129,
+132,
+135,
+138,
+141,
+144,
+147,
+150,
+153,
+156,
+159,
+162,
+165,
+168,
+171,
+174,
+177,
+180,
+183,
+186,
+189,
+192,
+195,
+198,
+201,
+204,
+207,
+210,
+213,
+216,
+219,
+222,
+225,
+228,
+231,
+234,
+237,
+240,
+243,
+246,
+249,
+252,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+3,
+6,
+9,
+12,
+15,
+18,
+21,
+24,
+27,
+30,
+33,
+36,
+39,
+42,
+45,
+48,
+51,
+54,
+57,
+60,
+63,
+66,
+69,
+72,
+75,
+78,
+81,
+84,
+87,
+90,
+93,
+96,
+99,
+102,
+105,
+108,
+111,
+114,
+117,
+120,
+123,
+126,
+129,
+132,
+135,
+138,
+141,
+144,
+147,
+150,
+153,
+156,
+159,
+162,
+165,
+168,
+171,
+174,
+177,
+180,
+183,
+186,
+189,
+192,
+195,
+198,
+201,
+204,
+207,
+210,
+213,
+216,
+219,
+222,
+225,
+228,
+231,
+234,
+237,
+240,
+243,
+246,
+249,
+252,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+3,
+6,
+9,
+12,
+15,
+18,
+21,
+24,
+27,
+30,
+33,
+36,
+39,
+42,
+45,
+48,
+51,
+54,
+57,
+60,
+63,
+66,
+69,
+72,
+75,
+78,
+81,
+84,
+87,
+90,
+93,
+96,
+99,
+102,
+105,
+108,
+111,
+114,
+117,
+120,
+123,
+126,
+129,
+132,
+135,
+138,
+141,
+144,
+147,
+150,
+153,
+156,
+159,
+162,
+165,
+168,
+171,
+174,
+177,
+180,
+183,
+186,
+189,
+192,
+195,
+198,
+201,
+204,
+207,
+210,
+213,
+216,
+219,
+222,
+225,
+228,
+231,
+234,
+237,
+240,
+243,
+246,
+249,
+252,
+255
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/Cardiac.h b/Core/Code/DataManagement/lut/Cardiac.h
new file mode 100644
index 0000000..5ec2ef5
--- /dev/null
+++ b/Core/Code/DataManagement/lut/Cardiac.h
@@ -0,0 +1,795 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_cardiac_h_
+#define _lut_cardiac_h_
+
+static const int Cardiac[256*3] = {
+
+ 73,// red
+ 72,
+ 70,
+ 69,
+ 68,
+ 66,
+ 65,
+ 63,
+ 62,
+ 61,
+ 59,
+ 58,
+ 57,
+ 55,
+ 54,
+ 52,
+ 51,
+ 48,
+ 45,
+ 41,
+ 38,
+ 35,
+ 32,
+ 29,
+ 26,
+ 22,
+ 19,
+ 16,
+ 13,
+ 10,
+ 6,
+ 3,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 16,
+ 17,
+ 17,
+ 17,
+ 17,
+ 18,
+ 18,
+ 18,
+ 18,
+ 19,
+ 19,
+ 19,
+ 19,
+ 20,
+ 20,
+ 20,
+ 21,
+ 22,
+ 22,
+ 23,
+ 24,
+ 25,
+ 25,
+ 26,
+ 27,
+ 28,
+ 28,
+ 29,
+ 30,
+ 31,
+ 31,
+ 32,
+ 36,
+ 39,
+ 43,
+ 47,
+ 50,
+ 54,
+ 57,
+ 61,
+ 65,
+ 68,
+ 72,
+ 76,
+ 79,
+ 83,
+ 86,
+ 90,
+ 95,
+ 99,
+ 104,
+ 109,
+ 113,
+ 118,
+ 123,
+ 128,
+ 132,
+ 137,
+ 142,
+ 146,
+ 151,
+ 156,
+ 160,
+ 165,
+ 169,
+ 172,
+ 176,
+ 179,
+ 183,
+ 186,
+ 190,
+ 194,
+ 197,
+ 201,
+ 204,
+ 208,
+ 211,
+ 215,
+ 218,
+ 222,
+ 224,
+ 226,
+ 228,
+ 230,
+ 232,
+ 234,
+ 236,
+ 239,
+ 241,
+ 243,
+ 245,
+ 247,
+ 249,
+ 251,
+ 253,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 250,
+ 245,
+ 240,
+ 236,
+ 231,
+ 226,
+ 221,
+ 216,
+ 211,
+ 206,
+ 201,
+ 197,
+ 192,
+ 187,
+ 182,
+ 177,
+ 171,
+ 164,
+ 158,
+ 151,
+ 145,
+ 138,
+ 132,
+ 125,
+ 119,
+ 112,
+ 106,
+ 99,
+ 93,
+ 86,
+ 73,
+
+ 193,// green
+ 195,
+ 197,
+ 198,
+ 200,
+ 202,
+ 204,
+ 206,
+ 208,
+ 209,
+ 211,
+ 213,
+ 215,
+ 217,
+ 218,
+ 220,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 222,
+ 216,
+ 211,
+ 205,
+ 200,
+ 194,
+ 188,
+ 183,
+ 177,
+ 171,
+ 166,
+ 160,
+ 155,
+ 149,
+ 143,
+ 138,
+ 132,
+ 128,
+ 125,
+ 121,
+ 118,
+ 114,
+ 110,
+ 107,
+ 103,
+ 99,
+ 96,
+ 92,
+ 89,
+ 85,
+ 81,
+ 78,
+ 74,
+ 70,
+ 67,
+ 63,
+ 60,
+ 56,
+ 52,
+ 49,
+ 45,
+ 41,
+ 38,
+ 34,
+ 31,
+ 27,
+ 23,
+ 20,
+ 16,
+ 15,
+ 14,
+ 13,
+ 12,
+ 11,
+ 10,
+ 9,
+ 8,
+ 7,
+ 6,
+ 5,
+ 4,
+ 3,
+ 2,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2,
+ 4,
+ 6,
+ 8,
+ 10,
+ 12,
+ 14,
+ 17,
+ 19,
+ 21,
+ 23,
+ 25,
+ 27,
+ 29,
+ 31,
+ 33,
+ 37,
+ 41,
+ 45,
+ 50,
+ 54,
+ 58,
+ 62,
+ 66,
+ 70,
+ 74,
+ 78,
+ 83,
+ 87,
+ 91,
+ 95,
+ 99,
+ 103,
+ 107,
+ 111,
+ 116,
+ 120,
+ 124,
+ 128,
+ 132,
+ 136,
+ 140,
+ 144,
+ 149,
+ 153,
+ 157,
+ 161,
+ 165,
+ 170,
+ 174,
+ 179,
+ 184,
+ 188,
+ 193,
+ 197,
+ 202,
+ 207,
+ 211,
+ 216,
+ 221,
+ 225,
+ 230,
+ 234,
+ 239,
+ 238,
+ 237,
+ 236,
+ 235,
+ 234,
+ 233,
+ 232,
+ 231,
+ 229,
+ 228,
+ 227,
+ 226,
+ 225,
+ 224,
+ 223,
+ 222,
+ 220,
+ 218,
+ 217,
+ 215,
+ 213,
+ 211,
+ 209,
+ 208,
+ 206,
+ 204,
+ 202,
+ 200,
+ 198,
+ 197,
+ 193,
+
+ 3,// blue
+ 12,
+ 20,
+ 29,
+ 37,
+ 46,
+ 54,
+ 63,
+ 71,
+ 80,
+ 88,
+ 97,
+ 105,
+ 114,
+ 122,
+ 131,
+ 139,
+ 146,
+ 154,
+ 161,
+ 168,
+ 175,
+ 183,
+ 190,
+ 197,
+ 204,
+ 212,
+ 219,
+ 226,
+ 233,
+ 241,
+ 248,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 253,
+ 252,
+ 250,
+ 249,
+ 247,
+ 246,
+ 244,
+ 243,
+ 241,
+ 239,
+ 238,
+ 236,
+ 235,
+ 233,
+ 232,
+ 230,
+ 229,
+ 227,
+ 226,
+ 224,
+ 223,
+ 221,
+ 220,
+ 218,
+ 217,
+ 215,
+ 214,
+ 212,
+ 211,
+ 209,
+ 208,
+ 206,
+ 203,
+ 201,
+ 198,
+ 196,
+ 193,
+ 191,
+ 188,
+ 186,
+ 183,
+ 180,
+ 178,
+ 175,
+ 173,
+ 170,
+ 168,
+ 165,
+ 163,
+ 161,
+ 159,
+ 157,
+ 155,
+ 153,
+ 151,
+ 149,
+ 146,
+ 144,
+ 142,
+ 140,
+ 138,
+ 136,
+ 134,
+ 132,
+ 127,
+ 123,
+ 118,
+ 113,
+ 109,
+ 104,
+ 99,
+ 95,
+ 90,
+ 85,
+ 80,
+ 76,
+ 71,
+ 66,
+ 62,
+ 57,
+ 53,
+ 50,
+ 46,
+ 43,
+ 39,
+ 36,
+ 32,
+ 29,
+ 25,
+ 21,
+ 18,
+ 14,
+ 11,
+ 7,
+ 4,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 2,
+ 2,
+ 3,
+ 4,
+ 5,
+ 5,
+ 6,
+ 7,
+ 8,
+ 8,
+ 9,
+ 10,
+ 11,
+ 11,
+ 12,
+ 11,
+ 11,
+ 10,
+ 10,
+ 9,
+ 9,
+ 8,
+ 8,
+ 7,
+ 6,
+ 6,
+ 5,
+ 5,
+ 4,
+ 3
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/Flow.h b/Core/Code/DataManagement/lut/Flow.h
new file mode 100644
index 0000000..67fc9df
--- /dev/null
+++ b/Core/Code/DataManagement/lut/Flow.h
@@ -0,0 +1,806 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: Flow.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_Flow_h_
+#define _lut_Flow_h_
+
+static const int Flow[3*256]={
+
+ 32,// red
+ 32,
+ 32,
+ 32,
+ 31,
+ 31,
+ 31,
+ 31,
+ 31,
+ 30,
+ 30,
+ 30,
+ 30,
+ 30,
+ 29,
+ 29,
+ 29,
+ 29,
+ 29,
+ 28,
+ 28,
+ 28,
+ 28,
+ 28,
+ 27,
+ 27,
+ 27,
+ 27,
+ 27,
+ 26,
+ 26,
+ 26,
+ 26,
+ 26,
+ 25,
+ 25,
+ 25,
+ 25,
+ 25,
+ 24,
+ 24,
+ 24,
+ 24,
+ 24,
+ 23,
+ 23,
+ 23,
+ 23,
+ 23,
+ 22,
+ 22,
+ 22,
+ 22,
+ 22,
+ 21,
+ 21,
+ 21,
+ 21,
+ 21,
+ 20,
+ 20,
+ 20,
+ 20,
+ 19,
+
+ 19,// 0.25
+ 19,
+ 19,
+ 18,
+ 18,
+ 18,
+ 17,
+ 17,
+ 17,
+ 16,
+ 16,
+ 16,
+ 16,
+ 15,
+ 15,
+ 15,
+ 14,
+ 14,
+ 14,
+ 13,
+ 13,
+ 13,
+ 13,
+ 12,
+ 12,
+ 12,
+ 11,
+ 11,
+ 11,
+ 10,
+ 10,
+ 10,
+ 10,
+ 9,
+ 9,
+ 9,
+ 8,
+ 8,
+ 8,
+ 7,
+ 7,
+ 7,
+ 7,
+ 6,
+ 6,
+ 6,
+ 5,
+ 5,
+ 5,
+ 4,
+ 4,
+ 4,
+ 4,
+ 3,
+ 3,
+ 3,
+ 2,
+ 2,
+ 2,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+
+ 0,// 0.5
+ 0,
+ 4,
+ 8,
+ 12,
+ 16,
+ 20,
+ 24,
+ 28,
+ 32,
+ 36,
+ 40,
+ 45,
+ 49,
+ 53,
+ 57,
+ 61,
+ 65,
+ 69,
+ 73,
+ 77,
+ 81,
+ 85,
+ 89,
+ 93,
+ 97,
+ 101,
+ 105,
+ 109,
+ 113,
+ 117,
+ 121,
+ 125,
+ 130,
+ 134,
+ 138,
+ 142,
+ 146,
+ 150,
+ 154,
+ 158,
+ 162,
+ 166,
+ 170,
+ 174,
+ 178,
+ 182,
+ 186,
+ 190,
+ 194,
+ 198,
+ 202,
+ 206,
+ 210,
+ 215,
+ 219,
+ 223,
+ 227,
+ 231,
+ 235,
+ 239,
+ 243,
+ 247,
+ 251,
+
+ 255,// 0.75
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+
+
+ 200,// green
+ 197,
+ 194,
+ 191,
+ 188,
+ 185,
+ 182,
+ 179,
+ 176,
+ 173,
+ 170,
+ 167,
+ 164,
+ 161,
+ 158,
+ 155,
+ 152,
+ 149,
+ 146,
+ 143,
+ 140,
+ 137,
+ 134,
+ 131,
+ 128,
+ 125,
+ 122,
+ 119,
+ 116,
+ 113,
+ 110,
+ 107,
+ 104,
+ 101,
+ 98,
+ 95,
+ 92,
+ 89,
+ 86,
+ 83,
+ 80,
+ 77,
+ 74,
+ 71,
+ 68,
+ 65,
+ 62,
+ 59,
+ 56,
+ 53,
+ 50,
+ 47,
+ 44,
+ 41,
+ 38,
+ 35,
+ 32,
+ 29,
+ 26,
+ 23,
+ 20,
+ 20,
+ 20,
+ 19,
+
+ 19,// 0.25
+ 19,
+ 19,
+ 18,
+ 18,
+ 18,
+ 17,
+ 17,
+ 17,
+ 16,
+ 16,
+ 16,
+ 16,
+ 15,
+ 15,
+ 15,
+ 14,
+ 14,
+ 14,
+ 13,
+ 13,
+ 13,
+ 13,
+ 12,
+ 12,
+ 12,
+ 11,
+ 11,
+ 11,
+ 10,
+ 10,
+ 10,
+ 10,
+ 9,
+ 9,
+ 9,
+ 8,
+ 8,
+ 8,
+ 7,
+ 7,
+ 7,
+ 7,
+ 6,
+ 6,
+ 6,
+ 5,
+ 5,
+ 5,
+ 4,
+ 4,
+ 4,
+ 4,
+ 3,
+ 3,
+ 3,
+ 2,
+ 2,
+ 2,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+
+ 0,// 0.5
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+
+ 2,// 0.75
+ 6,
+ 10,
+ 14,
+ 18,
+ 22,
+ 26,
+ 30,
+ 34,
+ 38,
+ 42,
+ 46,
+ 50,
+ 54,
+ 58,
+ 62,
+ 66,
+ 70,
+ 74,
+ 78,
+ 82,
+ 86,
+ 90,
+ 94,
+ 98,
+ 102,
+ 106,
+ 110,
+ 114,
+ 118,
+ 122,
+ 126,
+ 130,
+ 134,
+ 138,
+ 142,
+ 146,
+ 150,
+ 154,
+ 158,
+ 162,
+ 166,
+ 170,
+ 174,
+ 178,
+ 182,
+ 186,
+ 190,
+ 194,
+ 198,
+ 202,
+ 206,
+ 210,
+ 214,
+ 218,
+ 222,
+ 226,
+ 230,
+ 234,
+ 238,
+ 242,
+ 246,
+ 250,
+ 255,
+
+
+ 255,// blue
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 251,
+ 247,
+
+ 244,// 0.25
+ 240,
+ 236,
+ 232,
+ 228,
+ 225,
+ 221,
+ 217,
+ 213,
+ 209,
+ 206,
+ 202,
+ 198,
+ 194,
+ 190,
+ 186,
+ 183,
+ 179,
+ 175,
+ 171,
+ 167,
+ 164,
+ 160,
+ 156,
+ 152,
+ 148,
+ 145,
+ 141,
+ 137,
+ 133,
+ 129,
+ 126,
+ 122,
+ 118,
+ 114,
+ 110,
+ 107,
+ 103,
+ 99,
+ 95,
+ 91,
+ 88,
+ 84,
+ 80,
+ 76,
+ 72,
+ 69,
+ 65,
+ 61,
+ 57,
+ 53,
+ 49,
+ 46,
+ 42,
+ 38,
+ 34,
+ 30,
+ 27,
+ 23,
+ 19,
+ 15,
+ 11,
+ 8,
+ 4,
+
+ 0,// 0.5
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+
+ 0,// 0.75
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 8,// 0.875
+ 16,
+ 24,
+ 32,
+ 40,
+ 48,
+ 56,
+ 64,
+ 72,
+ 80,
+ 88,
+ 96,
+ 104,
+ 112,
+ 120,
+ 128,
+ 136,
+ 144,
+ 152,
+ 160,
+ 168,
+ 176,
+ 184,
+ 192,
+ 200,
+ 208,
+ 216,
+ 224,
+ 232,
+ 240,
+ 248,
+ 255
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/GEColor.h b/Core/Code/DataManagement/lut/GEColor.h
new file mode 100644
index 0000000..b04e1c5
--- /dev/null
+++ b/Core/Code/DataManagement/lut/GEColor.h
@@ -0,0 +1,806 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: GEColor.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_GEColor_h_
+#define _lut_GEColor_h_
+
+static const int GEColor[3*256]={
+
+0,// red
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+
+1,// 0.25
+3,
+5,
+7,
+9,
+11,
+13,
+15,
+17,
+19,
+21,
+23,
+25,
+27,
+29,
+31,
+33,
+35,
+37,
+39,
+41,
+43,
+45,
+47,
+49,
+51,
+53,
+55,
+57,
+59,
+61,
+63,
+65,
+67,
+69,
+71,
+73,
+75,
+77,
+79,
+81,
+83,
+85,
+86,
+88,
+90,
+92,
+94,
+96,
+98,
+100,
+102,
+104,
+106,
+108,
+110,
+112,
+114,
+116,
+118,
+120,
+122,
+124,
+126,
+
+128,// 0.5
+130,
+132,
+134,
+136,
+138,
+140,
+142,
+144,
+146,
+148,
+150,
+152,
+154,
+156,
+158,
+160,
+162,
+164,
+166,
+168,
+170,
+171,
+173,
+175,
+177,
+179,
+181,
+183,
+185,
+187,
+189,
+191,
+193,
+195,
+197,
+199,
+201,
+203,
+205,
+207,
+209,
+211,
+213,
+215,
+217,
+219,
+221,
+223,
+225,
+227,
+229,
+231,
+233,
+235,
+237,
+239,
+241,
+243,
+245,
+247,
+249,
+251,
+253,
+
+255,// 0.75
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+
+
+2,// green
+4,
+6,
+8,
+10,
+12,
+14,
+16,
+18,
+20,
+22,
+24,
+26,
+28,
+30,
+32,
+34,
+36,
+38,
+40,
+42,
+44,
+46,
+48,
+50,
+52,
+54,
+56,
+58,
+60,
+62,
+65,
+67,
+69,
+71,
+73,
+75,
+77,
+79,
+81,
+83,
+85,
+87,
+89,
+91,
+93,
+95,
+97,
+99,
+101,
+103,
+105,
+107,
+109,
+111,
+113,
+115,
+117,
+119,
+121,
+123,
+125,
+128,
+126,
+
+124,// 0.25
+122,
+120,
+118,
+116,
+114,
+112,
+110,
+108,
+106,
+104,
+102,
+100,
+98,
+96,
+94,
+92,
+90,
+88,
+86,
+84,
+82,
+80,
+78,
+76,
+74,
+72,
+70,
+68,
+66,
+64,
+63,
+61,
+59,
+57,
+55,
+53,
+51,
+49,
+47,
+45,
+43,
+41,
+39,
+37,
+35,
+33,
+31,
+29,
+27,
+25,
+23,
+21,
+19,
+17,
+15,
+13,
+11,
+9,
+7,
+5,
+3,
+1,
+0,
+
+2,// 0.5
+4,
+6,
+8,
+10,
+12,
+14,
+16,
+18,
+20,
+22,
+24,
+26,
+28,
+30,
+32,
+34,
+36,
+38,
+40,
+42,
+44,
+46,
+48,
+50,
+52,
+54,
+56,
+58,
+60,
+62,
+64,
+66,
+68,
+70,
+72,
+74,
+76,
+78,
+80,
+82,
+84,
+86,
+88,
+90,
+92,
+94,
+96,
+98,
+100,
+102,
+104,
+106,
+108,
+110,
+112,
+114,
+116,
+118,
+120,
+122,
+124,
+126,
+128,
+
+130,// 0.75
+132,
+134,
+136,
+138,
+140,
+142,
+144,
+146,
+148,
+150,
+152,
+154,
+156,
+158,
+160,
+162,
+164,
+166,
+168,
+170,
+172,
+174,
+176,
+178,
+180,
+182,
+184,
+186,
+188,
+190,
+192,
+194,
+196,
+198,
+200,
+202,
+204,
+206,
+208,
+210,
+212,
+214,
+216,
+218,
+220,
+222,
+224,
+226,
+228,
+230,
+232,
+234,
+236,
+238,
+240,
+242,
+244,
+246,
+248,
+250,
+252,
+255,
+
+
+0,// blue
+1,
+3,
+5,
+7,
+9,
+11,
+13,
+15,
+17,
+19,
+21,
+23,
+25,
+27,
+29,
+31,
+33,
+35,
+37,
+39,
+41,
+43,
+45,
+47,
+49,
+51,
+53,
+55,
+57,
+59,
+61,
+63,
+65,
+67,
+69,
+71,
+73,
+75,
+77,
+79,
+81,
+83,
+85,
+87,
+89,
+91,
+93,
+95,
+97,
+99,
+101,
+103,
+105,
+107,
+109,
+111,
+113,
+115,
+117,
+119,
+121,
+123,
+125,
+
+127,// 0.25
+129,
+131,
+133,
+135,
+137,
+139,
+141,
+143,
+145,
+147,
+149,
+151,
+153,
+155,
+157,
+159,
+161,
+163,
+165,
+167,
+169,
+171,
+173,
+175,
+177,
+179,
+181,
+183,
+185,
+187,
+189,
+191,
+193,
+195,
+197,
+199,
+201,
+203,
+205,
+207,
+209,
+211,
+213,
+215,
+217,
+219,
+221,
+223,
+225,
+227,
+229,
+231,
+233,
+235,
+237,
+239,
+241,
+243,
+245,
+247,
+249,
+251,
+253,
+
+255,// 0.5
+252,
+248,
+244,
+240,
+236,
+232,
+228,
+224,
+220,
+216,
+212,
+208,
+204,
+200,
+196,
+192,
+188,
+184,
+180,
+176,
+172,
+168,
+164,
+160,
+156,
+152,
+148,
+144,
+140,
+136,
+132,
+128,
+124,
+120,
+116,
+112,
+108,
+104,
+100,
+96,
+92,
+88,
+84,
+80,
+76,
+72,
+68,
+64,
+60,
+56,
+52,
+48,
+44,
+40,
+36,
+32,
+28,
+24,
+20,
+16,
+12,
+8,
+4,
+
+0,// 0.75
+4,
+8,
+12,
+16,
+20,
+24,
+28,
+32,
+36,
+40,
+44,
+48,
+52,
+56,
+60,
+64,
+68,
+72,
+76,
+80,
+85,
+89,
+93,
+97,
+101,
+105,
+109,
+113,
+117,
+121,
+125,
+129,
+133,
+137,
+141,
+145,
+149,
+153,
+157,
+161,
+165,
+170,
+174,
+178,
+182,
+186,
+190,
+194,
+198,
+202,
+206,
+210,
+214,
+218,
+222,
+226,
+230,
+234,
+238,
+242,
+246,
+250,
+255
+
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/GrayRainbow.h b/Core/Code/DataManagement/lut/GrayRainbow.h
new file mode 100644
index 0000000..a8fcb24
--- /dev/null
+++ b/Core/Code/DataManagement/lut/GrayRainbow.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_grayRainbow_h_
+#define _lut_grayRainbow_h_
+
+static const int GrayRainbow[256*3]={
+0,
+1,
+2,
+3,
+4,
+5,
+6,
+7,
+8,
+9,
+10,
+11,
+12,
+13,
+14,
+15,
+175,
+17,
+18,
+19,
+20,
+21,
+22,
+23,
+24,
+25,
+26,
+27,
+28,
+29,
+30,
+31,
+95,
+33,
+34,
+35,
+36,
+37,
+38,
+39,
+40,
+41,
+42,
+43,
+44,
+45,
+46,
+47,
+15,
+49,
+50,
+51,
+52,
+53,
+54,
+55,
+56,
+57,
+58,
+59,
+60,
+61,
+62,
+63,
+0,
+65,
+66,
+67,
+68,
+69,
+70,
+71,
+72,
+73,
+74,
+75,
+76,
+77,
+78,
+79,
+0,
+81,
+82,
+83,
+84,
+85,
+86,
+87,
+88,
+89,
+90,
+91,
+92,
+93,
+94,
+95,
+0,
+97,
+98,
+99,
+100,
+101,
+102,
+103,
+104,
+105,
+106,
+107,
+108,
+109,
+110,
+111,
+0,
+113,
+114,
+115,
+116,
+117,
+118,
+119,
+120,
+121,
+122,
+123,
+124,
+125,
+126,
+127,
+0,
+129,
+130,
+131,
+132,
+133,
+134,
+135,
+136,
+137,
+138,
+139,
+140,
+141,
+142,
+143,
+0,
+145,
+146,
+147,
+148,
+149,
+150,
+151,
+152,
+153,
+154,
+155,
+156,
+157,
+158,
+159,
+35,
+161,
+162,
+163,
+164,
+165,
+166,
+167,
+168,
+169,
+170,
+171,
+172,
+173,
+174,
+175,
+115,
+177,
+178,
+179,
+180,
+181,
+182,
+183,
+184,
+185,
+186,
+187,
+188,
+189,
+190,
+191,
+195,
+193,
+194,
+195,
+196,
+197,
+198,
+199,
+200,
+201,
+202,
+203,
+204,
+205,
+206,
+207,
+255,
+209,
+210,
+211,
+212,
+213,
+214,
+215,
+216,
+217,
+218,
+219,
+220,
+221,
+222,
+223,
+255,
+225,
+226,
+227,
+228,
+229,
+230,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+238,
+239,
+255,
+241,
+242,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+252,
+253,
+254,
+255,
+0,
+1,
+2,
+3,
+4,
+5,
+6,
+7,
+8,
+9,
+10,
+11,
+12,
+13,
+14,
+15,
+0,
+17,
+18,
+19,
+20,
+21,
+22,
+23,
+24,
+25,
+26,
+27,
+28,
+29,
+30,
+31,
+0,
+33,
+34,
+35,
+36,
+37,
+38,
+39,
+40,
+41,
+42,
+43,
+44,
+45,
+46,
+47,
+0,
+49,
+50,
+51,
+52,
+53,
+54,
+55,
+56,
+57,
+58,
+59,
+60,
+61,
+62,
+63,
+65,
+65,
+66,
+67,
+68,
+69,
+70,
+71,
+72,
+73,
+74,
+75,
+76,
+77,
+78,
+79,
+145,
+81,
+82,
+83,
+84,
+85,
+86,
+87,
+88,
+89,
+90,
+91,
+92,
+93,
+94,
+95,
+225,
+97,
+98,
+99,
+100,
+101,
+102,
+103,
+104,
+105,
+106,
+107,
+108,
+109,
+110,
+111,
+255,
+113,
+114,
+115,
+116,
+117,
+118,
+119,
+120,
+121,
+122,
+123,
+124,
+125,
+126,
+127,
+255,
+129,
+130,
+131,
+132,
+133,
+134,
+135,
+136,
+137,
+138,
+139,
+140,
+141,
+142,
+143,
+255,
+145,
+146,
+147,
+148,
+149,
+150,
+151,
+152,
+153,
+154,
+155,
+156,
+157,
+158,
+159,
+255,
+161,
+162,
+163,
+164,
+165,
+166,
+167,
+168,
+169,
+170,
+171,
+172,
+173,
+174,
+175,
+255,
+177,
+178,
+179,
+180,
+181,
+182,
+183,
+184,
+185,
+186,
+187,
+188,
+189,
+190,
+191,
+255,
+193,
+194,
+195,
+196,
+197,
+198,
+199,
+200,
+201,
+202,
+203,
+204,
+205,
+206,
+207,
+235,
+209,
+210,
+211,
+212,
+213,
+214,
+215,
+216,
+217,
+218,
+219,
+220,
+221,
+222,
+223,
+155,
+225,
+226,
+227,
+228,
+229,
+230,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+238,
+239,
+75,
+241,
+242,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+252,
+253,
+254,
+255,
+0,
+1,
+2,
+3,
+4,
+5,
+6,
+7,
+8,
+9,
+10,
+11,
+12,
+13,
+14,
+15,
+255,
+17,
+18,
+19,
+20,
+21,
+22,
+23,
+24,
+25,
+26,
+27,
+28,
+29,
+30,
+31,
+255,
+33,
+34,
+35,
+36,
+37,
+38,
+39,
+40,
+41,
+42,
+43,
+44,
+45,
+46,
+47,
+255,
+49,
+50,
+51,
+52,
+53,
+54,
+55,
+56,
+57,
+58,
+59,
+60,
+61,
+62,
+63,
+255,
+65,
+66,
+67,
+68,
+69,
+70,
+71,
+72,
+73,
+74,
+75,
+76,
+77,
+78,
+79,
+255,
+81,
+82,
+83,
+84,
+85,
+86,
+87,
+88,
+89,
+90,
+91,
+92,
+93,
+94,
+95,
+255,
+97,
+98,
+99,
+100,
+101,
+102,
+103,
+104,
+105,
+106,
+107,
+108,
+109,
+110,
+111,
+205,
+113,
+114,
+115,
+116,
+117,
+118,
+119,
+120,
+121,
+122,
+123,
+124,
+125,
+126,
+127,
+125,
+129,
+130,
+131,
+132,
+133,
+134,
+135,
+136,
+137,
+138,
+139,
+140,
+141,
+142,
+143,
+45,
+145,
+146,
+147,
+148,
+149,
+150,
+151,
+152,
+153,
+154,
+155,
+156,
+157,
+158,
+159,
+0,
+161,
+162,
+163,
+164,
+165,
+166,
+167,
+168,
+169,
+170,
+171,
+172,
+173,
+174,
+175,
+0,
+177,
+178,
+179,
+180,
+181,
+182,
+183,
+184,
+185,
+186,
+187,
+188,
+189,
+190,
+191,
+0,
+193,
+194,
+195,
+196,
+197,
+198,
+199,
+200,
+201,
+202,
+203,
+204,
+205,
+206,
+207,
+0,
+209,
+210,
+211,
+212,
+213,
+214,
+215,
+216,
+217,
+218,
+219,
+220,
+221,
+222,
+223,
+0,
+225,
+226,
+227,
+228,
+229,
+230,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+238,
+239,
+0,
+241,
+242,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+252,
+253,
+254,
+255
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/HotGreen.h b/Core/Code/DataManagement/lut/HotGreen.h
new file mode 100644
index 0000000..fdba240
--- /dev/null
+++ b/Core/Code/DataManagement/lut/HotGreen.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_hotGreen_h_
+#define _lut_hotGreen_h_
+
+static const int HotGreen[256*3]={
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+1,
+3,
+5,
+7,
+8,
+10,
+12,
+14,
+16,
+17,
+19,
+21,
+23,
+24,
+26,
+28,
+30,
+32,
+33,
+35,
+37,
+39,
+40,
+42,
+44,
+46,
+48,
+49,
+51,
+53,
+55,
+56,
+58,
+60,
+62,
+64,
+65,
+67,
+69,
+71,
+72,
+74,
+76,
+78,
+80,
+81,
+83,
+85,
+87,
+88,
+90,
+92,
+94,
+96,
+97,
+99,
+101,
+103,
+104,
+106,
+108,
+110,
+112,
+113,
+115,
+117,
+119,
+120,
+122,
+124,
+126,
+128,
+129,
+131,
+133,
+135,
+136,
+138,
+140,
+142,
+144,
+145,
+147,
+149,
+151,
+152,
+154,
+156,
+158,
+160,
+161,
+163,
+165,
+167,
+168,
+170,
+172,
+174,
+176,
+177,
+179,
+181,
+183,
+184,
+186,
+188,
+190,
+192,
+193,
+195,
+197,
+199,
+200,
+202,
+204,
+206,
+208,
+209,
+211,
+213,
+215,
+216,
+218,
+220,
+222,
+224,
+225,
+227,
+229,
+231,
+232,
+234,
+236,
+238,
+240,
+241,
+243,
+245,
+247,
+248,
+250,
+252,
+254,
+0,
+1,
+3,
+4,
+6,
+7,
+9,
+10,
+12,
+13,
+15,
+16,
+18,
+19,
+21,
+22,
+24,
+25,
+27,
+28,
+30,
+31,
+33,
+34,
+36,
+37,
+39,
+40,
+42,
+43,
+45,
+46,
+48,
+49,
+51,
+52,
+54,
+55,
+57,
+58,
+60,
+61,
+63,
+64,
+66,
+67,
+69,
+70,
+72,
+73,
+75,
+76,
+78,
+79,
+81,
+82,
+84,
+85,
+87,
+88,
+90,
+91,
+93,
+94,
+96,
+97,
+99,
+100,
+102,
+103,
+105,
+106,
+108,
+109,
+111,
+112,
+114,
+115,
+117,
+118,
+120,
+121,
+123,
+124,
+126,
+127,
+129,
+130,
+132,
+133,
+135,
+136,
+138,
+139,
+141,
+142,
+144,
+145,
+147,
+148,
+150,
+151,
+153,
+154,
+156,
+157,
+159,
+160,
+162,
+163,
+165,
+166,
+168,
+169,
+171,
+172,
+174,
+175,
+177,
+178,
+180,
+181,
+183,
+184,
+186,
+187,
+189,
+190,
+192,
+193,
+195,
+196,
+198,
+199,
+201,
+202,
+204,
+205,
+207,
+208,
+210,
+211,
+213,
+214,
+216,
+217,
+219,
+220,
+222,
+223,
+225,
+226,
+228,
+229,
+231,
+232,
+234,
+235,
+237,
+238,
+240,
+241,
+243,
+244,
+246,
+247,
+249,
+250,
+252,
+253,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+3,
+6,
+10,
+13,
+16,
+20,
+23,
+26,
+30,
+33,
+37,
+40,
+43,
+47,
+50,
+53,
+57,
+60,
+64,
+67,
+70,
+74,
+77,
+80,
+84,
+87,
+90,
+94,
+97,
+101,
+104,
+107,
+111,
+114,
+117,
+121,
+124,
+128,
+131,
+134,
+138,
+141,
+144,
+148,
+151,
+154,
+158,
+161,
+165,
+168,
+171,
+175,
+178,
+181,
+185,
+188,
+192,
+195,
+198,
+202,
+205,
+208,
+212,
+215,
+218,
+222,
+225,
+229,
+232,
+235,
+239,
+242,
+245,
+249,
+252
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/HotIron.h b/Core/Code/DataManagement/lut/HotIron.h
new file mode 100644
index 0000000..539aeea
--- /dev/null
+++ b/Core/Code/DataManagement/lut/HotIron.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_hotIron_h_
+#define _lut_hotIron_h_
+
+static const int HotIron[256*3]={
+0,
+2,
+4,
+6,
+8,
+10,
+12,
+14,
+16,
+18,
+20,
+22,
+24,
+26,
+28,
+30,
+32,
+34,
+36,
+38,
+40,
+42,
+44,
+46,
+48,
+50,
+52,
+54,
+56,
+58,
+60,
+62,
+64,
+66,
+68,
+70,
+72,
+74,
+76,
+78,
+80,
+82,
+84,
+86,
+88,
+90,
+92,
+94,
+96,
+98,
+100,
+102,
+104,
+106,
+108,
+110,
+112,
+114,
+116,
+118,
+120,
+122,
+124,
+126,
+128,
+130,
+132,
+134,
+136,
+138,
+140,
+142,
+144,
+146,
+148,
+150,
+152,
+154,
+156,
+158,
+160,
+162,
+164,
+166,
+168,
+170,
+172,
+174,
+176,
+178,
+180,
+182,
+184,
+186,
+188,
+190,
+192,
+194,
+196,
+198,
+200,
+202,
+204,
+206,
+208,
+210,
+212,
+214,
+216,
+218,
+220,
+222,
+224,
+226,
+228,
+230,
+232,
+234,
+236,
+238,
+240,
+242,
+244,
+246,
+248,
+250,
+252,
+254,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+2,
+4,
+6,
+8,
+10,
+12,
+14,
+16,
+18,
+20,
+22,
+24,
+26,
+28,
+30,
+32,
+34,
+36,
+38,
+40,
+42,
+44,
+46,
+48,
+50,
+52,
+54,
+56,
+58,
+60,
+62,
+64,
+66,
+68,
+70,
+72,
+74,
+76,
+78,
+80,
+82,
+84,
+86,
+88,
+90,
+92,
+94,
+96,
+98,
+100,
+102,
+104,
+106,
+108,
+110,
+112,
+114,
+116,
+118,
+120,
+122,
+124,
+126,
+128,
+130,
+132,
+134,
+136,
+138,
+140,
+142,
+144,
+146,
+148,
+150,
+152,
+154,
+156,
+158,
+160,
+162,
+164,
+166,
+168,
+170,
+172,
+174,
+176,
+178,
+180,
+182,
+184,
+186,
+188,
+190,
+192,
+194,
+196,
+198,
+200,
+202,
+204,
+206,
+208,
+210,
+212,
+214,
+216,
+218,
+220,
+222,
+224,
+226,
+228,
+230,
+232,
+234,
+236,
+238,
+240,
+242,
+244,
+246,
+248,
+250,
+252,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+4,
+8,
+12,
+16,
+20,
+24,
+28,
+32,
+36,
+40,
+44,
+48,
+52,
+56,
+60,
+64,
+68,
+72,
+76,
+80,
+84,
+88,
+92,
+96,
+100,
+104,
+108,
+112,
+116,
+120,
+124,
+128,
+132,
+136,
+140,
+144,
+148,
+152,
+156,
+160,
+164,
+168,
+172,
+176,
+180,
+184,
+188,
+192,
+196,
+200,
+204,
+208,
+212,
+216,
+220,
+224,
+228,
+232,
+236,
+240,
+244,
+248,
+252,
+255
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/HotMetal.h b/Core/Code/DataManagement/lut/HotMetal.h
new file mode 100644
index 0000000..7ac4081
--- /dev/null
+++ b/Core/Code/DataManagement/lut/HotMetal.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_HotMetal_h_
+#define _lut_HotMetal_h_
+
+static const int HotMetal[256*3]={
+0,
+1,
+2,
+4,
+5,
+7,
+8,
+9,
+11,
+12,
+14,
+15,
+16,
+18,
+19,
+21,
+22,
+23,
+25,
+26,
+28,
+29,
+30,
+32,
+33,
+35,
+36,
+37,
+39,
+40,
+42,
+43,
+44,
+46,
+47,
+49,
+50,
+51,
+53,
+54,
+56,
+57,
+58,
+60,
+61,
+63,
+64,
+65,
+67,
+68,
+70,
+71,
+72,
+74,
+75,
+77,
+78,
+79,
+81,
+82,
+84,
+85,
+86,
+88,
+89,
+91,
+92,
+93,
+95,
+96,
+98,
+99,
+100,
+102,
+103,
+105,
+106,
+107,
+109,
+110,
+112,
+113,
+114,
+116,
+117,
+119,
+120,
+121,
+123,
+124,
+126,
+127,
+128,
+130,
+131,
+133,
+134,
+135,
+137,
+138,
+140,
+141,
+142,
+144,
+145,
+147,
+148,
+149,
+151,
+152,
+154,
+155,
+156,
+158,
+159,
+161,
+162,
+163,
+165,
+166,
+168,
+169,
+170,
+172,
+173,
+175,
+176,
+177,
+179,
+180,
+182,
+183,
+184,
+186,
+187,
+189,
+190,
+191,
+193,
+194,
+196,
+197,
+198,
+200,
+201,
+203,
+204,
+205,
+207,
+208,
+210,
+211,
+212,
+214,
+215,
+217,
+218,
+219,
+221,
+222,
+224,
+225,
+226,
+228,
+229,
+231,
+232,
+233,
+235,
+236,
+238,
+239,
+240,
+242,
+243,
+245,
+246,
+247,
+249,
+250,
+252,
+253,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+2,
+5,
+8,
+11,
+14,
+16,
+19,
+22,
+25,
+28,
+30,
+33,
+36,
+39,
+42,
+44,
+47,
+50,
+53,
+56,
+58,
+61,
+64,
+67,
+70,
+72,
+75,
+78,
+81,
+84,
+86,
+89,
+92,
+95,
+98,
+100,
+103,
+106,
+109,
+112,
+114,
+117,
+120,
+123,
+126,
+128,
+131,
+134,
+137,
+140,
+142,
+145,
+148,
+151,
+154,
+156,
+159,
+162,
+165,
+168,
+170,
+173,
+176,
+179,
+182,
+184,
+187,
+190,
+193,
+196,
+198,
+201,
+204,
+207,
+210,
+212,
+215,
+218,
+221,
+224,
+226,
+229,
+232,
+235,
+238,
+240,
+243,
+246,
+249,
+252,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+3,
+7,
+11,
+15,
+19,
+23,
+27,
+31,
+35,
+39,
+43,
+47,
+51,
+55,
+59,
+63,
+67,
+71,
+75,
+79,
+83,
+87,
+91,
+95,
+99,
+103,
+107,
+111,
+115,
+119,
+123,
+127,
+131,
+135,
+139,
+143,
+147,
+151,
+155,
+159,
+163,
+167,
+171,
+175,
+179,
+183,
+187,
+191,
+195,
+199,
+203,
+207,
+211,
+215,
+219,
+223,
+227,
+231,
+235,
+239,
+243,
+247,
+251
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/LONI.h b/Core/Code/DataManagement/lut/LONI.h
new file mode 100644
index 0000000..6da817d
--- /dev/null
+++ b/Core/Code/DataManagement/lut/LONI.h
@@ -0,0 +1,228 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: LONI.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_LONI_h_
+#define _lut_LONI_h_
+
+static const float LONI[203][3] ={
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0244 , 1.0 },
+ { 0.0 , 0.0488 , 1.0 },
+ { 0.0 , 0.0732 , 1.0 },
+ { 0.0 , 0.0976 , 1.0 },
+ { 0.0 , 0.1220 , 1.0 },
+ { 0.0 , 0.1463 , 1.0 },
+ { 0.0 , 0.1707 , 1.0 },
+ { 0.0 , 0.1951 , 1.0 },
+ { 0.0 , 0.2195 , 1.0 },
+ { 0.0 , 0.2439 , 1.0 },
+ { 0.0 , 0.2683 , 1.0 },
+ { 0.0 , 0.2927 , 1.0 },
+ { 0.0 , 0.3171 , 1.0 },
+ { 0.0 , 0.3415 , 1.0 },
+ { 0.0 , 0.3659 , 1.0 },
+ { 0.0 , 0.3902 , 1.0 },
+ { 0.0 , 0.4146 , 1.0 },
+ { 0.0 , 0.4390 , 1.0 },
+ { 0.0 , 0.4634 , 1.0 },
+ { 0.0 , 0.4878 , 1.0 },
+ { 0.0 , 0.5122 , 1.0 },
+ { 0.0 , 0.5366 , 1.0 },
+ { 0.0 , 0.5610 , 1.0 },
+ { 0.0 , 0.5854 , 1.0 },
+ { 0.0 , 0.6098 , 1.0 },
+ { 0.0 , 0.6341 , 1.0 },
+ { 0.0 , 0.6585 , 1.0 },
+ { 0.0 , 0.6829 , 1.0 },
+ { 0.0 , 0.7073 , 1.0 },
+ { 0.0 , 0.7317 , 1.0 },
+ { 0.0 , 0.7561 , 1.0 },
+ { 0.0 , 0.7805 , 1.0 },
+ { 0.0 , 0.8049 , 1.0 },
+ { 0.0 , 0.8293 , 1.0 },
+ { 0.0 , 0.8537 , 1.0 },
+ { 0.0 , 0.8780 , 1.0 },
+ { 0.0 , 0.9024 , 1.0 },
+ { 0.0 , 0.9268 , 1.0 },
+ { 0.0 , 0.9512 , 1.0 },
+ { 0.0 , 0.9756 , 1.0 },
+ { 0.0 , 1.0 , 1.0 },
+ { 0.0 , 1.0 , 0.9756 },
+ { 0.0 , 1.0 , 0.9512 },
+ { 0.0 , 1.0 , 0.9268 },
+ { 0.0 , 1.0 , 0.9024 },
+ { 0.0 , 1.0 , 0.8780 },
+ { 0.0 , 1.0 , 0.8537 },
+ { 0.0 , 1.0 , 0.8293 },
+ { 0.0 , 1.0 , 0.8049 },
+ { 0.0 , 1.0 , 0.7805 },
+ { 0.0 , 1.0 , 0.7561 },
+ { 0.0 , 1.0 , 0.7317 },
+ { 0.0 , 1.0 , 0.7073 },
+ { 0.0 , 1.0 , 0.6829 },
+ { 0.0 , 1.0 , 0.6585 },
+ { 0.0 , 1.0 , 0.6341 },
+ { 0.0 , 1.0 , 0.6098 },
+ { 0.0 , 1.0 , 0.5854 },
+ { 0.0 , 1.0 , 0.5610 },
+ { 0.0 , 1.0 , 0.5366 },
+ { 0.0 , 1.0 , 0.5122 },
+ { 0.0 , 1.0 , 0.4878 },
+ { 0.0 , 1.0 , 0.4634 },
+ { 0.0 , 1.0 , 0.4390 },
+ { 0.0 , 1.0 , 0.4146 },
+ { 0.0 , 1.0 , 0.3902 },
+ { 0.0 , 1.0 , 0.3659 },
+ { 0.0 , 1.0 , 0.3415 },
+ { 0.0 , 1.0 , 0.3171 },
+ { 0.0 , 1.0 , 0.2927 },
+ { 0.0 , 1.0 , 0.2683 },
+ { 0.0 , 1.0 , 0.2439 },
+ { 0.0 , 1.0 , 0.2195 },
+ { 0.0 , 1.0 , 0.1951 },
+ { 0.0 , 1.0 , 0.1707 },
+ { 0.0 , 1.0 , 0.1463 },
+ { 0.0 , 1.0 , 0.1220 },
+ { 0.0 , 1.0 , 0.0976 },
+ { 0.0 , 1.0 , 0.0732 },
+ { 0.0 , 1.0 , 0.0488 },
+ { 0.0 , 1.0 , 0.0244 },
+ { 0.0 , 1.0 , 0.0 },
+ { 0.0244 , 1.0 , 0.0 },
+ { 0.0488 , 1.0 , 0.0 },
+ { 0.0732 , 1.0 , 0.0 },
+ { 0.0976 , 1.0 , 0.0 },
+ { 0.1220 , 1.0 , 0.0 },
+ { 0.1463 , 1.0 , 0.0 },
+ { 0.1707 , 1.0 , 0.0 },
+ { 0.1951 , 1.0 , 0.0 },
+ { 0.2195 , 1.0 , 0.0 },
+ { 0.2439 , 1.0 , 0.0 },
+ { 0.2683 , 1.0 , 0.0 },
+ { 0.2927 , 1.0 , 0.0 },
+ { 0.3171 , 1.0 , 0.0 },
+ { 0.3415 , 1.0 , 0.0 },
+ { 0.3659 , 1.0 , 0.0 },
+ { 0.3902 , 1.0 , 0.0 },
+ { 0.4146 , 1.0 , 0.0 },
+ { 0.4390 , 1.0 , 0.0 },
+ { 0.4634 , 1.0 , 0.0 },
+ { 0.4878 , 1.0 , 0.0 },
+ { 0.5122 , 1.0 , 0.0 },
+ { 0.5366 , 1.0 , 0.0 },
+ { 0.5610 , 1.0 , 0.0 },
+ { 0.5854 , 1.0 , 0.0 },
+ { 0.6098 , 1.0 , 0.0 },
+ { 0.6341 , 1.0 , 0.0 },
+ { 0.6585 , 1.0 , 0.0 },
+ { 0.6829 , 1.0 , 0.0 },
+ { 0.7073 , 1.0 , 0.0 },
+ { 0.7317 , 1.0 , 0.0 },
+ { 0.7561 , 1.0 , 0.0 },
+ { 0.7805 , 1.0 , 0.0 },
+ { 0.8049 , 1.0 , 0.0 },
+ { 0.8293 , 1.0 , 0.0 },
+ { 0.8537 , 1.0 , 0.0 },
+ { 0.8780 , 1.0 , 0.0 },
+ { 0.9024 , 1.0 , 0.0 },
+ { 0.9268 , 1.0 , 0.0 },
+ { 0.9512 , 1.0 , 0.0 },
+ { 0.9756 , 1.0 , 0.0 },
+ { 1.0 , 1.0 , 0.0 },
+ { 1.0 , 0.9756 , 0.0 },
+ { 1.0 , 0.9512 , 0.0 },
+ { 1.0 , 0.9268 , 0.0 },
+ { 1.0 , 0.9024 , 0.0 },
+ { 1.0 , 0.8780 , 0.0 },
+ { 1.0 , 0.8537 , 0.0 },
+ { 1.0 , 0.8293 , 0.0 },
+ { 1.0 , 0.8049 , 0.0 },
+ { 1.0 , 0.7805 , 0.0 },
+ { 1.0 , 0.7561 , 0.0 },
+ { 1.0 , 0.7317 , 0.0 },
+ { 1.0 , 0.7073 , 0.0 },
+ { 1.0 , 0.6829 , 0.0 },
+ { 1.0 , 0.6585 , 0.0 },
+ { 1.0 , 0.6341 , 0.0 },
+ { 1.0 , 0.6098 , 0.0 },
+ { 1.0 , 0.5854 , 0.0 },
+ { 1.0 , 0.5610 , 0.0 },
+ { 1.0 , 0.5366 , 0.0 },
+ { 1.0 , 0.5122 , 0.0 },
+ { 1.0 , 0.4878 , 0.0 },
+ { 1.0 , 0.4634 , 0.0 },
+ { 1.0 , 0.4390 , 0.0 },
+ { 1.0 , 0.4146 , 0.0 },
+ { 1.0 , 0.3902 , 0.0 },
+ { 1.0 , 0.3659 , 0.0 },
+ { 1.0 , 0.3415 , 0.0 },
+ { 1.0 , 0.3171 , 0.0 },
+ { 1.0 , 0.2927 , 0.0 },
+ { 1.0 , 0.2683 , 0.0 },
+ { 1.0 , 0.2439 , 0.0 },
+ { 1.0 , 0.2195 , 0.0 },
+ { 1.0 , 0.1951 , 0.0 },
+ { 1.0 , 0.1707 , 0.0 },
+ { 1.0 , 0.1463 , 0.0 },
+ { 1.0 , 0.1220 , 0.0 },
+ { 1.0 , 0.0976 , 0.0 },
+ { 1.0 , 0.0732 , 0.0 },
+ { 1.0 , 0.0488 , 0.0 },
+ { 1.0 , 0.0244 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 } };
+
+
+
+#endif
diff --git a/Core/Code/DataManagement/lut/LONI2.h b/Core/Code/DataManagement/lut/LONI2.h
new file mode 100644
index 0000000..e819b3f
--- /dev/null
+++ b/Core/Code/DataManagement/lut/LONI2.h
@@ -0,0 +1,143 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: LONI2.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_LONI2_h_
+#define _lut_LONI2_h_
+
+static const float LONI2[120][3] =
+{ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.0 , 1.0 },
+ { 0.0 , 0.111111 , 1.0 },
+ { 0.0 , 0.222222 , 1.0 },
+ { 0.0 , 0.333333 , 1.0 },
+ { 0.0 , 0.444444 , 1.0 },
+ { 0.0 , 0.555556 , 1.0 },
+ { 0.0 , 0.666667 , 1.0 },
+ { 0.0 , 0.777778 , 1.0 },
+ { 0.0 , 0.888889 , 1.0 },
+ { 0.0 , 1.0 , 1.0 },
+ { 0.0 , 1.0 , 1.0 },
+ { 0.0 , 1.0 , 0.888889 },
+ { 0.0 , 1.0 , 0.777778 },
+ { 0.0 , 1.0 , 0.666667 },
+ { 0.0 , 1.0 , 0.555556 },
+ { 0.0 , 1.0 , 0.444444 },
+ { 0.0 , 1.0 , 0.333333 },
+ { 0.0 , 1.0 , 0.222222 },
+ { 0.0 , 1.0 , 0.111111 },
+ { 0.0 , 1.0 , 0.0 },
+ { 0.0 , 1.0 , 0.0 },
+ { 0.111111 , 1.0 , 0.0 },
+ { 0.222222 , 1.0 , 0.0 },
+ { 0.333333 , 1.0 , 0.0 },
+ { 0.444444 , 1.0 , 0.0 },
+ { 0.555556 , 1.0 , 0.0 },
+ { 0.666667 , 1.0 , 0.0 },
+ { 0.777778 , 1.0 , 0.0 },
+ { 0.888889 , 1.0 , 0.0 },
+ { 1.0 , 1.0 , 0.0 },
+ { 1.0 , 1.0 , 0.0 },
+ { 1.0 , 0.947368 , 0.0 },
+ { 1.0 , 0.894737 , 0.0 },
+ { 1.0 , 0.842105 , 0.0 },
+ { 1.0 , 0.789474 , 0.0 },
+ { 1.0 , 0.736842 , 0.0 },
+ { 1.0 , 0.684211 , 0.0 },
+ { 1.0 , 0.631579 , 0.0 },
+ { 1.0 , 0.578947 , 0.0 },
+ { 1.0 , 0.526316 , 0.0 },
+ { 1.0 , 0.473684 , 0.0 },
+ { 1.0 , 0.421053 , 0.0 },
+ { 1.0 , 0.368421 , 0.0 },
+ { 1.0 , 0.315789 , 0.0 },
+ { 1.0 , 0.263158 , 0.0 },
+ { 1.0 , 0.210526 , 0.0 },
+ { 1.0 , 0.157895 , 0.0 },
+ { 1.0 , 0.105263 , 0.0 },
+ { 1.0 , 0.052632 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.0 },
+ { 1.0 , 0.0 , 0.052632 },
+ { 1.0 , 0.0 , 0.105263 },
+ { 1.0 , 0.0 , 0.157895 },
+ { 1.0 , 0.0 , 0.210526 },
+ { 1.0 , 0.0 , 0.263158 },
+ { 1.0 , 0.0 , 0.315789 },
+ { 1.0 , 0.0 , 0.368421 },
+ { 1.0 , 0.0 , 0.421053 },
+ { 1.0 , 0.0 , 0.473684 },
+ { 1.0 , 0.0 , 0.526316 },
+ { 1.0 , 0.0 , 0.578947 },
+ { 1.0 , 0.0 , 0.631579 },
+ { 1.0 , 0.0 , 0.684211 },
+ { 1.0 , 0.0 , 0.736842 },
+ { 1.0 , 0.0 , 0.789474 },
+ { 1.0 , 0.0 , 0.842105 },
+ { 1.0 , 0.0 , 0.894737 },
+ { 1.0 , 0.0 , 0.947368 },
+ { 1.0 , 0.0 , 1.0 } };
+
+#endif
diff --git a/Core/Code/DataManagement/lut/Spectrum.h b/Core/Code/DataManagement/lut/Spectrum.h
new file mode 100644
index 0000000..2c3ee86
--- /dev/null
+++ b/Core/Code/DataManagement/lut/Spectrum.h
@@ -0,0 +1,793 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: Spectrum.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (Tue, 20 Nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_Spectrum_h_
+#define _lut_Spectrum_h_
+
+static const int Spectrum[256*3]=
+{
+255,
+250,
+245,
+240,
+235,
+230,
+225,
+220,
+215,
+210,
+205,
+200,
+195,
+190,
+185,
+180,
+175,
+170,
+165,
+160,
+155,
+150,
+145,
+140,
+135,
+130,
+125,
+120,
+115,
+110,
+105,
+100,
+95,
+90,
+85,
+80,
+75,
+70,
+65,
+60,
+55,
+50,
+45,
+40,
+35,
+30,
+25,
+20,
+15,
+10,
+5,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+5,
+10,
+15,
+20,
+25,
+30,
+35,
+40,
+45,
+50,
+55,
+60,
+65,
+70,
+75,
+80,
+85,
+90,
+95,
+100,
+105,
+110,
+115,
+120,
+125,
+130,
+135,
+140,
+145,
+150,
+155,
+160,
+165,
+170,
+175,
+180,
+185,
+190,
+195,
+200,
+205,
+210,
+215,
+220,
+225,
+230,
+235,
+240,
+245,
+250,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+5,
+10,
+15,
+20,
+25,
+30,
+35,
+40,
+45,
+50,
+55,
+60,
+65,
+70,
+75,
+80,
+85,
+90,
+95,
+100,
+105,
+110,
+115,
+120,
+125,
+130,
+135,
+140,
+145,
+150,
+155,
+160,
+165,
+170,
+175,
+180,
+185,
+190,
+195,
+200,
+205,
+210,
+215,
+220,
+225,
+230,
+235,
+240,
+245,
+251,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+250,
+245,
+240,
+235,
+230,
+225,
+220,
+215,
+210,
+205,
+200,
+195,
+190,
+185,
+180,
+175,
+170,
+165,
+160,
+155,
+150,
+145,
+140,
+135,
+130,
+125,
+120,
+115,
+110,
+105,
+100,
+95,
+90,
+85,
+80,
+75,
+70,
+65,
+60,
+55,
+50,
+45,
+40,
+35,
+30,
+25,
+20,
+15,
+10,
+5,
+0,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+250,
+245,
+240,
+235,
+230,
+225,
+220,
+215,
+210,
+205,
+200,
+195,
+190,
+185,
+180,
+175,
+170,
+165,
+160,
+155,
+150,
+145,
+140,
+135,
+130,
+125,
+120,
+115,
+110,
+105,
+100,
+95,
+90,
+85,
+80,
+75,
+70,
+65,
+60,
+55,
+50,
+45,
+40,
+35,
+30,
+25,
+20,
+15,
+10,
+5,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/Stern.h b/Core/Code/DataManagement/lut/Stern.h
new file mode 100644
index 0000000..5b45dae
--- /dev/null
+++ b/Core/Code/DataManagement/lut/Stern.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_stern_h_
+#define _lut_stern_h_
+
+static const int Stern[256*3]={
+0,
+18,
+36,
+54,
+72,
+90,
+108,
+127,
+145,
+163,
+181,
+199,
+217,
+235,
+254,
+249,
+244,
+239,
+234,
+229,
+223,
+218,
+213,
+208,
+203,
+197,
+192,
+187,
+182,
+177,
+172,
+166,
+161,
+156,
+151,
+146,
+140,
+135,
+130,
+125,
+120,
+115,
+109,
+104,
+99,
+94,
+89,
+83,
+78,
+73,
+68,
+63,
+58,
+52,
+47,
+42,
+37,
+32,
+26,
+21,
+16,
+11,
+6,
+0,
+64,
+65,
+66,
+67,
+68,
+69,
+70,
+71,
+72,
+73,
+74,
+75,
+76,
+77,
+78,
+79,
+80,
+81,
+82,
+83,
+84,
+85,
+86,
+87,
+88,
+89,
+90,
+91,
+92,
+93,
+94,
+95,
+96,
+97,
+98,
+99,
+100,
+101,
+102,
+103,
+104,
+105,
+106,
+107,
+108,
+109,
+110,
+111,
+112,
+113,
+114,
+115,
+116,
+117,
+118,
+119,
+120,
+121,
+122,
+123,
+124,
+125,
+126,
+127,
+128,
+129,
+130,
+131,
+132,
+133,
+134,
+135,
+136,
+137,
+138,
+139,
+140,
+141,
+142,
+143,
+144,
+145,
+146,
+147,
+148,
+149,
+150,
+151,
+152,
+153,
+154,
+155,
+156,
+157,
+158,
+159,
+160,
+161,
+162,
+163,
+164,
+165,
+166,
+167,
+168,
+169,
+170,
+171,
+172,
+173,
+174,
+175,
+176,
+177,
+178,
+179,
+180,
+181,
+182,
+183,
+184,
+185,
+186,
+187,
+188,
+189,
+190,
+191,
+192,
+193,
+194,
+195,
+196,
+197,
+198,
+199,
+200,
+201,
+202,
+203,
+204,
+205,
+206,
+207,
+208,
+209,
+210,
+211,
+212,
+213,
+214,
+215,
+216,
+217,
+218,
+219,
+220,
+221,
+222,
+223,
+224,
+225,
+226,
+227,
+228,
+229,
+230,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+238,
+239,
+240,
+241,
+242,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+252,
+253,
+254,
+255,
+0,
+1,
+2,
+3,
+4,
+5,
+6,
+7,
+8,
+9,
+10,
+11,
+12,
+13,
+14,
+15,
+16,
+17,
+18,
+19,
+20,
+21,
+22,
+23,
+24,
+25,
+26,
+27,
+28,
+29,
+30,
+31,
+32,
+33,
+34,
+35,
+36,
+37,
+38,
+39,
+40,
+41,
+42,
+43,
+44,
+45,
+46,
+47,
+48,
+49,
+50,
+51,
+52,
+53,
+54,
+55,
+56,
+57,
+58,
+59,
+60,
+61,
+62,
+63,
+64,
+65,
+66,
+67,
+68,
+69,
+70,
+71,
+72,
+73,
+74,
+75,
+76,
+77,
+78,
+79,
+80,
+81,
+82,
+83,
+84,
+85,
+86,
+87,
+88,
+89,
+90,
+91,
+92,
+93,
+94,
+95,
+96,
+97,
+98,
+99,
+100,
+101,
+102,
+103,
+104,
+105,
+106,
+107,
+108,
+109,
+110,
+111,
+112,
+113,
+114,
+115,
+116,
+117,
+118,
+119,
+120,
+121,
+122,
+123,
+124,
+125,
+126,
+127,
+128,
+129,
+130,
+131,
+132,
+133,
+134,
+135,
+136,
+137,
+138,
+139,
+140,
+141,
+142,
+143,
+144,
+145,
+146,
+147,
+148,
+149,
+150,
+151,
+152,
+153,
+154,
+155,
+156,
+157,
+158,
+159,
+160,
+161,
+162,
+163,
+164,
+165,
+166,
+167,
+168,
+169,
+170,
+171,
+172,
+173,
+174,
+175,
+176,
+177,
+178,
+179,
+180,
+181,
+182,
+183,
+184,
+185,
+186,
+187,
+188,
+189,
+190,
+191,
+192,
+193,
+194,
+195,
+196,
+197,
+198,
+199,
+200,
+201,
+202,
+203,
+204,
+205,
+206,
+207,
+208,
+209,
+210,
+211,
+212,
+213,
+214,
+215,
+216,
+217,
+218,
+219,
+220,
+221,
+222,
+223,
+224,
+225,
+226,
+227,
+228,
+229,
+230,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+238,
+239,
+240,
+241,
+242,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+252,
+253,
+254,
+255,
+0,
+1,
+3,
+5,
+7,
+9,
+11,
+13,
+15,
+17,
+19,
+21,
+23,
+25,
+27,
+29,
+31,
+33,
+35,
+37,
+39,
+41,
+43,
+45,
+47,
+49,
+51,
+53,
+55,
+57,
+59,
+61,
+63,
+65,
+67,
+69,
+71,
+73,
+75,
+77,
+79,
+81,
+83,
+85,
+87,
+89,
+91,
+93,
+95,
+97,
+99,
+101,
+103,
+105,
+107,
+109,
+111,
+113,
+115,
+117,
+119,
+121,
+123,
+125,
+127,
+129,
+131,
+133,
+135,
+137,
+139,
+141,
+143,
+145,
+147,
+149,
+151,
+153,
+155,
+157,
+159,
+161,
+163,
+165,
+167,
+169,
+171,
+173,
+175,
+177,
+179,
+181,
+183,
+185,
+187,
+189,
+191,
+193,
+195,
+197,
+199,
+201,
+203,
+205,
+207,
+209,
+211,
+213,
+215,
+217,
+219,
+221,
+223,
+225,
+227,
+229,
+231,
+233,
+235,
+237,
+239,
+241,
+243,
+245,
+247,
+249,
+251,
+253,
+255,
+251,
+247,
+243,
+238,
+234,
+230,
+226,
+221,
+217,
+213,
+209,
+204,
+200,
+196,
+192,
+187,
+183,
+179,
+175,
+170,
+166,
+162,
+158,
+153,
+149,
+145,
+141,
+136,
+132,
+128,
+124,
+119,
+115,
+111,
+107,
+102,
+98,
+94,
+90,
+85,
+81,
+77,
+73,
+68,
+64,
+60,
+56,
+51,
+47,
+43,
+39,
+34,
+30,
+26,
+22,
+17,
+13,
+9,
+5,
+0,
+3,
+7,
+11,
+15,
+19,
+22,
+26,
+30,
+34,
+38,
+41,
+45,
+49,
+53,
+57,
+60,
+64,
+68,
+72,
+76,
+79,
+83,
+87,
+91,
+95,
+98,
+102,
+106,
+110,
+114,
+117,
+121,
+125,
+129,
+133,
+137,
+140,
+144,
+148,
+152,
+156,
+159,
+163,
+167,
+171,
+175,
+178,
+182,
+186,
+190,
+194,
+197,
+201,
+205,
+209,
+213,
+216,
+220,
+224,
+228,
+232,
+235,
+239,
+243,
+247,
+251,
+255
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/VRBones.h b/Core/Code/DataManagement/lut/VRBones.h
new file mode 100644
index 0000000..d04513f
--- /dev/null
+++ b/Core/Code/DataManagement/lut/VRBones.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_vrBones_h_
+#define _lut_vrBones_h_
+
+static const int VRBones[256*3]={
+0,
+1,
+3,
+5,
+7,
+8,
+10,
+12,
+14,
+15,
+17,
+19,
+21,
+22,
+24,
+26,
+28,
+29,
+31,
+33,
+35,
+37,
+38,
+40,
+42,
+44,
+45,
+47,
+49,
+51,
+52,
+54,
+56,
+58,
+59,
+61,
+63,
+65,
+67,
+68,
+70,
+72,
+74,
+75,
+77,
+79,
+81,
+82,
+84,
+86,
+88,
+89,
+91,
+93,
+95,
+96,
+98,
+100,
+102,
+104,
+105,
+107,
+109,
+111,
+112,
+114,
+116,
+118,
+119,
+121,
+123,
+125,
+126,
+128,
+130,
+132,
+134,
+135,
+137,
+139,
+141,
+142,
+144,
+146,
+148,
+149,
+151,
+153,
+155,
+156,
+158,
+160,
+162,
+164,
+165,
+167,
+169,
+171,
+172,
+174,
+176,
+178,
+179,
+181,
+183,
+185,
+186,
+188,
+190,
+192,
+193,
+195,
+197,
+199,
+201,
+202,
+204,
+206,
+208,
+209,
+211,
+213,
+215,
+216,
+217,
+217,
+218,
+218,
+219,
+219,
+220,
+220,
+221,
+221,
+222,
+222,
+223,
+223,
+224,
+224,
+225,
+225,
+226,
+226,
+227,
+227,
+228,
+228,
+229,
+229,
+230,
+230,
+231,
+231,
+232,
+232,
+233,
+233,
+234,
+234,
+235,
+235,
+236,
+236,
+237,
+237,
+238,
+238,
+239,
+239,
+240,
+240,
+241,
+241,
+242,
+242,
+243,
+243,
+244,
+244,
+245,
+245,
+246,
+246,
+247,
+247,
+248,
+248,
+249,
+249,
+250,
+250,
+251,
+251,
+252,
+252,
+253,
+253,
+254,
+254,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+1,
+2,
+3,
+4,
+6,
+7,
+8,
+9,
+11,
+12,
+13,
+14,
+16,
+17,
+18,
+19,
+20,
+22,
+23,
+24,
+25,
+27,
+28,
+29,
+30,
+32,
+33,
+34,
+35,
+37,
+38,
+39,
+40,
+41,
+43,
+44,
+45,
+46,
+48,
+49,
+50,
+51,
+53,
+54,
+55,
+56,
+57,
+59,
+60,
+61,
+62,
+64,
+65,
+66,
+67,
+69,
+70,
+71,
+72,
+74,
+75,
+76,
+77,
+78,
+80,
+81,
+82,
+83,
+85,
+86,
+87,
+88,
+90,
+91,
+92,
+93,
+94,
+96,
+97,
+98,
+99,
+101,
+102,
+103,
+104,
+106,
+107,
+108,
+109,
+111,
+112,
+113,
+114,
+115,
+117,
+118,
+119,
+120,
+122,
+123,
+124,
+125,
+127,
+128,
+129,
+130,
+131,
+133,
+134,
+135,
+136,
+138,
+139,
+140,
+141,
+143,
+144,
+145,
+146,
+148,
+149,
+150,
+151,
+152,
+153,
+153,
+154,
+154,
+155,
+156,
+156,
+157,
+158,
+158,
+159,
+160,
+160,
+161,
+162,
+162,
+163,
+164,
+164,
+165,
+166,
+166,
+167,
+168,
+168,
+169,
+170,
+170,
+171,
+172,
+172,
+173,
+174,
+174,
+175,
+175,
+176,
+177,
+177,
+178,
+179,
+179,
+180,
+181,
+181,
+182,
+183,
+183,
+184,
+185,
+185,
+186,
+187,
+187,
+188,
+189,
+189,
+190,
+191,
+191,
+192,
+193,
+193,
+194,
+195,
+195,
+196,
+196,
+197,
+198,
+198,
+199,
+200,
+200,
+201,
+202,
+203,
+204,
+205,
+206,
+207,
+208,
+209,
+210,
+211,
+213,
+214,
+215,
+216,
+217,
+218,
+219,
+220,
+221,
+222,
+223,
+224,
+226,
+227,
+228,
+229,
+230,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+239,
+240,
+241,
+242,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+251,
+252,
+252,
+252,
+253,
+253,
+253,
+254,
+254,
+0,
+0,
+0,
+0,
+1,
+1,
+1,
+2,
+2,
+2,
+2,
+3,
+3,
+3,
+4,
+4,
+4,
+4,
+5,
+5,
+5,
+6,
+6,
+6,
+6,
+7,
+7,
+7,
+8,
+8,
+8,
+9,
+9,
+9,
+9,
+10,
+10,
+10,
+11,
+11,
+11,
+11,
+12,
+12,
+12,
+13,
+13,
+13,
+13,
+14,
+14,
+14,
+15,
+15,
+15,
+16,
+16,
+16,
+16,
+17,
+17,
+17,
+18,
+18,
+18,
+18,
+19,
+19,
+19,
+20,
+20,
+20,
+20,
+21,
+21,
+21,
+22,
+22,
+22,
+23,
+23,
+23,
+23,
+24,
+24,
+24,
+25,
+25,
+25,
+25,
+26,
+26,
+26,
+27,
+27,
+27,
+27,
+28,
+28,
+28,
+29,
+29,
+29,
+29,
+30,
+30,
+30,
+31,
+31,
+31,
+32,
+32,
+32,
+32,
+33,
+33,
+33,
+34,
+34,
+34,
+34,
+35,
+35,
+35,
+36,
+36,
+36,
+36,
+36,
+37,
+37,
+37,
+37,
+37,
+38,
+38,
+38,
+38,
+39,
+39,
+39,
+39,
+39,
+40,
+40,
+40,
+40,
+40,
+41,
+41,
+41,
+41,
+42,
+42,
+42,
+42,
+42,
+43,
+43,
+43,
+43,
+44,
+44,
+44,
+44,
+44,
+45,
+45,
+45,
+45,
+45,
+46,
+46,
+46,
+46,
+47,
+47,
+47,
+47,
+47,
+48,
+48,
+48,
+48,
+48,
+49,
+49,
+49,
+49,
+50,
+50,
+50,
+50,
+50,
+51,
+51,
+51,
+51,
+51,
+52,
+52,
+52,
+53,
+53,
+53,
+54,
+54,
+54,
+55,
+55,
+55,
+56,
+56,
+56,
+56,
+57,
+57,
+57,
+58,
+58,
+58,
+59,
+59,
+59,
+60,
+60,
+60,
+61,
+61,
+61,
+62,
+62,
+62,
+63,
+63,
+63,
+64,
+64,
+64,
+65,
+65,
+65,
+66,
+66,
+66,
+67,
+84,
+101,
+118,
+135,
+152,
+169,
+186,
+203,
+220,
+237
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/VRMusclesBones.h b/Core/Code/DataManagement/lut/VRMusclesBones.h
new file mode 100644
index 0000000..c69853e
--- /dev/null
+++ b/Core/Code/DataManagement/lut/VRMusclesBones.h
@@ -0,0 +1,795 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_vrMusclesBones_h_
+#define _lut_vrMusclesBones_h_
+
+static const int VRMusclesBones[256*3] = {
+
+ 0,
+ 2,
+ 5,
+ 8,
+ 10,
+ 13,
+ 16,
+ 18,
+ 21,
+ 24,
+ 26,
+ 29,
+ 32,
+ 34,
+ 37,
+ 40,
+ 42,
+ 45,
+ 48,
+ 51,
+ 53,
+ 56,
+ 59,
+ 61,
+ 64,
+ 67,
+ 69,
+ 72,
+ 75,
+ 77,
+ 80,
+ 83,
+ 85,
+ 88,
+ 91,
+ 93,
+ 96,
+ 99,
+ 102,
+ 104,
+ 107,
+ 110,
+ 112,
+ 115,
+ 118,
+ 120,
+ 123,
+ 126,
+ 128,
+ 131,
+ 134,
+ 136,
+ 139,
+ 142,
+ 144,
+ 147,
+ 150,
+ 153,
+ 155,
+ 158,
+ 161,
+ 163,
+ 166,
+ 169,
+ 171,
+ 174,
+ 177,
+ 179,
+ 182,
+ 185,
+ 187,
+ 190,
+ 193,
+ 195,
+ 198,
+ 201,
+ 204,
+ 206,
+ 209,
+ 212,
+ 214,
+ 217,
+ 220,
+ 222,
+ 225,
+ 228,
+ 230,
+ 233,
+ 236,
+ 238,
+ 241,
+ 244,
+ 246,
+ 249,
+ 252,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+ 255,
+
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2,
+ 2,
+ 2,
+ 2,
+ 3,
+ 3,
+ 3,
+ 3,
+ 3,
+ 4,
+ 4,
+ 4,
+ 4,
+ 5,
+ 5,
+ 5,
+ 5,
+ 6,
+ 6,
+ 6,
+ 6,
+ 6,
+ 7,
+ 7,
+ 7,
+ 7,
+ 8,
+ 8,
+ 8,
+ 8,
+ 9,
+ 9,
+ 9,
+ 9,
+ 9,
+ 10,
+ 10,
+ 10,
+ 10,
+ 11,
+ 11,
+ 11,
+ 11,
+ 12,
+ 12,
+ 12,
+ 12,
+ 12,
+ 13,
+ 13,
+ 13,
+ 13,
+ 14,
+ 14,
+ 14,
+ 14,
+ 15,
+ 15,
+ 15,
+ 15,
+ 15,
+ 16,
+ 16,
+ 16,
+ 16,
+ 17,
+ 17,
+ 17,
+ 17,
+ 18,
+ 18,
+ 18,
+ 18,
+ 18,
+ 19,
+ 19,
+ 19,
+ 19,
+ 20,
+ 20,
+ 20,
+ 20,
+ 21,
+ 21,
+ 21,
+ 21,
+ 21,
+ 24,
+ 27,
+ 30,
+ 33,
+ 36,
+ 39,
+ 42,
+ 45,
+ 48,
+ 51,
+ 54,
+ 57,
+ 60,
+ 63,
+ 66,
+ 69,
+ 72,
+ 75,
+ 78,
+ 81,
+ 84,
+ 87,
+ 90,
+ 93,
+ 96,
+ 99,
+ 102,
+ 105,
+ 108,
+ 111,
+ 114,
+ 117,
+ 120,
+ 123,
+ 126,
+ 129,
+ 131,
+ 134,
+ 137,
+ 140,
+ 143,
+ 146,
+ 149,
+ 152,
+ 155,
+ 158,
+ 161,
+ 164,
+ 167,
+ 170,
+ 173,
+ 176,
+ 177,
+ 179,
+ 180,
+ 181,
+ 182,
+ 183,
+ 185,
+ 186,
+ 187,
+ 188,
+ 189,
+ 191,
+ 192,
+ 193,
+ 194,
+ 195,
+ 197,
+ 198,
+ 199,
+ 200,
+ 201,
+ 203,
+ 204,
+ 205,
+ 206,
+ 207,
+ 209,
+ 210,
+ 211,
+ 212,
+ 213,
+ 215,
+ 216,
+ 217,
+ 218,
+ 220,
+ 221,
+ 222,
+ 223,
+ 224,
+ 226,
+ 227,
+ 228,
+ 229,
+ 230,
+ 232,
+ 233,
+ 234,
+ 235,
+ 236,
+ 238,
+ 239,
+ 240,
+ 241,
+ 241,
+ 242,
+ 242,
+ 242,
+ 242,
+ 243,
+ 243,
+ 243,
+ 243,
+ 244,
+ 244,
+ 244,
+ 244,
+ 245,
+ 245,
+ 245,
+ 245,
+ 246,
+ 246,
+ 246,
+ 246,
+ 247,
+ 247,
+ 247,
+ 247,
+ 248,
+ 248,
+ 248,
+ 248,
+ 248,
+ 249,
+ 249,
+ 249,
+ 249,
+ 250,
+ 250,
+ 250,
+ 250,
+ 251,
+ 251,
+ 251,
+ 251,
+ 252,
+ 252,
+ 252,
+ 252,
+ 253,
+ 253,
+ 253,
+ 253,
+ 254,
+ 254,
+ 254,
+ 254,
+
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 1,
+ 2,
+ 2,
+ 2,
+ 2,
+ 3,
+ 3,
+ 3,
+ 4,
+ 4,
+ 4,
+ 5,
+ 5,
+ 5,
+ 5,
+ 6,
+ 6,
+ 6,
+ 7,
+ 7,
+ 7,
+ 7,
+ 8,
+ 8,
+ 8,
+ 9,
+ 9,
+ 9,
+ 10,
+ 10,
+ 10,
+ 10,
+ 11,
+ 11,
+ 11,
+ 12,
+ 12,
+ 12,
+ 12,
+ 13,
+ 13,
+ 13,
+ 14,
+ 14,
+ 14,
+ 15,
+ 15,
+ 15,
+ 15,
+ 16,
+ 16,
+ 16,
+ 17,
+ 17,
+ 17,
+ 17,
+ 18,
+ 18,
+ 18,
+ 19,
+ 19,
+ 19,
+ 20,
+ 20,
+ 20,
+ 20,
+ 21,
+ 21,
+ 21,
+ 22,
+ 22,
+ 22,
+ 22,
+ 23,
+ 23,
+ 23,
+ 24,
+ 24,
+ 24,
+ 25,
+ 25,
+ 25,
+ 25,
+ 26,
+ 26,
+ 26,
+ 27,
+ 27,
+ 27,
+ 27,
+ 27,
+ 27,
+ 26,
+ 26,
+ 26,
+ 25,
+ 25,
+ 25,
+ 24,
+ 24,
+ 24,
+ 23,
+ 23,
+ 22,
+ 22,
+ 22,
+ 21,
+ 21,
+ 21,
+ 20,
+ 20,
+ 20,
+ 19,
+ 19,
+ 19,
+ 18,
+ 18,
+ 18,
+ 17,
+ 17,
+ 16,
+ 16,
+ 16,
+ 15,
+ 15,
+ 15,
+ 14,
+ 14,
+ 14,
+ 13,
+ 13,
+ 13,
+ 12,
+ 12,
+ 11,
+ 11,
+ 11,
+ 10,
+ 10,
+ 10,
+ 9,
+ 9,
+ 10,
+ 10,
+ 11,
+ 11,
+ 12,
+ 12,
+ 13,
+ 13,
+ 14,
+ 15,
+ 15,
+ 16,
+ 16,
+ 17,
+ 17,
+ 18,
+ 18,
+ 19,
+ 19,
+ 20,
+ 21,
+ 21,
+ 22,
+ 22,
+ 23,
+ 23,
+ 24,
+ 24,
+ 25,
+ 26,
+ 26,
+ 27,
+ 27,
+ 28,
+ 28,
+ 29,
+ 29,
+ 30,
+ 31,
+ 31,
+ 32,
+ 32,
+ 33,
+ 33,
+ 34,
+ 34,
+ 35,
+ 36,
+ 36,
+ 37,
+ 37,
+ 38,
+ 38,
+ 39,
+ 43,
+ 47,
+ 51,
+ 55,
+ 58,
+ 62,
+ 66,
+ 70,
+ 74,
+ 78,
+ 82,
+ 86,
+ 90,
+ 94,
+ 98,
+ 102,
+ 105,
+ 109,
+ 113,
+ 117,
+ 121,
+ 125,
+ 129,
+ 133,
+ 137,
+ 141,
+ 145,
+ 149,
+ 153,
+ 156,
+ 160,
+ 164,
+ 168,
+ 172,
+ 176,
+ 180,
+ 184,
+ 188,
+ 192,
+ 196,
+ 200,
+ 204,
+ 207,
+ 211,
+ 215,
+ 219,
+ 223,
+ 227,
+ 231,
+ 235,
+ 239,
+ 243,
+ 247,
+ 251
+};
+
+#endif
diff --git a/Core/Code/DataManagement/lut/VRRedVessels.h b/Core/Code/DataManagement/lut/VRRedVessels.h
new file mode 100644
index 0000000..147d6cd
--- /dev/null
+++ b/Core/Code/DataManagement/lut/VRRedVessels.h
@@ -0,0 +1,792 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: HotMetal.h 477 2007-11-20 17:46:10Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2007-11-20 18:46:10 +0100 (mar, 20 nov 2007) $
+Version: $Revision: 477 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef _lut_vrRedVessels_h_
+#define _lut_vrRedVessels_h_
+
+static const int VRRedVessels[256*3]={
+0,
+1,
+2,
+3,
+5,
+6,
+7,
+9,
+10,
+11,
+12,
+14,
+15,
+16,
+18,
+19,
+20,
+21,
+23,
+24,
+25,
+27,
+28,
+29,
+30,
+32,
+33,
+34,
+36,
+37,
+38,
+39,
+41,
+42,
+43,
+45,
+46,
+47,
+49,
+50,
+51,
+52,
+54,
+55,
+56,
+58,
+59,
+60,
+61,
+63,
+64,
+65,
+67,
+68,
+69,
+70,
+72,
+73,
+74,
+76,
+77,
+78,
+79,
+81,
+82,
+83,
+85,
+86,
+87,
+88,
+90,
+91,
+92,
+94,
+95,
+96,
+98,
+99,
+100,
+101,
+103,
+104,
+105,
+107,
+108,
+109,
+110,
+112,
+113,
+114,
+116,
+117,
+118,
+119,
+121,
+122,
+123,
+125,
+126,
+127,
+128,
+130,
+131,
+132,
+134,
+135,
+136,
+137,
+139,
+140,
+141,
+143,
+144,
+145,
+147,
+148,
+149,
+150,
+152,
+153,
+154,
+156,
+157,
+158,
+159,
+161,
+162,
+163,
+165,
+166,
+167,
+168,
+170,
+171,
+172,
+174,
+175,
+176,
+177,
+179,
+180,
+181,
+183,
+184,
+185,
+186,
+188,
+189,
+190,
+192,
+193,
+194,
+196,
+197,
+198,
+199,
+200,
+201,
+202,
+203,
+204,
+206,
+207,
+208,
+209,
+210,
+211,
+212,
+213,
+214,
+215,
+216,
+217,
+219,
+220,
+221,
+222,
+223,
+224,
+225,
+226,
+227,
+228,
+229,
+231,
+232,
+233,
+234,
+235,
+236,
+237,
+238,
+239,
+240,
+241,
+243,
+244,
+245,
+246,
+247,
+248,
+249,
+250,
+251,
+252,
+253,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+255,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+1,
+3,
+5,
+6,
+8,
+10,
+11,
+13,
+15,
+16,
+18,
+20,
+21,
+23,
+25,
+26,
+28,
+30,
+32,
+33,
+35,
+37,
+38,
+40,
+42,
+43,
+45,
+47,
+48,
+50,
+52,
+53,
+55,
+57,
+59,
+60,
+62,
+64,
+65,
+67,
+69,
+70,
+72,
+74,
+75,
+77,
+79,
+80,
+82,
+84,
+86,
+87,
+89,
+91,
+93,
+95,
+97,
+99,
+101,
+103,
+105,
+107,
+109,
+111,
+113,
+115,
+117,
+119,
+121,
+124,
+126,
+128,
+130,
+132,
+134,
+136,
+138,
+140,
+142,
+144,
+146,
+148,
+150,
+152,
+154,
+156,
+158,
+164,
+170,
+176,
+182,
+188,
+194,
+200,
+206,
+212,
+218,
+224,
+230,
+236,
+242,
+248,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+0,
+1,
+2,
+3,
+4,
+5,
+6,
+7,
+8,
+9,
+10,
+11,
+12,
+13,
+14,
+15,
+16,
+17,
+18,
+19,
+20,
+21,
+22,
+23,
+24,
+25,
+26,
+27,
+28,
+29,
+30,
+31,
+32,
+33,
+34,
+35,
+36,
+37,
+38,
+39,
+40,
+41,
+42,
+43,
+44,
+45,
+46,
+47,
+48,
+49,
+50,
+51,
+52,
+53,
+55,
+57,
+59,
+61,
+64,
+66,
+68,
+70,
+72,
+75,
+77,
+79,
+81,
+84,
+86,
+88,
+90,
+92,
+95,
+97,
+99,
+101,
+103,
+106,
+108,
+110,
+112,
+114,
+117,
+119,
+121,
+123,
+126,
+128,
+136,
+144,
+152,
+159,
+167,
+175,
+183,
+191,
+199,
+207,
+215,
+223,
+231,
+239,
+247
+};
+
+#endif
diff --git a/Core/Code/DataManagement/vtkLookupTableProvider.cpp b/Core/Code/DataManagement/vtkLookupTableProvider.cpp
new file mode 100644
index 0000000..e1ff677
--- /dev/null
+++ b/Core/Code/DataManagement/vtkLookupTableProvider.cpp
@@ -0,0 +1,551 @@
+/*=========================================================================
+
+Program: vtkINRIA3D
+Module: $Id: VtkLookupTableProvider.cxx 1378 2009-12-23 18:46:54Z filus $
+Language: C++
+Author: $Author: filus $
+Date: $Date: 2009-12-23 19:46:54 +0100 (Wed, 23 Dec 2009) $
+Version: $Revision: 1378 $
+
+Copyright (c) 2007 INRIA - Asclepios Project. All rights reserved.
+See Copyright.txt for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#include "vtkLookupTableProvider.h"
+#include <vtkObjectFactory.h>
+
+
+#include "lut/Spectrum.h"
+#include "lut/HotMetal.h"
+#include "lut/GEColor.h"
+#include "lut/Flow.h"
+#include "lut/LONI.h"
+#include "lut/LONI2.h"
+#include "lut/Asymmetry.h"
+#include "lut/VRMusclesBones.h"
+#include "lut/Cardiac.h"
+#include "lut/GrayRainbow.h"
+#include "lut/HotGreen.h"
+#include "lut/HotIron.h"
+#include "lut/Stern.h"
+#include "lut/VRBones.h"
+#include "lut/VRRedVessels.h"
+#include "lut/BlackBody.h"
+
+#include <time.h> //for generating random entries in roi LUT
+
+VtkLookupTableProvider::VtkLookupTableProvider()
+{}
+
+
+VtkLookupTableProvider::~VtkLookupTableProvider()
+{}
+
+std::vector<VtkLookupTableProvider::LookupTableId> VtkLookupTableProvider::GetAvailableLookupTables()
+{
+ std::vector<LookupTableId> lutIds;
+
+ lutIds.push_back(LUT_BW);
+ lutIds.push_back(LUT_BWINV);
+ lutIds.push_back(LUT_SPECTTUM);
+ lutIds.push_back(LUT_HOTMETAL);
+ lutIds.push_back(LUT_HOTGREEN);
+ lutIds.push_back(LUT_HOTIRON);
+ lutIds.push_back(LUT_GECOLORS);
+ lutIds.push_back(LUT_FLOW);
+ lutIds.push_back(LUT_LONI);
+ lutIds.push_back(LUT_LONI2);
+ lutIds.push_back(LUT_ASYMETRY);
+ lutIds.push_back(LUT_PVALUE);
+ lutIds.push_back(LUT_ROI);
+ lutIds.push_back(LUT_VRMUSCLESBONES);
+ lutIds.push_back(LUT_VRBONES);
+ lutIds.push_back(LUT_VRREDVESSELS);
+ lutIds.push_back(LUT_BLACKBODY);
+ lutIds.push_back(LUT_CARDIAC);
+ lutIds.push_back(LUT_GRAYRAINBOW);
+ lutIds.push_back(LUT_STERN);
+ lutIds.push_back(LUT_REDBLACKALPHA);
+ lutIds.push_back(LUT_GREENBLACKALPHA);
+ lutIds.push_back(LUT_BLUEBLACKALPHA);
+
+ return lutIds;
+}
+
+
+vtkLookupTable* VtkLookupTableProvider::GetLookupTable(VtkLookupTableProvider::LookupTableId lutId)
+{
+ switch (lutId)
+ {
+ case LUT_BW:
+ return VtkLookupTableProvider::GetBWLookupTable();
+ case LUT_BWINV:
+ return VtkLookupTableProvider::GetBWInverseLookupTable();
+ case LUT_SPECTTUM:
+ return VtkLookupTableProvider::GetSpectrumLookupTable();
+ case LUT_HOTMETAL:
+ return VtkLookupTableProvider::GetHotMetalLookupTable();
+ case LUT_HOTGREEN:
+ return VtkLookupTableProvider::GetHotGreenLookupTable();
+ case LUT_HOTIRON:
+ return VtkLookupTableProvider::GetHotIronLookupTable();
+ case LUT_GECOLORS:
+ return VtkLookupTableProvider::GetGEColorLookupTable();
+ case LUT_FLOW:
+ return VtkLookupTableProvider::GetFlowLookupTable();
+ case LUT_LONI:
+ return VtkLookupTableProvider::GetLONILookupTable();
+ case LUT_LONI2:
+ return VtkLookupTableProvider::GetLONI2LookupTable();
+ case LUT_ASYMETRY:
+ return VtkLookupTableProvider::GetAsymmetryLookupTable();
+ case LUT_PVALUE:
+ return VtkLookupTableProvider::GetPValueLookupTable();
+ case LUT_ROI:
+ return VtkLookupTableProvider::GetROILookupTable();
+ case LUT_VRMUSCLESBONES:
+ return VtkLookupTableProvider::GetVRMusclesBonesLookupTable();
+ case LUT_VRBONES:
+ return VtkLookupTableProvider::GetVRBonesLookupTable();
+ case LUT_VRREDVESSELS:
+ return VtkLookupTableProvider::GetVRRedVesselsLookupTable();
+ case LUT_BLACKBODY:
+ return VtkLookupTableProvider::GetBlackBodyLookupTable();
+ case LUT_CARDIAC:
+ return VtkLookupTableProvider::GetCardiacLookupTable();
+ case LUT_GRAYRAINBOW:
+ return VtkLookupTableProvider::GetGrayRainbowLookupTable();
+ case LUT_STERN:
+ return VtkLookupTableProvider::GetSternLookupTable();
+ case LUT_REDBLACKALPHA:
+ return VtkLookupTableProvider::GetRedBlackAlphaLookupTable();
+ case LUT_GREENBLACKALPHA:
+ return VtkLookupTableProvider::GetGreenBlackAlphaLookupTable();
+ case LUT_BLUEBLACKALPHA:
+ return VtkLookupTableProvider::GetBlueBlackAlphaLookupTable();
+ default:
+ return VtkLookupTableProvider::GetBWLookupTable();
+ }
+}
+
+std::string VtkLookupTableProvider::GetLookupTableName(VtkLookupTableProvider::LookupTableId lutId)
+{
+ switch (lutId)
+ {
+ case LUT_BW:
+ return "Black & White";
+ case LUT_BWINV:
+ return "Black & White Inversed";
+ case LUT_SPECTTUM:
+ return "Spectrum";
+ case LUT_HOTMETAL:
+ return "Hot Metal";
+ case LUT_HOTGREEN:
+ return "Hot Green";
+ case LUT_HOTIRON:
+ return "Hot Iron";
+ case LUT_GECOLORS:
+ return "GE";
+ case LUT_FLOW:
+ return "Flow";
+ case LUT_LONI:
+ return "Loni";
+ case LUT_LONI2:
+ return "Loni 2";
+ case LUT_ASYMETRY:
+ return "Asymmetry";
+ case LUT_PVALUE:
+ return "P-Value";
+ case LUT_ROI:
+ return "ROI";
+ case LUT_VRMUSCLESBONES:
+ return "Muscles & Bones";
+ case LUT_VRBONES:
+ return "Bones";
+ case LUT_VRREDVESSELS:
+ return "Red Vessels";
+ case LUT_BLACKBODY:
+ return "Black Body";
+ case LUT_CARDIAC:
+ return "Cardiac";
+ case LUT_GRAYRAINBOW:
+ return "Gray Rainbow";
+ case LUT_STERN:
+ return "Stern";
+ case LUT_REDBLACKALPHA:
+ return "Red Black Alpha";
+ case LUT_GREENBLACKALPHA:
+ return "Green Black Alpha";
+ case LUT_BLUEBLACKALPHA:
+ return "Blue Black Alpha";
+ default:
+ return "Default";
+ }
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetBWLookupTable()
+{
+ vtkLookupTable* bwLut = vtkLookupTable::New();
+ bwLut->SetTableRange (0, 1);
+ bwLut->SetSaturationRange (0, 0);
+ bwLut->SetHueRange (0, 0);
+ bwLut->SetValueRange (0, 1);
+ bwLut->SetAlphaRange (0, 1);
+ bwLut->Build();
+
+ return bwLut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetBWInverseLookupTable()
+{
+ vtkLookupTable* bwLut = vtkLookupTable::New();
+ bwLut->SetTableRange (0, 1);
+ bwLut->SetSaturationRange (0, 0);
+ bwLut->SetHueRange (0, 0);
+ bwLut->SetValueRange (1, 0);
+ bwLut->SetAlphaRange (1, 0);
+ bwLut->Build();
+
+ return bwLut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetSpectrumLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)Spectrum[i]/255.0, (double)Spectrum[256+i]/255.0, (double)Spectrum[256*2+i]/255.0, (double)(i)/255.0 );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetHotMetalLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)HotMetal[i]/255.0, (double)HotMetal[256+i]/255.0, (double)HotMetal[256*2+i]/255.0, (double)i/255.0 );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetGEColorLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)GEColor[i]/255.0, (double)GEColor[256+i]/255.0, (double)GEColor[256*2+i]/255.0, (double)i/255.0 );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetFlowLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)Flow[i]/255.0, (double)Flow[256+i]/255.0, (double)Flow[256*2+i]/255.0, (double)i/255.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetLONILookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(203);
+ lut->Build();
+
+ for( int i=0; i<203; i++)
+ {
+ lut->SetTableValue(i, (double)LONI[i][0], (double)LONI[i][1], (double)LONI[i][2], (double)i/202.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetLONI2LookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(120);
+ lut->Build();
+
+ for( int i=0; i<120; i++)
+ {
+ lut->SetTableValue(i, (double)LONI2[i][0], (double)LONI2[i][1], (double)LONI2[i][2], (double)i/119.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetAsymmetryLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)AsymmetryLUT[i][0], (double)AsymmetryLUT[i][1], (double)AsymmetryLUT[i][2], (double)i/255.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetPValueLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetTableRange (0, 1);
+ lut->SetSaturationRange (1.0, 1.5);
+ lut->SetHueRange (0.666, 0.8333);
+ //lut->SetHueRange (0.666, 0.0);
+ lut->SetValueRange (0.5, 1.0);
+ lut->SetAlphaRange (0, 1);
+ lut->Build();
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetRedBlackAlphaLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ lut->SetTableValue(0,0,0,0,0);
+
+ for( int i=1; i<256; i++)
+ {
+ lut->SetTableValue(i, i/255.0, 0.0, 0.0, (i/255.0*68.0 + 187)/255.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetGreenBlackAlphaLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ lut->SetTableValue(0,0,0,0,0);
+
+ for( int i=1; i<256; i++)
+ {
+ lut->SetTableValue(i, 0.0, i/255.0, 0.0, (i/255.0*68.0 + 187)/255.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetBlueBlackAlphaLookupTable(void)
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ lut->SetTableValue(0,0,0,0,0);
+
+ for( int i=1; i<256; i++)
+ {
+ lut->SetTableValue(i, 0.0, 0.0, i/255.0, (i/255.0*68.0 + 187)/255.0);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetVRMusclesBonesLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)VRMusclesBones[i]/255.0, (double)VRMusclesBones[256+i]/255.0, (double)VRMusclesBones[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetROILookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues (256);
+ lut->SetTableValue (0, 0.0, 0.0, 0.0, 0.0); // erase color
+
+ lut->SetTableValue (1, 1.0, 0.0, 0.0, 0.5);
+ lut->SetTableValue (2, 0.0, 1.0, 0.0, 0.5);
+ lut->SetTableValue (3, 0.0, 0.0, 1.0, 0.5);
+ lut->SetTableValue (4, 1.0, 1.0, 0.0, 0.5);
+ lut->SetTableValue (5, 0.0, 1.0, 1.0, 0.5);
+ lut->SetTableValue (6, 1.0, 0.0, 1.0, 0.5);
+
+ lut->SetTableValue (7, 1.0, 0.5, 0.0, 0.5);
+ lut->SetTableValue (8, 0.0, 1.0, 0.5, 0.5);
+ lut->SetTableValue (9, 0.5, 0.0, 1.0, 0.5);
+ lut->SetTableValue (10, 1.0, 1.0, 0.5, 0.5);
+ lut->SetTableValue (11, 0.5, 1.0, 1.0, 0.5);
+ lut->SetTableValue (12, 1.0, 0.5, 1.0, 0.5);
+
+ for (int i = 12; i < 256; i++)
+ {
+ if (i%12 == 0)
+ lut->SetTableValue (i, 1.0, 0.0, 0.0, 0.5);
+ else if (i%12 == 1)
+ lut->SetTableValue (i, 0.0, 1.0, 0.0, 0.5);
+ else if (i%12 == 2)
+ lut->SetTableValue (i, 0.0, 0.0, 1.0, 0.5);
+ else if (i%12 == 3)
+ lut->SetTableValue (i, 1.0, 1.0, 0.0, 0.5);
+ else if (i%12 == 4)
+ lut->SetTableValue (i, 0.0, 1.0, 1.0, 0.5);
+ else if (i%12 == 5)
+ lut->SetTableValue (i, 1.0, 0.0, 1.0, 0.5);
+ else if (i%12 == 6)
+ lut->SetTableValue (i, 1.0, 0.5, 0.0, 0.5);
+ else if (i%12 == 7)
+ lut->SetTableValue (i, 0.0, 1.0, 0.5, 0.5);
+ else if (i%12 == 8)
+ lut->SetTableValue (i, 0.5, 0.0, 1.0, 0.5);
+ else if (i%12 == 9)
+ lut->SetTableValue (i, 1.0, 1.0, 0.5, 0.5);
+ else if (i%12 == 10)
+ lut->SetTableValue (i, 0.5, 1.0, 1.0, 0.5);
+ else if (i%12 == 11)
+ lut->SetTableValue (i, 1.0, 0.5, 1.0, 0.5);
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetCardiacLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)Cardiac[i]/255.0, (double)Cardiac[256+i]/255.0, (double)Cardiac[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetGrayRainbowLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)GrayRainbow[i]/255.0, (double)GrayRainbow[256+i]/255.0, (double)GrayRainbow[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetHotGreenLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)HotGreen[i]/255.0, (double)HotGreen[256+i]/255.0, (double)HotGreen[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetHotIronLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)HotIron[i]/255.0, (double)HotIron[256+i]/255.0, (double)HotIron[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetSternLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)Stern[i]/255.0, (double)Stern[256+i]/255.0, (double)Stern[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetVRBonesLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)VRBones[i]/255.0, (double)VRBones[256+i]/255.0, (double)VRBones[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetVRRedVesselsLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)VRRedVessels[i]/255.0, (double)VRRedVessels[256+i]/255.0, (double)VRRedVessels[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
+
+vtkLookupTable* VtkLookupTableProvider::GetBlackBodyLookupTable()
+{
+ vtkLookupTable* lut = vtkLookupTable::New();
+ lut->SetNumberOfTableValues(256);
+ lut->Build();
+
+ for( int i=0; i<256; i++)
+ {
+ lut->SetTableValue(i, (double)BlackBody[i]/255.0, (double)BlackBody[256+i]/255.0, (double)BlackBody[256*2+i]/255.0, /*(double)(i)/255.0*/ log (1.0+(double)(i)/255.0*9.0)/log (10.0) );
+ }
+
+ return lut;
+}
diff --git a/Core/Code/DataManagement/vtkLookupTableProvider.h b/Core/Code/DataManagement/vtkLookupTableProvider.h
new file mode 100644
index 0000000..3c34d44
--- /dev/null
+++ b/Core/Code/DataManagement/vtkLookupTableProvider.h
@@ -0,0 +1,146 @@
+/*=========================================================================
+
+Program: Medical Imaging & Interaction Toolkit
+Language: C++
+Date: $Date$
+Version: $Revision$
+
+Copyright (c) German Cancer Research Center, Division of Medical and
+Biological Informatics. All rights reserved.
+See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+
+#ifndef mitkVtkLookupTableProvider_H
+#define mitkVtkLookupTableProvider_H
+
+#include <vector>
+#include "mitkCommon.h"
+
+#include <vtkLookupTable.h>
+
+/**Documentation
+ \class mitk::VtkLookupTableProvider mitkVtkLookupTableProvider.h
+
+ \brief Provides different vtkLookupTable objects for colorize images (e.g. PET data).
+
+ Code was taken from the Inria3D project (vtkLookupTableManager) and adapted to the mitk style guidelines.
+ This project is also under GPL.
+
+ All methods in this class are static. There is no need to instantiate this class. The retrieved vtkLookupTable
+ object already has a builded (call of ->Build()) LUT.
+
+ When adding a new LUT ensure you adapt the enum LookupTableId and the methods:
+ - GetAvailableLookupTables()
+ - GetLookupTable(LookupTableId)
+ - GetLookupTableName(LookupTableId)
+
+*/
+
+
+class MITK_CORE_EXPORT VtkLookupTableProvider
+{
+
+public:
+
+ enum LookupTableId
+ {
+ LUT_BW = 0,
+ LUT_BWINV,
+ LUT_SPECTTUM,
+ LUT_HOTMETAL,
+ LUT_HOTGREEN,
+ LUT_HOTIRON,
+ LUT_GECOLORS,
+ LUT_FLOW,
+ LUT_LONI,
+ LUT_LONI2,
+ LUT_ASYMETRY,
+ LUT_PVALUE,
+ LUT_ROI,
+ LUT_VRMUSCLESBONES,
+ LUT_VRBONES,
+ LUT_VRREDVESSELS,
+ LUT_BLACKBODY,
+ LUT_CARDIAC,
+ LUT_GRAYRAINBOW,
+ LUT_STERN,
+ LUT_REDBLACKALPHA,
+ LUT_GREENBLACKALPHA,
+ LUT_BLUEBLACKALPHA
+ };
+
+ /**
+ * \brief Returns a list of all available LUTs as id (enum) of the LUT
+ **/
+ static std::vector<LookupTableId> GetAvailableLookupTables();
+
+ /**
+ * \brief Returns a vtkLookupTable for a given id
+ **/
+ static vtkLookupTable* GetLookupTable(LookupTableId lutId);
+
+ /**
+ * \brief Returns the name of a LUT by its id
+ **/
+ static std::string GetLookupTableName(LookupTableId lutId);
+
+
+protected:
+ static vtkLookupTable* GetBWLookupTable();
+
+ static vtkLookupTable* GetBWInverseLookupTable();
+
+ static vtkLookupTable* GetSpectrumLookupTable();
+
+ static vtkLookupTable* GetHotMetalLookupTable();
+
+ static vtkLookupTable* GetGEColorLookupTable();
+
+ static vtkLookupTable* GetFlowLookupTable();
+
+ static vtkLookupTable* GetLONILookupTable();
+
+ static vtkLookupTable* GetLONI2LookupTable();
+
+ static vtkLookupTable* GetAsymmetryLookupTable();
+
+ static vtkLookupTable* GetPValueLookupTable();
+
+ static vtkLookupTable* GetRedBlackAlphaLookupTable();
+
+ static vtkLookupTable* GetGreenBlackAlphaLookupTable();
+
+ static vtkLookupTable* GetBlueBlackAlphaLookupTable();
+
+ static vtkLookupTable* GetROILookupTable();
+
+ static vtkLookupTable* GetVRMusclesBonesLookupTable();
+
+ static vtkLookupTable* GetCardiacLookupTable();
+
+ static vtkLookupTable* GetGrayRainbowLookupTable();
+
+ static vtkLookupTable* GetHotGreenLookupTable();
+
+ static vtkLookupTable* GetHotIronLookupTable();
+
+ static vtkLookupTable* GetSternLookupTable();
+
+ static vtkLookupTable* GetVRBonesLookupTable();
+
+ static vtkLookupTable* GetVRRedVesselsLookupTable();
+
+ static vtkLookupTable* GetBlackBodyLookupTable();
+
+ //hide c'tor and d'tor
+ VtkLookupTableProvider();
+ ~VtkLookupTableProvider();
+};
+
+
+#endif
diff --git a/Core/Code/Testing/mitkLookupTableTest.cpp b/Core/Code/Testing/mitkLookupTableTest.cpp
index 966ed23..d8e29cf 100644
--- a/Core/Code/Testing/mitkLookupTableTest.cpp
+++ b/Core/Code/Testing/mitkLookupTableTest.cpp
@@ -21,6 +21,7 @@ PURPOSE. See the above copyright notices for more information.
#include <iostream>
+#include "vtkLookupTableProvider.h"
/**
* Simple example for a test for the (non-existent) class "ClassName".
*
@@ -37,6 +38,18 @@ int mitkLookupTableTest(int /* argc */, char* /*argv*/[])
// let's create an object of our class
mitk::LookupTable::Pointer myLookupTable = mitk::LookupTable::New();
+ //check all provided lookupTables
+ for(int index = 0; index < VtkLookupTableProvider::GetAvailableLookupTables().size(); index++)
+ {
+ vtkLookupTable* vtkLUT = VtkLookupTableProvider::GetLookupTable(index);
+ std::string vtkLUTName = VtkLookupTableProvider::GetLookupTableName(index);
+ MITK_TEST_CONDITION_REQUIRED(vtkLUT != NULL, "Test if LUT provider gives us a vtkLoopupTable for index: " << index);
+ MITK_TEST_CONDITION_REQUIRED( !vtkLUTName.empty() ,"Test if LUT provider gives us a LUT name for index: " << index);
+
+ myLookupTable->SetVtkLookupTable(VtkLookupTableProvider::GetLookupTable(index));
+
+ MITK_TEST_CONDITION_REQUIRED(vtkLUT == myLookupTable->GetVtkLookupTable(), "Test is the same as set to mitk::LookupTable for index: " << index);
+ }
// create a vtkLookupTable and add two values
vtkLookupTable *lut = vtkLookupTable::New();
@@ -46,9 +59,6 @@ int mitkLookupTableTest(int /* argc */, char* /*argv*/[])
myLookupTable->SetVtkLookupTable(lut);
-
-
-
// check if the same lookuptable is returned
vtkLookupTable *lut2 = myLookupTable->GetVtkLookupTable();
@@ -60,8 +70,6 @@ int mitkLookupTableTest(int /* argc */, char* /*argv*/[])
myLookupTable->ChangeOpacity(0, 1.0);
-
-
// first test: did this work?
// using MITK_TEST_CONDITION_REQUIRED makes the test stop after failure, since
// it makes no sense to continue without an object.
diff --git a/Core/Code/files.cmake b/Core/Code/files.cmake
index a0c3235..eefa81c 100644
--- a/Core/Code/files.cmake
+++ b/Core/Code/files.cmake
@@ -177,6 +177,7 @@ SET(CPP_FILES
DataManagement/mitkShaderProperty.cpp
DataManagement/mitkResliceMethodProperty.cpp
DataManagement/mitkMaterial.cpp
+ DataManagement/vtkLookupTableProvider.cpp
Interactions/mitkAction.cpp
Interactions/mitkAffineInteractor.cpp
Interactions/mitkCoordinateSupplier.cpp
File Metadata
Details
Attached
Mime Type
application/octet-stream
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
723
Default Alt Text
LUT.patch (115 KB)
Attached To
Mode
T10138: Provide different lookup tables (LUT) for use in MITK rendering
Attached
Detach File
Event Timeline
kast
added a comment.
Nov 15 2011, 5:20 PM
2011-11-15 17:20:30 (UTC+1)
Comment Actions
Implementation of LUT Provider including Test
Log In to Comment