PerpendicularPlaneFitting.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <Eigen/Core>
4
5
#include <pcl/point_cloud.h>
6
#include <pcl/point_types.h>
7
#include <pcl/PointIndices.h>
8
#include <pcl/common/angles.h>
9
10
#include <
VisionX/libraries/PointCloudTools/plane_fitting_ransac/plane_fitting_ransac.h
>
11
12
13
namespace
Eigen
14
{
15
using
Hyperplane3f
= Hyperplane<float, 3>;
16
}
17
18
19
namespace
visionx::tools
20
{
21
22
class
PerpendicularPlaneFitting
23
{
24
public
:
25
using
PointT
= pcl::PointXYZRGBA;
26
27
public
:
28
29
double
distanceThreshold
= 1;
30
Eigen::Vector3f
normal
= Eigen::Vector3f::UnitZ();
31
double
epsAngle
= pcl::deg2rad(10.0);
32
33
int
maxIterations
= 1000;
34
double
probability
= 0.99;
35
36
37
std::optional<PlaneFittingResult>
fit
(pcl::PointCloud<PointT>::ConstPtr
input
);
38
39
};
40
41
42
}
visionx::tools::PerpendicularPlaneFitting::probability
double probability
Definition:
PerpendicularPlaneFitting.h:34
Eigen
Definition:
Elements.h:36
visionx::tools
Definition:
PCLUtilities.cpp:4
visionx::tools::PerpendicularPlaneFitting::distanceThreshold
double distanceThreshold
Definition:
PerpendicularPlaneFitting.h:29
visionx::tools::PerpendicularPlaneFitting::normal
Eigen::Vector3f normal
Definition:
PerpendicularPlaneFitting.h:30
visionx::tools::PerpendicularPlaneFitting
Definition:
PerpendicularPlaneFitting.h:22
plane_fitting_ransac.h
Eigen::Hyperplane3f
Hyperplane< float, 3 > Hyperplane3f
Definition:
Elements.h:38
armarx::aron::input
ReaderT::InputType & input
Definition:
rw.h:19
visionx::tools::PerpendicularPlaneFitting::maxIterations
int maxIterations
Definition:
PerpendicularPlaneFitting.h:33
visionx::tools::PerpendicularPlaneFitting::epsAngle
double epsAngle
Definition:
PerpendicularPlaneFitting.h:31
visionx::tools::PerpendicularPlaneFitting::PointT
pcl::PointXYZRGBA PointT
Definition:
PerpendicularPlaneFitting.h:25
visionx::tools::PerpendicularPlaneFitting::fit
std::optional< PlaneFittingResult > fit(pcl::PointCloud< PointT >::ConstPtr input)
Definition:
PerpendicularPlaneFitting.cpp:11
VisionX
libraries
PointCloudTools
PerpendicularPlaneFitting.h
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17