pcl::SampleConsensusModelFromNormals< PointT, PointNT > Class Template Reference

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>

Inheritance diagram for pcl::SampleConsensusModelFromNormals< PointT, PointNT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::SampleConsensusModelFromNormals< PointT, PointNT >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef pcl::PointCloud
< PointNT >::ConstPtr 
PointCloudNConstPtr
typedef pcl::PointCloud
< PointNT >::Ptr 
PointCloudNPtr
typedef boost::shared_ptr
< SampleConsensusModelFromNormals
Ptr
typedef boost::shared_ptr
< const
SampleConsensusModelFromNormals
ConstPtr

Public Member Functions

 SampleConsensusModelFromNormals ()
 Empty constructor for base SampleConsensusModelFromNormals.
virtual ~SampleConsensusModelFromNormals ()
 Destructor.
void setNormalDistanceWeight (const double w)
 Set the normal angular distance weight.
double getNormalDistanceWeight ()
 Get the normal angular distance weight.
void setInputNormals (const PointCloudNConstPtr &normals)
 Provide a pointer to the input dataset that contains the point normals of the XYZ dataset.
PointCloudNConstPtr getInputNormals ()
 Get a pointer to the normals of the input XYZ point cloud dataset.

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.
PointCloudNConstPtr normals_
 A pointer to the input dataset that contains the point normals of the XYZ dataset.

Detailed Description

template<typename PointT, typename PointNT>
class pcl::SampleConsensusModelFromNormals< PointT, PointNT >

SampleConsensusModelFromNormals represents the base model class for models that require the use of surface normals for estimation.

Definition at line 556 of file sac_model.h.


Member Typedef Documentation

template<typename PointT, typename PointNT>
typedef boost::shared_ptr<const SampleConsensusModelFromNormals> pcl::SampleConsensusModelFromNormals< PointT, PointNT >::ConstPtr

Definition at line 563 of file sac_model.h.

template<typename PointT, typename PointNT>
typedef pcl::PointCloud<PointNT>::ConstPtr pcl::SampleConsensusModelFromNormals< PointT, PointNT >::PointCloudNConstPtr
template<typename PointT, typename PointNT>
typedef pcl::PointCloud<PointNT>::Ptr pcl::SampleConsensusModelFromNormals< PointT, PointNT >::PointCloudNPtr
template<typename PointT, typename PointNT>
typedef boost::shared_ptr<SampleConsensusModelFromNormals> pcl::SampleConsensusModelFromNormals< PointT, PointNT >::Ptr

Constructor & Destructor Documentation

template<typename PointT, typename PointNT>
pcl::SampleConsensusModelFromNormals< PointT, PointNT >::SampleConsensusModelFromNormals (  )  [inline]

Empty constructor for base SampleConsensusModelFromNormals.

Definition at line 566 of file sac_model.h.

template<typename PointT, typename PointNT>
virtual pcl::SampleConsensusModelFromNormals< PointT, PointNT >::~SampleConsensusModelFromNormals (  )  [inline, virtual]

Destructor.

Definition at line 569 of file sac_model.h.


Member Function Documentation

template<typename PointT, typename PointNT>
PointCloudNConstPtr pcl::SampleConsensusModelFromNormals< PointT, PointNT >::getInputNormals (  )  [inline]

Get a pointer to the normals of the input XYZ point cloud dataset.

Definition at line 599 of file sac_model.h.

References pcl::SampleConsensusModelFromNormals< PointT, PointNT >::normals_.

template<typename PointT, typename PointNT>
double pcl::SampleConsensusModelFromNormals< PointT, PointNT >::getNormalDistanceWeight (  )  [inline]
template<typename PointT, typename PointNT>
void pcl::SampleConsensusModelFromNormals< PointT, PointNT >::setInputNormals ( const PointCloudNConstPtr normals  )  [inline]

Provide a pointer to the input dataset that contains the point normals of the XYZ dataset.

Parameters:
[in] normals the const boost shared pointer to a PointCloud message

Definition at line 592 of file sac_model.h.

References pcl::SampleConsensusModelFromNormals< PointT, PointNT >::normals_.

Referenced by pcl::SACSegmentationFromNormals< PointT, PointNT >::initSACModel().

template<typename PointT, typename PointNT>
void pcl::SampleConsensusModelFromNormals< PointT, PointNT >::setNormalDistanceWeight ( const double  w  )  [inline]

Set the normal angular distance weight.

Parameters:
[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 577 of file sac_model.h.

References pcl::SampleConsensusModelFromNormals< PointT, PointNT >::normal_distance_weight_.

Referenced by pcl::SACSegmentationFromNormals< PointT, PointNT >::initSACModel().


Member Data Documentation

template<typename PointT, typename PointNT>
double pcl::SampleConsensusModelFromNormals< PointT, PointNT >::normal_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 605 of file sac_model.h.

Referenced by pcl::SampleConsensusModelNormalSphere< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelNormalPlane< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelNormalParallelPlane< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelCylinder< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelCone< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelNormalSphere< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelNormalPlane< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelNormalParallelPlane< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelCylinder< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelCone< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelFromNormals< PointT, PointNT >::getNormalDistanceWeight(), pcl::SampleConsensusModelNormalSphere< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelNormalPlane< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelNormalParallelPlane< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelCylinder< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelCone< PointT, PointNT >::selectWithinDistance(), and pcl::SampleConsensusModelFromNormals< PointT, PointNT >::setNormalDistanceWeight().

template<typename PointT, typename PointNT>
PointCloudNConstPtr pcl::SampleConsensusModelFromNormals< PointT, PointNT >::normals_ [protected]

A pointer to the input dataset that contains the point normals of the XYZ dataset.

Definition at line 610 of file sac_model.h.

Referenced by pcl::SampleConsensusModelCylinder< PointT, PointNT >::computeModelCoefficients(), pcl::SampleConsensusModelCone< PointT, PointNT >::computeModelCoefficients(), pcl::SampleConsensusModelNormalSphere< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelNormalPlane< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelNormalParallelPlane< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelCylinder< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelCone< PointT, PointNT >::countWithinDistance(), pcl::SampleConsensusModelNormalSphere< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelNormalPlane< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelNormalParallelPlane< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelCylinder< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelCone< PointT, PointNT >::getDistancesToModel(), pcl::SampleConsensusModelFromNormals< PointT, PointNT >::getInputNormals(), pcl::SampleConsensusModelNormalSphere< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelNormalPlane< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelNormalParallelPlane< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelCylinder< PointT, PointNT >::selectWithinDistance(), pcl::SampleConsensusModelCone< PointT, PointNT >::selectWithinDistance(), and pcl::SampleConsensusModelFromNormals< PointT, PointNT >::setInputNormals().


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends