SACSegmentationFromNormals represents the PCL nodelet segmentation class for Sample Consensus methods and models that require the use of surface normals for estimation. More...
#include <sac_segmentation.h>
Public Types | |
typedef SACSegmentation < PointT >::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef pcl::PointCloud< PointNT > | PointCloudN |
typedef PointCloudN::ConstPtr | PointCloudNConstPtr |
typedef PointCloudN::Ptr | PointCloudNPtr |
typedef PointCloud::Ptr | PointCloudPtr |
typedef SampleConsensusModelFromNormals < PointT, PointNT >::Ptr | SampleConsensusModelFromNormalsPtr |
typedef SampleConsensusModel < PointT >::Ptr | SampleConsensusModelPtr |
typedef SampleConsensus < PointT >::Ptr | SampleConsensusPtr |
Public Member Functions | |
PointCloudNConstPtr | getInputNormals () |
Get a pointer to the normals of the input XYZ point cloud dataset. | |
double | getNormalDistanceWeight () |
Get the relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal. | |
SACSegmentationFromNormals () | |
Empty constructor. | |
void | setInputNormals (const PointCloudNConstPtr &normals) |
Provide a pointer to the input dataset that contains the point normals of the XYZ dataset. | |
void | setNormalDistanceWeight (double distance_weight) |
Set the relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal. | |
Protected Member Functions | |
virtual std::string | getClassName () const |
Class get name method. | |
virtual bool | initSACModel (const int model_type) |
Initialize the Sample Consensus model and set its parameters. | |
Protected Attributes | |
double | 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. | |
PointCloudNConstPtr | normals_ |
A pointer to the input dataset that contains the point normals of the XYZ dataset. |
SACSegmentationFromNormals represents the PCL nodelet segmentation class for Sample Consensus methods and models that require the use of surface normals for estimation.
Definition at line 259 of file sac_segmentation.h.
typedef SACSegmentation<PointT>::PointCloud pcl::SACSegmentationFromNormals< PointT, PointNT >::PointCloud |
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 272 of file sac_segmentation.h.
typedef PointCloud::ConstPtr pcl::SACSegmentationFromNormals< PointT, PointNT >::PointCloudConstPtr |
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 274 of file sac_segmentation.h.
typedef pcl::PointCloud<PointNT> pcl::SACSegmentationFromNormals< PointT, PointNT >::PointCloudN |
Definition at line 276 of file sac_segmentation.h.
typedef PointCloudN::ConstPtr pcl::SACSegmentationFromNormals< PointT, PointNT >::PointCloudNConstPtr |
Definition at line 278 of file sac_segmentation.h.
typedef PointCloudN::Ptr pcl::SACSegmentationFromNormals< PointT, PointNT >::PointCloudNPtr |
Definition at line 277 of file sac_segmentation.h.
typedef PointCloud::Ptr pcl::SACSegmentationFromNormals< PointT, PointNT >::PointCloudPtr |
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 273 of file sac_segmentation.h.
typedef SampleConsensusModelFromNormals<PointT, PointNT>::Ptr pcl::SACSegmentationFromNormals< PointT, PointNT >::SampleConsensusModelFromNormalsPtr |
Definition at line 282 of file sac_segmentation.h.
typedef SampleConsensusModel<PointT>::Ptr pcl::SACSegmentationFromNormals< PointT, PointNT >::SampleConsensusModelPtr |
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 281 of file sac_segmentation.h.
typedef SampleConsensus<PointT>::Ptr pcl::SACSegmentationFromNormals< PointT, PointNT >::SampleConsensusPtr |
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 280 of file sac_segmentation.h.
pcl::SACSegmentationFromNormals< PointT, PointNT >::SACSegmentationFromNormals | ( | ) | [inline] |
Empty constructor.
Definition at line 285 of file sac_segmentation.h.
virtual std::string pcl::SACSegmentationFromNormals< PointT, PointNT >::getClassName | ( | ) | const [inline, protected, virtual] |
Class get name method.
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 327 of file sac_segmentation.h.
PointCloudNConstPtr pcl::SACSegmentationFromNormals< PointT, PointNT >::getInputNormals | ( | ) | [inline] |
Get a pointer to the normals of the input XYZ point cloud dataset.
Definition at line 296 of file sac_segmentation.h.
double pcl::SACSegmentationFromNormals< PointT, PointNT >::getNormalDistanceWeight | ( | ) | [inline] |
Get 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 308 of file sac_segmentation.h.
bool pcl::SACSegmentationFromNormals< PointT, PointNT >::initSACModel | ( | const int | model_type | ) | [inline, protected, virtual] |
Initialize the Sample Consensus model and set its parameters.
model_type | the type of SAC model that is to be used |
Reimplemented from pcl::SACSegmentation< PointT >.
Definition at line 300 of file sac_segmentation.hpp.
void pcl::SACSegmentationFromNormals< PointT, PointNT >::setInputNormals | ( | const PointCloudNConstPtr & | normals | ) | [inline] |
Provide a pointer to the input dataset that contains the point normals of the XYZ dataset.
normals | the const boost shared pointer to a PointCloud message |
Definition at line 292 of file sac_segmentation.h.
void pcl::SACSegmentationFromNormals< PointT, PointNT >::setNormalDistanceWeight | ( | double | distance_weight | ) | [inline] |
Set the relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal.
distance_weight | the distance/angular weight |
Definition at line 303 of file sac_segmentation.h.
double pcl::SACSegmentationFromNormals< PointT, PointNT >::distance_weight_ [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 317 of file sac_segmentation.h.
PointCloudNConstPtr pcl::SACSegmentationFromNormals< PointT, PointNT >::normals_ [protected] |
A pointer to the input dataset that contains the point normals of the XYZ dataset.
Definition at line 312 of file sac_segmentation.h.