16 : deltaPhi(0), deltaTheta(0),
width(0),
height(0) {}
35 unsigned tempZBuffSize = dx * dy;
36 std::vector<PointCoordinateType> zBuffTemp;
38 zBuffTemp.resize(tempZBuffSize);
39 }
catch (
const std::bad_alloc&) {
47 zBuffTemp.data() + (dx + 1);
63 for (
unsigned x = 0;
x <
width; ++
x, ++zu, ++
z, ++zd) {
66 unsigned char nsup = 0;
81 z[2] + zd[0] + zd[1] + zd[2]) /
float PointCoordinateType
Type of the coordinates of a (N-D) point.
ccDepthBuffer()
Default constructor.
unsigned height
Buffer height.
PointCoordinateType deltaTheta
Yaw step (may differ from the sensor's)
std::vector< PointCoordinateType > zBuff
Z-Buffer grid.
void clear()
Clears the buffer.
PointCoordinateType deltaPhi
Pitch step (may differ from the sensor's)
unsigned width
Buffer width.
virtual ~ccDepthBuffer()
Destructor.