Typedefs | Functions | Variables
test_sample_consensus.cpp File Reference
#include <gtest/gtest.h>
#include <pcl/io/pcd_io.h>
#include "boost.h"
#include <pcl/sample_consensus/sac.h>
#include <pcl/sample_consensus/lmeds.h>
#include <pcl/sample_consensus/ransac.h>
#include <pcl/sample_consensus/rransac.h>
#include <pcl/sample_consensus/msac.h>
#include <pcl/sample_consensus/rmsac.h>
#include <pcl/sample_consensus/mlesac.h>
#include <pcl/sample_consensus/sac_model.h>
#include <pcl/sample_consensus/sac_model_plane.h>
#include <pcl/sample_consensus/sac_model_sphere.h>
#include <pcl/sample_consensus/sac_model_cone.h>
#include <pcl/sample_consensus/sac_model_cylinder.h>
#include <pcl/sample_consensus/sac_model_circle.h>
#include <pcl/sample_consensus/sac_model_circle3d.h>
#include <pcl/sample_consensus/sac_model_line.h>
#include <pcl/sample_consensus/sac_model_normal_plane.h>
#include <pcl/sample_consensus/sac_model_normal_sphere.h>
#include <pcl/sample_consensus/sac_model_parallel_plane.h>
#include <pcl/sample_consensus/sac_model_normal_parallel_plane.h>
#include <pcl/features/normal_3d.h>
Include dependency graph for test_sample_consensus.cpp:

Go to the source code of this file.

Typedefs

typedef
SampleConsensusModelCircle2D
< PointXYZ >::Ptr 
SampleConsensusModelCircle2DPtr
typedef
SampleConsensusModelCircle3D
< PointXYZ >::Ptr 
SampleConsensusModelCircle3DPtr
typedef
SampleConsensusModelCone
< PointXYZ, Normal >::Ptr 
SampleConsensusModelConePtr
typedef
SampleConsensusModelCylinder
< PointXYZ, Normal >::Ptr 
SampleConsensusModelCylinderPtr
typedef
SampleConsensusModelLine
< PointXYZ >::Ptr 
SampleConsensusModelLinePtr
typedef
SampleConsensusModelNormalParallelPlane
< PointXYZ, Normal >::Ptr 
SampleConsensusModelNormalParallelPlanePtr
typedef
SampleConsensusModelNormalPlane
< PointXYZ, Normal >::Ptr 
SampleConsensusModelNormalPlanePtr
typedef
SampleConsensusModelNormalSphere
< PointXYZ, Normal >::Ptr 
SampleConsensusModelNormalSpherePtr
typedef
SampleConsensusModelParallelPlane
< PointXYZ >::Ptr 
SampleConsensusModelParallelPlanePtr
typedef
SampleConsensusModelPlane
< PointXYZ >::Ptr 
SampleConsensusModelPlanePtr
typedef SampleConsensusModel
< PointXYZ >::Ptr 
SampleConsensusModelPtr
typedef
SampleConsensusModelSphere
< PointXYZ >::Ptr 
SampleConsensusModelSpherePtr

Functions

int main (int argc, char **argv)
 TEST (SampleConsensusModelPlane, Base)
 TEST (RANSAC, Base)
 TEST (RANSAC, SampleConsensusModelPlane)
 TEST (LMedS, SampleConsensusModelPlane)
 TEST (MSAC, SampleConsensusModelPlane)
 TEST (RRANSAC, SampleConsensusModelPlane)
 TEST (RMSAC, SampleConsensusModelPlane)
 TEST (RANSAC, SampleConsensusModelNormalParallelPlane)
 TEST (MLESAC, SampleConsensusModelPlane)
 TEST (RANSAC, SampleConsensusModelSphere)
 TEST (RANSAC, SampleConsensusModelNormalSphere)
 TEST (RANSAC, SampleConsensusModelCone)
 TEST (RANSAC, SampleConsensusModelCylinder)
 TEST (RANSAC, SampleConsensusModelCircle2D)
 TEST (RANSAC, SampleConsensusModelCircle3D)
 TEST (RANSAC, SampleConsensusModelLine)
 TEST (RANSAC, SampleConsensusModelNormalPlane)
 TEST (SAC, InfiniteLoop)
template<typename ModelType , typename SacType >
void verifyPlaneSac (ModelType &model, SacType &sac, unsigned int inlier_number=2000, float tol=1e-1f, float refined_tol=1e-1f, float proj_tol=1e-3f)

Variables

PointCloud< PointXYZ >::Ptr cloud_ (new PointCloud< PointXYZ >())
vector< int > indices_
PointCloud< Normal >::Ptr normals_ (new PointCloud< Normal >())
float plane_coeffs_ [] = {-0.8964f, -0.5868f, -1.208f}

Typedef Documentation

Definition at line 72 of file test_sample_consensus.cpp.

Definition at line 73 of file test_sample_consensus.cpp.

Definition at line 71 of file test_sample_consensus.cpp.

Definition at line 70 of file test_sample_consensus.cpp.

Definition at line 74 of file test_sample_consensus.cpp.

Definition at line 78 of file test_sample_consensus.cpp.

Definition at line 75 of file test_sample_consensus.cpp.

Definition at line 76 of file test_sample_consensus.cpp.

Definition at line 77 of file test_sample_consensus.cpp.

Definition at line 68 of file test_sample_consensus.cpp.

Definition at line 67 of file test_sample_consensus.cpp.

Definition at line 69 of file test_sample_consensus.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 942 of file test_sample_consensus.cpp.

TEST ( SampleConsensusModelPlane  ,
Base   
)

Definition at line 137 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
Base   
)

Definition at line 161 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelPlane   
)

Definition at line 182 of file test_sample_consensus.cpp.

TEST ( LMedS  ,
SampleConsensusModelPlane   
)

Definition at line 195 of file test_sample_consensus.cpp.

TEST ( MSAC  ,
SampleConsensusModelPlane   
)

Definition at line 208 of file test_sample_consensus.cpp.

TEST ( RRANSAC  ,
SampleConsensusModelPlane   
)

Definition at line 221 of file test_sample_consensus.cpp.

TEST ( RMSAC  ,
SampleConsensusModelPlane   
)

Definition at line 237 of file test_sample_consensus.cpp.

Definition at line 253 of file test_sample_consensus.cpp.

TEST ( MLESAC  ,
SampleConsensusModelPlane   
)

Definition at line 318 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelSphere   
)

Definition at line 331 of file test_sample_consensus.cpp.

Definition at line 383 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelCone   
)

Definition at line 482 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelCylinder   
)

Definition at line 589 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelCircle2D   
)

Definition at line 673 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelCircle3D   
)

Definition at line 734 of file test_sample_consensus.cpp.

TEST ( RANSAC  ,
SampleConsensusModelLine   
)

Definition at line 805 of file test_sample_consensus.cpp.

Definition at line 872 of file test_sample_consensus.cpp.

TEST ( SAC  ,
InfiniteLoop   
)

Definition at line 887 of file test_sample_consensus.cpp.

template<typename ModelType , typename SacType >
void verifyPlaneSac ( ModelType &  model,
SacType &  sac,
unsigned int  inlier_number = 2000,
float  tol = 1e-1f,
float  refined_tol = 1e-1f,
float  proj_tol = 1e-3f 
)

Definition at line 88 of file test_sample_consensus.cpp.


Variable Documentation

vector<int> indices_

Definition at line 82 of file test_sample_consensus.cpp.

float plane_coeffs_[] = {-0.8964f, -0.5868f, -1.208f}

Definition at line 83 of file test_sample_consensus.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:48