SampleConsensusModelFromNormals represents the base model class for models that require the use of surface normals for estimation. More...
#include <pcl/sample_consensus/sac_model.h>
Public Types | |
using | PointCloudNConstPtr = typename pcl::PointCloud< PointNT >::ConstPtr |
using | PointCloudNPtr = typename pcl::PointCloud< PointNT >::Ptr |
using | Ptr = shared_ptr< SampleConsensusModelFromNormals< PointT, PointNT > > |
using | ConstPtr = shared_ptr< const SampleConsensusModelFromNormals< PointT, PointNT > > |
Public Member Functions | |
SampleConsensusModelFromNormals () | |
Empty constructor for base SampleConsensusModelFromNormals. More... |
|
virtual | ~SampleConsensusModelFromNormals () |
Destructor. More... |
|
void | setNormalDistanceWeight (const double w) |
Set the normal angular distance weight. More... |
|
double | getNormalDistanceWeight () const |
Get the normal angular distance weight. More... |
|
void | setInputNormals (const PointCloudNConstPtr &normals) |
Provide a pointer to the input dataset that contains the point normals of the XYZ dataset. More... |
|
PointCloudNConstPtr | getInputNormals () const |
Get a pointer to the normals of the input XYZ point cloud dataset. More... |
|
Protected Attributes | |
double | normal_distance_weight_ |
The relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal. More... |
|
PointCloudNConstPtr | normals_ |
A pointer to the input dataset that contains the point normals of the XYZ dataset. More... |
|
SampleConsensusModelFromNormals represents the base model class for models that require the use of surface normals for estimation.
Definition at line 611 of file sac_model.h.
using pcl::SampleConsensusModelFromNormals< PointT, PointNT >::ConstPtr = shared_ptr<const SampleConsensusModelFromNormals<PointT, PointNT> > |
Definition at line 618 of file sac_model.h.
using pcl::SampleConsensusModelFromNormals< PointT, PointNT >::PointCloudNConstPtr = typename pcl::PointCloud<PointNT>::ConstPtr |
Definition at line 614 of file sac_model.h.
using pcl::SampleConsensusModelFromNormals< PointT, PointNT >::PointCloudNPtr = typename pcl::PointCloud<PointNT>::Ptr |
Definition at line 615 of file sac_model.h.
using pcl::SampleConsensusModelFromNormals< PointT, PointNT >::Ptr = shared_ptr<SampleConsensusModelFromNormals<PointT, PointNT> > |
Definition at line 617 of file sac_model.h.
| inline |
Empty constructor for base SampleConsensusModelFromNormals.
Definition at line 621 of file sac_model.h.
| inlinevirtual |
Destructor.
Definition at line 624 of file sac_model.h.
| inline |
Get a pointer to the normals of the input XYZ point cloud dataset.
Definition at line 659 of file sac_model.h.
| inline |
Get the normal angular distance weight.
Definition at line 644 of file sac_model.h.
Referenced by pcl::SACSegmentationFromNormals< PointT, PointNT >::initSACModel().
| inline |
Provide a pointer to the input dataset that contains the point normals of the XYZ dataset.
[in] | normals | the const boost shared pointer to a PointCloud message |
Definition at line 652 of file sac_model.h.
Referenced by pcl::SACSegmentationFromNormals< PointT, PointNT >::initSACModel().
| inline |
Set the normal angular distance weight.
[in] | w | the relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal. (The Euclidean distance will have weight 1-w.) |
Definition at line 632 of file sac_model.h.
Referenced by pcl::SACSegmentationFromNormals< PointT, PointNT >::initSACModel().
| protected |
The relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal.
Definition at line 665 of file sac_model.h.
Referenced by pcl::SampleConsensusModelFromNormals< pcl::PointXYZRGB, PointNT >::getNormalDistanceWeight(), and pcl::SampleConsensusModelFromNormals< pcl::PointXYZRGB, PointNT >::setNormalDistanceWeight().
| protected |
A pointer to the input dataset that contains the point normals of the XYZ dataset.
Definition at line 670 of file sac_model.h.
Referenced by pcl::SampleConsensusModelFromNormals< pcl::PointXYZRGB, PointNT >::getInputNormals(), and pcl::SampleConsensusModelFromNormals< pcl::PointXYZRGB, PointNT >::setInputNormals().
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_sample_consensus_model_from_normals.html