grasp
All Data Structures Namespaces Functions Modules
minBoundBox.h
1 /* Copyright: (C) 2014 iCub Facility - Istituto Italiano di Tecnologia
2  * Authors: Ilaria Gori
3  * email: ilaria.gori@iit.it
4  * Permission is granted to copy, distribute, and/or modify this program
5  * under the terms of the GNU General Public License, version 2 or any
6  * later version published by the Free Software Foundation.
7  *
8  * A copy of the license can be found in the file LICENSE located in the
9  * root directory.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14  * Public License for more details
15 */
16 
28 #ifndef __MIN_BOUND_BOX_H__
29 #define __MIN_BOUND_BOX_H__
30 
31 #include <string>
32 #include <algorithm>
33 #include <stdio.h>
34 #include <stdlib.h>
35 #include <iostream>
36 #include <fstream>
37 #include <sstream>
38 #include <vector>
39 #include <cmath>
40 #include <yarp/sig/Vector.h>
41 #include <yarp/math/Math.h>
42 #include <boost/thread/thread.hpp>
43 #include "pcl/common/common_headers.h"
44 #include <pcl/console/parse.h>
45 #include <pcl/point_types.h>
46 #include <pcl/surface/convex_hull.h>
47 #include <pcl/visualization/pcl_visualizer.h>
48 #include <iCub/data3D/Box3D.h>
49 #include <iCub/data3D/boundingBox.h>
50 
51 namespace iCub
52 {
53 namespace data3D
54 {
60 namespace MinimumBoundingBox
61 {
68  iCub::data3D::BoundingBox getMinimumBoundingBox(pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud);
69 }
70 }
71 }
72 #endif
73 
74 
iCub::data3D::BoundingBox getMinimumBoundingBox(pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud)
Given a point cloud (defined in the Point Cloud Library), it computes the minimum enclosing bounding ...
The Definition of the BoundingBox class.
Definition: boundingBox.h:61