ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvDepthBuffer.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // local
11 #include "CV_db.h"
12 
13 // CV_CORE_LIB
14 #include <CVGeom.h>
15 
16 // System
17 #include <vector>
18 
20 
26 public:
30  virtual ~ccDepthBuffer();
31 
33  std::vector<PointCoordinateType> zBuff;
39  unsigned width;
41  unsigned height;
42 
44  void clear();
45 
48 
52  int fillHoles();
53 };
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
#define CV_DB_LIB_API
Definition: CV_db.h:15
Sensor "depth map".
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.