#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>
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 |
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.
std::string default_field | ( | "z" | ) |
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.
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.