#include <pcl/common/time.h>
#include <pcl/console/parse.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/png_io.h>
#include <pcl/io/pcd_io.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/segmentation/supervoxel_clustering.h>
#include <vtkImageReader2Factory.h>
#include <vtkImageReader2.h>
#include <vtkImageData.h>
#include <vtkImageFlip.h>
Go to the source code of this file.
Typedefs | |
typedef pcl::PointCloud< PointT > | PointCloudT |
typedef pcl::PointCloud< PointLT > | PointLCloudT |
typedef pcl::PointXYZL | PointLT |
typedef pcl::PointCloud< PointNT > | PointNCloudT |
typedef pcl::PointNormal | PointNT |
typedef pcl::PointXYZRGBA | PointT |
Functions | |
void | addSupervoxelConnectionsToViewer (PointT &supervoxel_center, PointCloudT &adjacent_supervoxel_centers, std::string supervoxel_name, boost::shared_ptr< pcl::visualization::PCLVisualizer > &viewer) |
void | keyboard_callback (const pcl::visualization::KeyboardEvent &event, void *) |
int | main (int argc, char **argv) |
void | printText (boost::shared_ptr< pcl::visualization::PCLVisualizer > viewer) |
void | removeText (boost::shared_ptr< pcl::visualization::PCLVisualizer > viewer) |
Variables | |
bool | show_graph = true |
bool | show_help = true |
bool | show_normals = false |
bool | show_refined = false |
bool | show_supervoxel_normals = false |
bool | show_supervoxels = true |
bool | show_voxel_centroids = true |
typedef pcl::PointCloud<PointT> PointCloudT |
Definition at line 17 of file example_supervoxels.cpp.
typedef pcl::PointCloud<PointLT> PointLCloudT |
Definition at line 21 of file example_supervoxels.cpp.
typedef pcl::PointXYZL PointLT |
Definition at line 20 of file example_supervoxels.cpp.
typedef pcl::PointCloud<PointNT> PointNCloudT |
Definition at line 19 of file example_supervoxels.cpp.
typedef pcl::PointNormal PointNT |
Definition at line 18 of file example_supervoxels.cpp.
typedef pcl::PointXYZRGBA PointT |
Definition at line 16 of file example_supervoxels.cpp.
void addSupervoxelConnectionsToViewer | ( | PointT & | supervoxel_center, |
PointCloudT & | adjacent_supervoxel_centers, | ||
std::string | supervoxel_name, | ||
boost::shared_ptr< pcl::visualization::PCLVisualizer > & | viewer | ||
) |
Definition at line 452 of file example_supervoxels.cpp.
void keyboard_callback | ( | const pcl::visualization::KeyboardEvent & | event, |
void * | |||
) |
Definition at line 32 of file example_supervoxels.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 62 of file example_supervoxels.cpp.
void printText | ( | boost::shared_ptr< pcl::visualization::PCLVisualizer > | viewer | ) |
Definition at line 482 of file example_supervoxels.cpp.
void removeText | ( | boost::shared_ptr< pcl::visualization::PCLVisualizer > | viewer | ) |
Definition at line 514 of file example_supervoxels.cpp.
bool show_graph = true |
Definition at line 26 of file example_supervoxels.cpp.
bool show_help = true |
Definition at line 29 of file example_supervoxels.cpp.
bool show_normals = false |
Definition at line 27 of file example_supervoxels.cpp.
bool show_refined = false |
Definition at line 28 of file example_supervoxels.cpp.
bool show_supervoxel_normals = false |
Definition at line 25 of file example_supervoxels.cpp.
bool show_supervoxels = true |
Definition at line 24 of file example_supervoxels.cpp.
bool show_voxel_centroids = true |
Definition at line 23 of file example_supervoxels.cpp.