FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void RawDataViewer::calcMidBlurColor
(
int
pixel
,
int
vertex
)
private
Definition at line
74
of file
RawEventsViewer.cc
.
References
color()
,
first
, and
i
.
75
{
76
GLfloat
color
[3];
77
int
first
;
78
first = vertex-1;
79
if
(first < 0)
80
first = 5;
81
first =
neighbors
[pixel][
first
];
82
for
(
int
i
=0;
i
<3;
i
++)
83
color[
i
] =
pixelsColor
[pixel][
i
];
84
float
divide = 1;
85
if
(first != -1)
86
{
87
divide++;
88
for
(
int
i
=0;
i
<3;
i
++)
89
color[
i
] +=
pixelsColor
[first][
i
];
90
}
91
for
(
int
i
=0;
i
<3;
i
++)
92
color[
i
] /= divide;
93
glColor3fv(color);
94
}
i
int i
Definition:
db_dim_client.c:21
BasicGlCamera::neighbors
static PixelsNeighbors neighbors[MAX_NUM_PIXELS]
Definition:
BasicGlCamera.h:135
first
int64_t first
Size of this column in the tile.
Definition:
zofits.h:26
BasicGlCamera::pixelsColor
GLfloat pixelsColor[NPIX][3]
Definition:
BasicGlCamera.h:137
color
function color(col)
Definition:
color.js:31
Here is the call graph for this function:
RawDataViewer
Generated on Sun Sep 18 2016 20:50:56 for FACT++ by
1.8.11