Functions | Variables
sac_segmentation_plane.cpp File Reference
#include <pcl/PCLPointCloud2.h>
#include <pcl/io/pcd_io.h>
#include <pcl/sample_consensus/ransac.h>
#include <pcl/sample_consensus/sac_model_plane.h>
#include <pcl/segmentation/extract_clusters.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
Include dependency graph for sac_segmentation_plane.cpp:

Go to the source code of this file.

Functions

int batchProcess (const vector< string > &pcd_files, string &output_dir, int max_it, double thresh, bool negative)
void compute (const pcl::PCLPointCloud2::ConstPtr &input, pcl::PCLPointCloud2 &output, int max_iterations=1000, double threshold=0.05, bool negative=false)
bool loadCloud (const string &filename, pcl::PCLPointCloud2 &cloud)
int main (int argc, char **argv)
void printHelp (int, char **argv)
void saveCloud (const string &filename, const pcl::PCLPointCloud2 &output)

Variables

int default_max_iterations = 1000
bool default_negative = false
double default_threshold = 0.05
Eigen::Quaternionf orientation
Eigen::Vector4f translation

Function Documentation

int batchProcess ( const vector< string > &  pcd_files,
string output_dir,
int  max_it,
double  thresh,
bool  negative 
)

Definition at line 179 of file sac_segmentation_plane.cpp.

void compute ( const pcl::PCLPointCloud2::ConstPtr input,
pcl::PCLPointCloud2 output,
int  max_iterations = 1000,
double  threshold = 0.05,
bool  negative = false 
)

Definition at line 91 of file sac_segmentation_plane.cpp.

bool loadCloud ( const string filename,
pcl::PCLPointCloud2 cloud 
)

Definition at line 76 of file sac_segmentation_plane.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 208 of file sac_segmentation_plane.cpp.

void printHelp ( int  ,
char **  argv 
)

Definition at line 60 of file sac_segmentation_plane.cpp.

void saveCloud ( const string filename,
const pcl::PCLPointCloud2 output 
)

Definition at line 165 of file sac_segmentation_plane.cpp.


Variable Documentation

Definition at line 52 of file sac_segmentation_plane.cpp.

bool default_negative = false

Definition at line 54 of file sac_segmentation_plane.cpp.

double default_threshold = 0.05

Definition at line 53 of file sac_segmentation_plane.cpp.

Eigen::Quaternionf orientation

Definition at line 57 of file sac_segmentation_plane.cpp.

Eigen::Vector4f translation

Definition at line 56 of file sac_segmentation_plane.cpp.



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