#include <sac_3dof.h>
Public Types | |
typedef boost::shared_ptr < const SampleConsensusModel3DOF > | ConstPtr |
typedef SampleConsensusModel < PointT >::PointCloud | PointCloud |
typedef SampleConsensusModel < PointT >::PointCloudConstPtr | PointCloudConstPtr |
typedef SampleConsensusModel < PointT >::PointCloudPtr | PointCloudPtr |
typedef boost::shared_ptr < SampleConsensusModel3DOF > | Ptr |
Public Member Functions | |
virtual bool | computeModelCoefficients (const std::vector< int > &samples, Eigen::VectorXf &model_coefficients) |
virtual int | countWithinDistance (const Eigen::VectorXf &model_coefficients, const double threshold) |
virtual bool | doSamplesVerifyModel (const std::set< int > &indices, const Eigen::VectorXf &model_coefficients, const double threshold) |
virtual void | getDistancesToModel (const Eigen::VectorXf &model_coefficients, std::vector< double > &distances) |
virtual SacModel | getModelType () const |
unsigned int | getSampleSize () const |
PointCloudConstPtr | getTarget () const |
virtual bool | isModelValid (const Eigen::VectorXf &model_coefficients) |
virtual bool | isSampleGood (const std::vector< int > &samples) const |
virtual void | optimizeModelCoefficients (const std::vector< int > &inliers, const Eigen::VectorXf &model_coefficients, Eigen::VectorXf &optimized_coefficients) |
virtual void | projectPoints (const std::vector< int > &inliers, const Eigen::VectorXf &model_coefficients, PointCloud &projected_points, bool copy_data_fields=true) |
SampleConsensusModel3DOF (const PointCloudConstPtr &cloud, float octree_res) | |
virtual void | selectWithinDistance (const Eigen::VectorXf &model_coefficients, const double threshold, std::vector< int > &inliers) |
void | setTarget (PointCloudConstPtr target) |
void | setTargetIndices (boost::shared_ptr< std::vector< int > > &idx) |
Protected Member Functions | |
float | generateVisibilityScore (const PointCloud &cloud) |
Protected Attributes | |
float | eps |
pcl17::octree::OctreePointCloudSearch < PointT > | octree |
PointCloudConstPtr | target |
boost::shared_ptr< std::vector < int > > | target_idx |
pcl17::search::KdTree< PointT > | target_tree |
Definition at line 16 of file sac_3dof.h.
typedef boost::shared_ptr<const SampleConsensusModel3DOF> pcl17::SampleConsensusModel3DOF< PointT >::ConstPtr |
Definition at line 28 of file sac_3dof.h.
typedef SampleConsensusModel<PointT>::PointCloud pcl17::SampleConsensusModel3DOF< PointT >::PointCloud |
Definition at line 23 of file sac_3dof.h.
typedef SampleConsensusModel<PointT>::PointCloudConstPtr pcl17::SampleConsensusModel3DOF< PointT >::PointCloudConstPtr |
Definition at line 25 of file sac_3dof.h.
typedef SampleConsensusModel<PointT>::PointCloudPtr pcl17::SampleConsensusModel3DOF< PointT >::PointCloudPtr |
Definition at line 24 of file sac_3dof.h.
typedef boost::shared_ptr<SampleConsensusModel3DOF> pcl17::SampleConsensusModel3DOF< PointT >::Ptr |
Definition at line 27 of file sac_3dof.h.
pcl17::SampleConsensusModel3DOF< PointT >::SampleConsensusModel3DOF | ( | const PointCloudConstPtr & | cloud, |
float | octree_res | ||
) | [inline] |
Definition at line 30 of file sac_3dof.h.
virtual bool pcl17::SampleConsensusModel3DOF< PointT >::computeModelCoefficients | ( | const std::vector< int > & | samples, |
Eigen::VectorXf & | model_coefficients | ||
) | [inline, virtual] |
Definition at line 52 of file sac_3dof.h.
virtual int pcl17::SampleConsensusModel3DOF< PointT >::countWithinDistance | ( | const Eigen::VectorXf & | model_coefficients, |
const double | threshold | ||
) | [inline, virtual] |
Definition at line 118 of file sac_3dof.h.
virtual bool pcl17::SampleConsensusModel3DOF< PointT >::doSamplesVerifyModel | ( | const std::set< int > & | indices, |
const Eigen::VectorXf & | model_coefficients, | ||
const double | threshold | ||
) | [inline, virtual] |
Definition at line 157 of file sac_3dof.h.
float pcl17::SampleConsensusModel3DOF< PointT >::generateVisibilityScore | ( | const PointCloud & | cloud | ) | [inline, protected] |
Definition at line 189 of file sac_3dof.h.
virtual void pcl17::SampleConsensusModel3DOF< PointT >::getDistancesToModel | ( | const Eigen::VectorXf & | model_coefficients, |
std::vector< double > & | distances | ||
) | [inline, virtual] |
Definition at line 147 of file sac_3dof.h.
virtual SacModel pcl17::SampleConsensusModel3DOF< PointT >::getModelType | ( | ) | const [inline, virtual] |
Definition at line 163 of file sac_3dof.h.
unsigned int pcl17::SampleConsensusModel3DOF< PointT >::getSampleSize | ( | ) | const [inline] |
Definition at line 177 of file sac_3dof.h.
PointCloudConstPtr pcl17::SampleConsensusModel3DOF< PointT >::getTarget | ( | ) | const [inline] |
Definition at line 41 of file sac_3dof.h.
virtual bool pcl17::SampleConsensusModel3DOF< PointT >::isModelValid | ( | const Eigen::VectorXf & | model_coefficients | ) | [inline, virtual] |
Definition at line 168 of file sac_3dof.h.
virtual bool pcl17::SampleConsensusModel3DOF< PointT >::isSampleGood | ( | const std::vector< int > & | samples | ) | const [inline, virtual] |
Definition at line 172 of file sac_3dof.h.
virtual void pcl17::SampleConsensusModel3DOF< PointT >::optimizeModelCoefficients | ( | const std::vector< int > & | inliers, |
const Eigen::VectorXf & | model_coefficients, | ||
Eigen::VectorXf & | optimized_coefficients | ||
) | [inline, virtual] |
Definition at line 140 of file sac_3dof.h.
virtual void pcl17::SampleConsensusModel3DOF< PointT >::projectPoints | ( | const std::vector< int > & | inliers, |
const Eigen::VectorXf & | model_coefficients, | ||
PointCloud & | projected_points, | ||
bool | copy_data_fields = true |
||
) | [inline, virtual] |
Definition at line 152 of file sac_3dof.h.
virtual void pcl17::SampleConsensusModel3DOF< PointT >::selectWithinDistance | ( | const Eigen::VectorXf & | model_coefficients, |
const double | threshold, | ||
std::vector< int > & | inliers | ||
) | [inline, virtual] |
Definition at line 106 of file sac_3dof.h.
void pcl17::SampleConsensusModel3DOF< PointT >::setTarget | ( | PointCloudConstPtr | target | ) | [inline] |
Definition at line 46 of file sac_3dof.h.
void pcl17::SampleConsensusModel3DOF< PointT >::setTargetIndices | ( | boost::shared_ptr< std::vector< int > > & | idx | ) | [inline] |
Definition at line 182 of file sac_3dof.h.
float pcl17::SampleConsensusModel3DOF< PointT >::eps [protected] |
Definition at line 246 of file sac_3dof.h.
pcl17::octree::OctreePointCloudSearch<PointT> pcl17::SampleConsensusModel3DOF< PointT >::octree [protected] |
Definition at line 241 of file sac_3dof.h.
PointCloudConstPtr pcl17::SampleConsensusModel3DOF< PointT >::target [protected] |
Definition at line 242 of file sac_3dof.h.
boost::shared_ptr<std::vector<int> > pcl17::SampleConsensusModel3DOF< PointT >::target_idx [protected] |
Definition at line 243 of file sac_3dof.h.
pcl17::search::KdTree<PointT> pcl17::SampleConsensusModel3DOF< PointT >::target_tree [protected] |
Definition at line 244 of file sac_3dof.h.