Functions | Variables
voxel_grid.cpp File Reference
#include <sensor_msgs/PointCloud2.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 sensor_msgs::PointCloud2::ConstPtr &input, sensor_msgs::PointCloud2 &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, sensor_msgs::PointCloud2 &cloud)
int main (int argc, char **argv)
void printHelp (int, char **argv)
void saveCloud (const std::string &filename, const sensor_msgs::PointCloud2 &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 sensor_msgs::PointCloud2::ConstPtr &  input,
sensor_msgs::PointCloud2 &  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.

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

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

int main ( int  argc,
char **  argv 
)

Definition at line 119 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 sensor_msgs::PointCloud2 &  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 Mon Oct 6 2014 03:19:14