#include <pcl/recognition/ransac_based/obj_rec_ransac.h>#include <pcl/visualization/pcl_visualizer.h>#include <pcl/console/print.h>#include <pcl/console/parse.h>#include <pcl/io/pcd_io.h>#include <pcl/point_cloud.h>#include <vtkPolyDataReader.h>#include <vtkRenderWindow.h>#include <vtkTransformPolyDataFilter.h>#include <vtkDoubleArray.h>#include <vtkDataArray.h>#include <vtkPointData.h>#include <vtkTransform.h>#include <vtkHedgeHog.h>#include <vtkMatrix4x4.h>#include <algorithm>#include <cstdio>#include <vector>
Go to the source code of this file.
Classes | |
| class | CallbackParameters |
Defines | |
| #define | _SHOW_OCTREE_POINTS_ |
Functions | |
| void | arrayToVtkMatrix (const float *a, vtkMatrix4x4 *m) |
| bool | compareHypotheses (const Hypothesis &a, const Hypothesis &b) |
| void | keyboardCB (const pcl::visualization::KeyboardEvent &event, void *params_void) |
| int | main (int argc, char **argv) |
| void | run (float pair_width, float voxel_size, float max_coplanarity_angle, int num_hypotheses_to_show) |
| void | showHypothesisAsCoordinateFrame (Hypothesis &hypo, CallbackParameters *parameters, string frame_name) |
| void | update (CallbackParameters *params) |
| bool | vtk_to_pointcloud (const char *file_name, PointCloud< PointXYZ > &pcl_points, PointCloud< Normal > &pcl_normals, vtkPolyData *vtk_dst=NULL) |
| #define _SHOW_OCTREE_POINTS_ |
Definition at line 76 of file obj_rec_ransac_accepted_hypotheses.cpp.
| void arrayToVtkMatrix | ( | const float * | a, |
| vtkMatrix4x4 * | m | ||
| ) |
Definition at line 217 of file obj_rec_ransac_accepted_hypotheses.cpp.
| bool compareHypotheses | ( | const Hypothesis & | a, |
| const Hypothesis & | b | ||
| ) |
Definition at line 209 of file obj_rec_ransac_accepted_hypotheses.cpp.
| void keyboardCB | ( | const pcl::visualization::KeyboardEvent & | event, |
| void * | params_void | ||
| ) |
Definition at line 384 of file obj_rec_ransac_accepted_hypotheses.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 468 of file obj_rec_ransac_accepted_hypotheses.cpp.
| void run | ( | float | pair_width, |
| float | voxel_size, | ||
| float | max_coplanarity_angle, | ||
| int | num_hypotheses_to_show | ||
| ) |
Definition at line 405 of file obj_rec_ransac_accepted_hypotheses.cpp.
| void showHypothesisAsCoordinateFrame | ( | Hypothesis & | hypo, |
| CallbackParameters * | parameters, | ||
| string | frame_name | ||
| ) |
Definition at line 160 of file obj_rec_ransac_accepted_hypotheses.cpp.
| void update | ( | CallbackParameters * | params | ) |
Definition at line 230 of file obj_rec_ransac_accepted_hypotheses.cpp.
| bool vtk_to_pointcloud | ( | const char * | file_name, |
| PointCloud< PointXYZ > & | pcl_points, | ||
| PointCloud< Normal > & | pcl_normals, | ||
| vtkPolyData * | vtk_dst = NULL |
||
| ) |
Definition at line 104 of file obj_rec_ransac_accepted_hypotheses.cpp.