#include <pcl/PCLPointCloud2.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <pcl/filters/passthrough.h>
Go to the source code of this file.
Functions | |
int | batchProcess (const vector< string > &pcd_files, string &output_dir, std::string field_name, float min, float max, bool inside, bool keep_organized) |
void | compute (const pcl::PCLPointCloud2::ConstPtr &input, pcl::PCLPointCloud2 &output, std::string field_name, float min, float max, bool inside, bool keep_organized) |
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 | |
std::string | default_field_name = "z" |
bool | default_inside = true |
bool | default_keep_organized = true |
float | default_max = 1.0f |
float | default_min = 0.0f |
int batchProcess | ( | const vector< string > & | pcd_files, |
string & | output_dir, | ||
std::string | field_name, | ||
float | min, | ||
float | max, | ||
bool | inside, | ||
bool | keep_organized | ||
) |
Definition at line 127 of file passthrough_filter.cpp.
void compute | ( | const pcl::PCLPointCloud2::ConstPtr & | input, |
pcl::PCLPointCloud2 & | output, | ||
std::string | field_name, | ||
float | min, | ||
float | max, | ||
bool | inside, | ||
bool | keep_organized | ||
) |
Definition at line 92 of file passthrough_filter.cpp.
bool loadCloud | ( | const std::string & | filename, |
pcl::PCLPointCloud2 & | cloud | ||
) |
Definition at line 77 of file passthrough_filter.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 158 of file passthrough_filter.cpp.
void printHelp | ( | int | , |
char ** | argv | ||
) |
Definition at line 60 of file passthrough_filter.cpp.
void saveCloud | ( | const std::string & | filename, |
const pcl::PCLPointCloud2 & | output | ||
) |
Definition at line 113 of file passthrough_filter.cpp.
Definition at line 57 of file passthrough_filter.cpp.
bool default_inside = true |
Definition at line 55 of file passthrough_filter.cpp.
bool default_keep_organized = true |
Definition at line 56 of file passthrough_filter.cpp.
float default_max = 1.0f |
Definition at line 54 of file passthrough_filter.cpp.
float default_min = 0.0f |
Definition at line 53 of file passthrough_filter.cpp.