MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / getRangesArray

Method getRangesArray

common/src/range_image.cpp:279–287  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

277
278/////////////////////////////////////////////////////////////////////////
279float*
280RangeImage::getRangesArray () const
281{
282 int arraySize = width * height;
283 float* ranges = new float[arraySize];
284 for (int i=0; i<arraySize; ++i)
285 ranges[i] = points[i].range;
286 return ranges;
287}
288
289
290/////////////////////////////////////////////////////////////////////////

Callers 1

showRangeImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected