Description: More...
#include "cob_3d_mapping_tools/point_generator.h"
#include <cob_3d_mapping_common/label_defines.h>
#include <boost/program_options.hpp>
#include <pcl/io/pcd_io.h>
#include <pcl/point_cloud.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/visualization/point_cloud_handlers.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/filters/voxel_grid.h>
#include <math.h>
Go to the source code of this file.
Typedefs | |
typedef visualization::PointCloudColorHandlerRGBField < PointXYZRGBA > | ColorHdlRGBA |
typedef Eigen::Vector3f | Vec |
Functions | |
string | fl2label (const float &f, const size_t &precision) |
converts a float to string with a defined precision. | |
int | main (int argc, char **argv) |
creates a synthetic scene consisting of spheres and cylinders with various sizes | |
void | readOptions (int argc, char *argv[]) |
Variables | |
string | file |
string | folder |
float | noise |
bool | visualize |
Description:
ToDo:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.
You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file create_synthetic_radii_test.cpp.
typedef visualization::PointCloudColorHandlerRGBField<PointXYZRGBA> ColorHdlRGBA |
Definition at line 80 of file create_synthetic_radii_test.cpp.
typedef Eigen::Vector3f Vec |
Definition at line 81 of file create_synthetic_radii_test.cpp.
string fl2label | ( | const float & | f, |
const size_t & | precision | ||
) |
converts a float to string with a defined precision.
Definition at line 122 of file create_synthetic_radii_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
creates a synthetic scene consisting of spheres and cylinders with various sizes
Definition at line 139 of file create_synthetic_radii_test.cpp.
void readOptions | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 88 of file create_synthetic_radii_test.cpp.
string file |
Definition at line 83 of file create_synthetic_radii_test.cpp.
string folder |
Definition at line 85 of file create_synthetic_radii_test.cpp.
float noise |
Definition at line 86 of file create_synthetic_radii_test.cpp.
bool visualize |
Definition at line 84 of file create_synthetic_radii_test.cpp.