SampleConsensusModelParallelLine defines a model for 3D line segmentation using additional angular constraints. More...
#include <sac_model_parallel_line.h>

Public Types | |
| typedef SampleConsensusModelLine < PointT >::PointCloud | PointCloud |
| typedef SampleConsensusModelLine < PointT >::PointCloudConstPtr | PointCloudConstPtr |
| typedef SampleConsensusModelLine < PointT >::PointCloudPtr | PointCloudPtr |
| typedef boost::shared_ptr < SampleConsensusModelParallelLine > | Ptr |
Public Member Functions | |
| Eigen::Vector3f | getAxis () |
| Get the axis along which we need to search for a plane perpendicular to. | |
| void | getDistancesToModel (const Eigen::VectorXf &model_coefficients, std::vector< double > &distances) |
| Compute all squared distances from the cloud data to a given line model. | |
| double | getEpsAngle () |
| Get the angle epsilon (delta) threshold. | |
| pcl::SacModel | getModelType () const |
| Return an unique id for this model (SACMODEL_PARALLEL_LINE). | |
| SampleConsensusModelParallelLine (const PointCloudConstPtr &cloud, const std::vector< int > &indices) | |
| Constructor for base SampleConsensusModelParallelLine. | |
| SampleConsensusModelParallelLine (const PointCloudConstPtr &cloud) | |
| Constructor for base SampleConsensusModelParallelLine. | |
| void | selectWithinDistance (const Eigen::VectorXf &model_coefficients, double threshold, std::vector< int > &inliers) |
| Select all the points which respect the given model coefficients as inliers. | |
| void | setAxis (const Eigen::Vector3f &ax) |
| Set the axis along which we need to search for a plane perpendicular to. | |
| void | setEpsAngle (double ea) |
| Set the angle epsilon (delta) threshold. | |
Protected Member Functions | |
| bool | isModelValid (const Eigen::VectorXf &model_coefficients) |
| Check whether a model is valid given the user constraints. | |
Protected Attributes | |
| Eigen::Vector3f | axis_ |
| The axis along which we need to search for a plane perpendicular to. | |
| double | eps_angle_ |
| The maximum allowed difference between the plane normal and the given axis. | |
SampleConsensusModelParallelLine defines a model for 3D line segmentation using additional angular constraints.
Definition at line 54 of file sac_model_parallel_line.h.
| typedef SampleConsensusModelLine<PointT>::PointCloud pcl::SampleConsensusModelParallelLine< PointT >::PointCloud |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 57 of file sac_model_parallel_line.h.
| typedef SampleConsensusModelLine<PointT>::PointCloudConstPtr pcl::SampleConsensusModelParallelLine< PointT >::PointCloudConstPtr |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 59 of file sac_model_parallel_line.h.
| typedef SampleConsensusModelLine<PointT>::PointCloudPtr pcl::SampleConsensusModelParallelLine< PointT >::PointCloudPtr |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 58 of file sac_model_parallel_line.h.
| typedef boost::shared_ptr<SampleConsensusModelParallelLine> pcl::SampleConsensusModelParallelLine< PointT >::Ptr |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 61 of file sac_model_parallel_line.h.
| pcl::SampleConsensusModelParallelLine< PointT >::SampleConsensusModelParallelLine | ( | const PointCloudConstPtr & | cloud | ) | [inline] |
Constructor for base SampleConsensusModelParallelLine.
| cloud | the input point cloud dataset |
Definition at line 66 of file sac_model_parallel_line.h.
| pcl::SampleConsensusModelParallelLine< PointT >::SampleConsensusModelParallelLine | ( | const PointCloudConstPtr & | cloud, | |
| const std::vector< int > & | indices | |||
| ) | [inline] |
Constructor for base SampleConsensusModelParallelLine.
| cloud | the input point cloud dataset | |
| indices | a vector of point indices to be used from cloud |
Definition at line 76 of file sac_model_parallel_line.h.
| Eigen::Vector3f pcl::SampleConsensusModelParallelLine< PointT >::getAxis | ( | ) | [inline] |
Get the axis along which we need to search for a plane perpendicular to.
Definition at line 88 of file sac_model_parallel_line.h.
| void pcl::SampleConsensusModelParallelLine< PointT >::getDistancesToModel | ( | const Eigen::VectorXf & | model_coefficients, | |
| std::vector< double > & | distances | |||
| ) | [inline, virtual] |
Compute all squared distances from the cloud data to a given line model.
| model_coefficients | the coefficients of a line model that we need to compute distances to | |
| distances | the resultant estimated squared distances |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 60 of file sac_model_parallel_line.hpp.
| double pcl::SampleConsensusModelParallelLine< PointT >::getEpsAngle | ( | ) | [inline] |
Get the angle epsilon (delta) threshold.
Definition at line 96 of file sac_model_parallel_line.h.
| pcl::SacModel pcl::SampleConsensusModelParallelLine< PointT >::getModelType | ( | ) | const [inline, virtual] |
Return an unique id for this model (SACMODEL_PARALLEL_LINE).
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 112 of file sac_model_parallel_line.h.
| bool pcl::SampleConsensusModelParallelLine< PointT >::isModelValid | ( | const Eigen::VectorXf & | model_coefficients | ) | [inline, protected, virtual] |
Check whether a model is valid given the user constraints.
| model_coefficients | the set of model coefficients |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 75 of file sac_model_parallel_line.hpp.
| void pcl::SampleConsensusModelParallelLine< PointT >::selectWithinDistance | ( | const Eigen::VectorXf & | model_coefficients, | |
| double | threshold, | |||
| std::vector< int > & | inliers | |||
| ) | [inline, virtual] |
Select all the points which respect the given model coefficients as inliers.
| model_coefficients | the coefficients of a line model that we need to compute distances to | |
| threshold | a maximum admissible distance threshold for determining the inliers from the outliers | |
| inliers | the resultant model inliers |
Reimplemented from pcl::SampleConsensusModelLine< PointT >.
Definition at line 45 of file sac_model_parallel_line.hpp.
| void pcl::SampleConsensusModelParallelLine< PointT >::setAxis | ( | const Eigen::Vector3f & | ax | ) | [inline] |
Set the axis along which we need to search for a plane perpendicular to.
| ax | the axis along which we need to search for a plane perpendicular to |
Definition at line 85 of file sac_model_parallel_line.h.
| void pcl::SampleConsensusModelParallelLine< PointT >::setEpsAngle | ( | double | ea | ) | [inline] |
Set the angle epsilon (delta) threshold.
| ea | the maximum allowed difference between the plane normal and the given axis. |
Definition at line 93 of file sac_model_parallel_line.h.
Eigen::Vector3f pcl::SampleConsensusModelParallelLine< PointT >::axis_ [protected] |
The axis along which we need to search for a plane perpendicular to.
Definition at line 122 of file sac_model_parallel_line.h.
double pcl::SampleConsensusModelParallelLine< PointT >::eps_angle_ [protected] |
The maximum allowed difference between the plane normal and the given axis.
Definition at line 125 of file sac_model_parallel_line.h.