EasyManua.ls Logo

Velodyne HD HDL-64E S2.1 - Page 36

Velodyne HD HDL-64E  S2.1
43 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
// Calculate corrected intensity vs distance
float intensityVal1 = intensityVal + focalslope*(abs(focaloffset-256*(1-
distance/65535)*(1-distance/65535)));
if (intensityVal1 < minIntensity) intensityVal1=minIntensity;
if (intensityVal1 > maxIntensity) intensityVal1=maxIntensity;
// Scale to new intensity scale
float intensityColor = (float)(intensityVal1 - minIntensity) / intensityScale;
// Convert to jet color
int rgb=(int)(intensityColor*63);
glColor3f(rcolor[rgb], gcolor[rgb], bcolor[rgb]);
}
G1Vertex3fv(it->getCoord(i).xyz;
}
it->operator++();
[ 33 ]
HDL-64E S2 and S2.1 Users Manual


Related product manuals