#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/recognition/ransac_based/orr_octree.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <vtkPolyData.h>
#include <vtkAppendPolyData.h>
#include <vtkPolyDataReader.h>
#include <vtkCubeSource.h>
#include <vtkPointData.h>
#include <vtkRenderWindow.h>
#include <vector>
#include <list>
#include <cstdlib>
#include <cstring>
#include <cstdio>
Go to the source code of this file.
Classes | |
class | CallbackParameters |
Defines | |
#define | _SHOW_OCTREE_NORMALS_ |
Functions | |
void | keyboardCB (const pcl::visualization::KeyboardEvent &event, void *params_void) |
int | main (int argc, char **argv) |
void | node_to_cube (ORROctree::Node *node, vtkAppendPolyData *additive_octree) |
void | run (const char *file_name, float voxel_size) |
void | show_octree (ORROctree *octree, PCLVisualizer &viz, bool show_full_leaves_only) |
void | updateViewer (ORROctree &octree, PCLVisualizer &viz, std::vector< ORROctree::Node * >::iterator leaf) |
bool | vtk_to_pointcloud (const char *file_name, PointCloud< PointXYZ > &pcl_points, PointCloud< Normal > *pcl_normals) |
#define _SHOW_OCTREE_NORMALS_ |
Definition at line 80 of file obj_rec_ransac_orr_octree.cpp.
void keyboardCB | ( | const pcl::visualization::KeyboardEvent & | event, |
void * | params_void | ||
) |
Definition at line 118 of file obj_rec_ransac_orr_octree.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 96 of file obj_rec_ransac_orr_octree.cpp.
void node_to_cube | ( | ORROctree::Node * | node, |
vtkAppendPolyData * | additive_octree | ||
) |
Definition at line 299 of file obj_rec_ransac_orr_octree.cpp.
void run | ( | const char * | file_name, |
float | voxel_size | ||
) |
Definition at line 182 of file obj_rec_ransac_orr_octree.cpp.
void show_octree | ( | ORROctree * | octree, |
PCLVisualizer & | viz, | ||
bool | show_full_leaves_only | ||
) |
Definition at line 312 of file obj_rec_ransac_orr_octree.cpp.
void updateViewer | ( | ORROctree & | octree, |
PCLVisualizer & | viz, | ||
std::vector< ORROctree::Node * >::iterator | leaf | ||
) |
Definition at line 141 of file obj_rec_ransac_orr_octree.cpp.
bool vtk_to_pointcloud | ( | const char * | file_name, |
PointCloud< PointXYZ > & | pcl_points, | ||
PointCloud< Normal > * | pcl_normals | ||
) |
Definition at line 248 of file obj_rec_ransac_orr_octree.cpp.