Functions | Variables
cluster_extraction.cpp File Reference
#include <sensor_msgs/PointCloud2.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/segmentation/extract_clusters.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <vector>
#include <boost/lexical_cast.hpp>
#include <boost/make_shared.hpp>
Include dependency graph for tools/cluster_extraction.cpp:

Go to the source code of this file.

Functions

void compute (const sensor_msgs::PointCloud2::ConstPtr &input, std::vector< sensor_msgs::PointCloud2::Ptr > &output, int min, int max, double tolerance)
bool loadCloud (const std::string &filename, sensor_msgs::PointCloud2 &cloud)
int main (int argc, char **argv)
void printHelp (int, char **argv)
void saveCloud (const std::string &filename, const std::vector< sensor_msgs::PointCloud2::Ptr > &output)

Variables

int default_max = 25000
int default_min = 100
double default_tolerance = 0.02
Eigen::Quaternionf orientation
Eigen::Vector4f translation

Function Documentation

void compute ( const sensor_msgs::PointCloud2::ConstPtr &  input,
std::vector< sensor_msgs::PointCloud2::Ptr > &  output,
int  min,
int  max,
double  tolerance 
)

Definition at line 90 of file tools/cluster_extraction.cpp.

bool loadCloud ( const std::string &  filename,
sensor_msgs::PointCloud2 &  cloud 
)

Definition at line 75 of file tools/cluster_extraction.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 152 of file tools/cluster_extraction.cpp.

void printHelp ( int  ,
char **  argv 
)

Definition at line 62 of file tools/cluster_extraction.cpp.

void saveCloud ( const std::string &  filename,
const std::vector< sensor_msgs::PointCloud2::Ptr > &  output 
)

Definition at line 131 of file tools/cluster_extraction.cpp.


Variable Documentation

int default_max = 25000

Definition at line 55 of file tools/cluster_extraction.cpp.

int default_min = 100

Definition at line 54 of file tools/cluster_extraction.cpp.

double default_tolerance = 0.02

Definition at line 56 of file tools/cluster_extraction.cpp.

Eigen::Quaternionf orientation

Definition at line 59 of file tools/cluster_extraction.cpp.

Eigen::Vector4f translation

Definition at line 58 of file tools/cluster_extraction.cpp.



pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:12