ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ecvGriddedTools.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 "
ecvPointCloud.h
"
12
13
class
ccGBLSensor
;
14
class
ccGLMatrix
;
15
17
class
CV_DB_LIB_API
ccGriddedTools
{
18
public
:
20
struct
GridParameters
{
21
GridParameters
()
22
: minPhi(0),
23
maxPhi(0),
24
minTheta(0),
25
maxTheta(0),
26
deltaPhiRad(0),
27
deltaThetaRad(0),
28
maxRange(0) {}
29
30
PointCoordinateType
minPhi,
maxPhi
;
31
PointCoordinateType
minTheta,
maxTheta
;
32
PointCoordinateType
deltaPhiRad
, deltaThetaRad;
33
PointCoordinateType
maxRange
;
34
};
35
37
45
static
bool
DetectParameters
(
const
ccPointCloud
* cloud,
46
const
ccPointCloud::Grid::Shared
grid,
47
GridParameters
& parameters,
48
bool
verbose =
false
,
49
ccGLMatrix
* cloudToSensorTrans = 0);
50
53
58
static
ccGBLSensor
*
ComputeBestSensor
(
ccPointCloud
* cloud,
59
ccPointCloud::Grid::Shared
grid,
60
ccGLMatrix
* cloudToSensorTrans = 0);
61
};
PointCoordinateType
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition:
CVTypes.h:16
CV_DB_LIB_API
#define CV_DB_LIB_API
Definition:
CV_db.h:15
ccGBLSensor
Ground-based Laser sensor.
Definition:
ecvGBLSensor.h:26
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition:
ecvGLMatrix.h:19
ccGriddedTools
Tools dedicated to gridded clouds.
Definition:
ecvGriddedTools.h:17
ccGriddedTools::DetectParameters
static bool DetectParameters(const ccPointCloud *cloud, const ccPointCloud::Grid::Shared grid, GridParameters ¶meters, bool verbose=false, ccGLMatrix *cloudToSensorTrans=0)
Detects the given grid parameters (angular span, etc.)
ccGriddedTools::ComputeBestSensor
static ccGBLSensor * ComputeBestSensor(ccPointCloud *cloud, ccPointCloud::Grid::Shared grid, ccGLMatrix *cloudToSensorTrans=0)
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition:
ecvPointCloud.h:147
ecvPointCloud.h
ccGriddedTools::GridParameters
Grid (angular) parameters.
Definition:
ecvGriddedTools.h:20
ccGriddedTools::GridParameters::maxRange
PointCoordinateType maxRange
Definition:
ecvGriddedTools.h:33
ccGriddedTools::GridParameters::maxTheta
PointCoordinateType maxTheta
Definition:
ecvGriddedTools.h:31
ccGriddedTools::GridParameters::GridParameters
GridParameters()
Definition:
ecvGriddedTools.h:21
ccGriddedTools::GridParameters::maxPhi
PointCoordinateType maxPhi
Definition:
ecvGriddedTools.h:30
ccGriddedTools::GridParameters::deltaPhiRad
PointCoordinateType deltaPhiRad
Definition:
ecvGriddedTools.h:32
ccPointCloud::Grid::Shared
QSharedPointer< Grid > Shared
Shared type.
Definition:
ecvPointCloud.h:385
libs
CV_db
include
ecvGriddedTools.h
Generated on Wed Jan 28 2026 09:00:58 for ACloudViewer by
1.9.1