#include <sensor_msgs/PointCloud2.h>
#include <pcl/io/pcd_io.h>
#include <pcl/io/vtk_io.h>
#include <pcl/surface/marching_cubes_hoppe.h>
#include <pcl/surface/marching_cubes_rbf.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 sensor_msgs::PointCloud2::ConstPtr &input, PolygonMesh &output, int hoppe_or_rbf, float iso_level, int grid_res, float extend_percentage, float off_surface_displacement) |
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 PolygonMesh &output) |
Variables | |
float | default_extend_percentage = 0.0f |
int | default_grid_res = 50 |
int | default_hoppe_or_rbf = 0 |
float | default_iso_level = 0.0f |
float | default_off_surface_displacement = 0.01f |
void compute | ( | const sensor_msgs::PointCloud2::ConstPtr & | input, |
PolygonMesh & | output, | ||
int | hoppe_or_rbf, | ||
float | iso_level, | ||
int | grid_res, | ||
float | extend_percentage, | ||
float | off_surface_displacement | ||
) |
Definition at line 90 of file marching_cubes_reconstruction.cpp.
bool loadCloud | ( | const std::string & | filename, |
sensor_msgs::PointCloud2 & | cloud | ||
) |
Definition at line 75 of file marching_cubes_reconstruction.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 134 of file marching_cubes_reconstruction.cpp.
void printHelp | ( | int | , |
char ** | argv | ||
) |
Definition at line 58 of file marching_cubes_reconstruction.cpp.
void saveCloud | ( | const std::string & | filename, |
const PolygonMesh & | output | ||
) |
Definition at line 121 of file marching_cubes_reconstruction.cpp.
float default_extend_percentage = 0.0f |
Definition at line 53 of file marching_cubes_reconstruction.cpp.
int default_grid_res = 50 |
Definition at line 54 of file marching_cubes_reconstruction.cpp.
int default_hoppe_or_rbf = 0 |
Definition at line 52 of file marching_cubes_reconstruction.cpp.
float default_iso_level = 0.0f |
Definition at line 51 of file marching_cubes_reconstruction.cpp.
float default_off_surface_displacement = 0.01f |
Definition at line 55 of file marching_cubes_reconstruction.cpp.