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:
28  ccDepthBuffer();
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 };
ccDepthBuffer::zBuff
std::vector< PointCoordinateType > zBuff
Z-Buffer grid.
Definition: ecvDepthBuffer.h:33
ccDepthBuffer::height
unsigned height
Buffer height.
Definition: ecvDepthBuffer.h:41
ccDepthBuffer
Sensor "depth map".
Definition: ecvDepthBuffer.h:25
ccDepthBuffer::deltaTheta
PointCoordinateType deltaTheta
Yaw step (may differ from the sensor's)
Definition: ecvDepthBuffer.h:37
CVGeom.h
CV_db.h
CV_DB_LIB_API
#define CV_DB_LIB_API
Definition: CV_db.h:15
ccDepthBuffer::deltaPhi
PointCoordinateType deltaPhi
Pitch step (may differ from the sensor's)
Definition: ecvDepthBuffer.h:35
PointCoordinateType
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
ccDepthBuffer::width
unsigned width
Buffer width.
Definition: ecvDepthBuffer.h:39