This file is indexed.

/usr/include/paraview/edl_compose.cxx is in paraview-dev 5.0.1+dfsg1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
/* DO NOT EDIT.
 * Generated by ../../../bin/vtkEncodeString
 * 
 * Define the edl_compose string.
 *
 * Generated from file: /build/paraview-arsa8T/paraview-5.0.1+dfsg1/Plugins/EyeDomeLighting/EyeDomeLighting/resources/Shaders/edl_compose.glsl
 */
const char *edl_compose =
"/*=========================================================================\n"
"\n"
"   Program: ParaView\n"
"   Module:    edl_compose.glsl\n"
"\n"
"   Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.\n"
"   All rights reserved.\n"
"\n"
"   ParaView is a free software; you can redistribute it and/or modify it\n"
"   under the terms of the ParaView license version 1.2.\n"
"\n"
"   See License_v1.2.txt for the full ParaView license.\n"
"   A copy of this license can be obtained by contacting\n"
"   Kitware Inc.\n"
"   28 Corporate Drive\n"
"   Clifton Park, NY 12065\n"
"   USA\n"
"\n"
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"
"``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n"
"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n"
"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR\n"
"CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n"
"EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n"
"PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n"
"PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n"
"LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n"
"NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n"
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
"\n"
"=========================================================================*/\n"
"/*----------------------------------------------------------------------\n"
"Acknowledgement:\n"
"This algorithm is the result of joint work by Electricité de France,\n"
"CNRS, Collège de France and Université J. Fourier as part of the\n"
"Ph.D. thesis of Christian BOUCHENY.\n"
"------------------------------------------------------------------------*/\n"
"//////////////////////////////////////////////////////////////////////////\n"
"//\n"
"//\n"
"//  EyeDome Lighting - Compositing - Simplified version for use in VTK\\n\n"
"//\n"
"//    C.B. - 3 feb. 2009\n"
"//\n"
"//    IN:\n"
"//      s2_I1 - full scale shading image\n"
"//      s2_I2 - half-size shading image\n"
"//      s2_I4 - quarter-size shading image\n"
"//      s2_D  - depth image\n"
"//    OUT:\n"
"//      composited image\n"
"//\n"
"//////////////////////////////////////////////////////////////////////////\n"
"\n"
"/**************************************************/\n"
"uniform sampler2D    s2_S1;  // fine scale\n"
"uniform sampler2D    s2_S2;  // larger medium scale\n"
"uniform sampler2D    s2_C;   // scene color image\n"
"/**************************************************/\n"
"\n"
"void main (void)\n"
"{\n"
"  vec4  shade1  =  texture2D(s2_S1,gl_TexCoord[0].st);\n"
"  vec4  shade2  =  texture2D(s2_S2,gl_TexCoord[0].st);\n"
"  vec4  color   =  texture2D(s2_C,gl_TexCoord[0].st);\n"
"  float z1      =  shade1.a;\n"
"  float z2      =  shade2.a;\n"
"  if(shade1.a >0.99)\n"
"    {\n"
"    gl_FragColor = vec4(shade1.rgb,1.) * color;\n"
"    }\n"
"  else\n"
"    {\n"
"    float lum = mix(shade1.x,shade2.x,0.3);\n"
"    gl_FragColor = vec4(color.rgb*lum, color.a);\n"
"    }\n"
"  gl_FragDepth = shade1.a; // write stored depth\n"
"\n"
"}\n"
"\n";