ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccDepthBuffer Class Reference

Sensor "depth map". More...

#include <ecvDepthBuffer.h>

Public Member Functions

 ccDepthBuffer ()
 Default constructor. More...
 
virtual ~ccDepthBuffer ()
 Destructor. More...
 
void clear ()
 Clears the buffer. More...
 
int fillHoles ()
 

Public Attributes

std::vector< PointCoordinateTypezBuff
 Z-Buffer grid. More...
 
PointCoordinateType deltaPhi
 Pitch step (may differ from the sensor's) More...
 
PointCoordinateType deltaTheta
 Yaw step (may differ from the sensor's) More...
 
unsigned width
 Buffer width. More...
 
unsigned height
 Buffer height. More...
 

Detailed Description

Sensor "depth map".

Contains an array of depth values (along each scanned direction) and its dimensions. This array corresponds roughly to what have been "seen" by the sensor during acquisition (the 3D points are simply projected in the sensor frame).

Definition at line 25 of file ecvDepthBuffer.h.

Constructor & Destructor Documentation

◆ ccDepthBuffer()

ccDepthBuffer::ccDepthBuffer ( )

Default constructor.

◆ ~ccDepthBuffer()

virtual ccDepthBuffer::~ccDepthBuffer ( )
virtual

Destructor.

Member Function Documentation

◆ clear()

void ccDepthBuffer::clear ( )

Clears the buffer.

◆ fillHoles()

int ccDepthBuffer::fillHoles ( )

Applies a mean filter to fill small holes (= lack of information) of the depth map. The depth buffer must have been created before (see GroundBasedLidarSensor::computeDepthBuffer).

Returns
a negative value if an error occurs, 0 otherwise

Member Data Documentation

◆ deltaPhi

PointCoordinateType ccDepthBuffer::deltaPhi

Pitch step (may differ from the sensor's)

Definition at line 35 of file ecvDepthBuffer.h.

◆ deltaTheta

PointCoordinateType ccDepthBuffer::deltaTheta

Yaw step (may differ from the sensor's)

Definition at line 37 of file ecvDepthBuffer.h.

◆ height

unsigned ccDepthBuffer::height

Buffer height.

Definition at line 41 of file ecvDepthBuffer.h.

◆ width

unsigned ccDepthBuffer::width

Buffer width.

Definition at line 39 of file ecvDepthBuffer.h.

◆ zBuff

std::vector<PointCoordinateType> ccDepthBuffer::zBuff

Z-Buffer grid.

Definition at line 33 of file ecvDepthBuffer.h.

Referenced by ccComparisonDlg::computeDistances().


The documentation for this class was generated from the following file: