Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
npoints_validator.hpp
Go to the documentation of this file.
1#pragma once
2
4
13public:
19 explicit NPointsValidator(long unsigned int min_n_points);
20
31 std::vector<double> coneValidator(Cluster* cone_point_cloud, Plane& plane) const override;
32
36 virtual ~NPointsValidator() = default;
37
38private:
39 long unsigned int _min_n_points_;
40};
Represents a cluster of 3D points using PCL (Point Cloud Library).
Definition cluster.hpp:14
Abstract class responsible for validating clusters as cones.
The NPointsValidator class is responsible for validating cones based on the number of points they con...
std::vector< double > coneValidator(Cluster *cone_point_cloud, Plane &plane) const override
Validates a cone based on its number of points.
virtual ~NPointsValidator()=default
Virtual destructor for NpointsValidator.
long unsigned int _min_n_points_
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition plane.hpp:12