Functions | Variables
voxel_grid.cpp File Reference
#include <pcl/PCLPointCloud2.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
Include dependency graph for tools/voxel_grid.cpp:

Go to the source code of this file.

Functions

void compute (const pcl::PCLPointCloud2::ConstPtr &input, pcl::PCLPointCloud2 &output, float leaf_x, float leaf_y, float leaf_z, const std::string &field, double fmin, double fmax)
std::string default_field ("z")
bool loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud)
int main (int argc, char **argv)
void printHelp (int, char **argv)
void saveCloud (const std::string &filename, const pcl::PCLPointCloud2 &output)

Variables

double default_filter_max = std::numeric_limits<double>::max ()
double default_filter_min = -std::numeric_limits<double>::max ()
float default_leaf_size = 0.01f

Function Documentation

void compute ( const pcl::PCLPointCloud2::ConstPtr input,
pcl::PCLPointCloud2 output,
float  leaf_x,
float  leaf_y,
float  leaf_z,
const std::string field,
double  fmin,
double  fmax 
)

Definition at line 86 of file tools/voxel_grid.cpp.

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

Definition at line 71 of file tools/voxel_grid.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 120 of file tools/voxel_grid.cpp.

void printHelp ( int  ,
char **  argv 
)

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

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

Definition at line 105 of file tools/voxel_grid.cpp.


Variable Documentation

double default_filter_max = std::numeric_limits<double>::max ()

Definition at line 53 of file tools/voxel_grid.cpp.

double default_filter_min = -std::numeric_limits<double>::max ()

Definition at line 52 of file tools/voxel_grid.cpp.

float default_leaf_size = 0.01f

Definition at line 50 of file tools/voxel_grid.cpp.



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