OOBB.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef CGAL_FOUND
4 
5 #include <pcl/point_types.h>
6 #include <pcl/point_cloud.h>
7 
8 #include <SimoxUtility/shapes/OrientedBox.h>
9 
10 
11 namespace armarx
12 {
13 
14  simox::OrientedBox<float> calculate2dOOBB(const std::vector<Eigen::Vector3f>& points, const Eigen::Vector3f& dir);
15  simox::OrientedBox<double> calculate2dOOBB(const std::vector<Eigen::Vector3d>& points, const Eigen::Vector3d& dir);
16 
17  simox::OrientedBox<float> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZ>& cloud, const Eigen::Vector3f& dir);
18  simox::OrientedBox<double> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZ>& cloud, const Eigen::Vector3d& dir);
19 
20  simox::OrientedBox<float> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZL>& cloud, const Eigen::Vector3f& dir);
21  simox::OrientedBox<double> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZL>& cloud, const Eigen::Vector3d& dir);
22 
23  simox::OrientedBox<float> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZRGB>& cloud, const Eigen::Vector3f& dir);
24  simox::OrientedBox<double> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZRGB>& cloud, const Eigen::Vector3d& dir);
25 
26  simox::OrientedBox<float> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZRGBA>& cloud, const Eigen::Vector3f& dir);
27  simox::OrientedBox<double> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZRGBA>& cloud, const Eigen::Vector3d& dir);
28 
29  simox::OrientedBox<float> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZRGBL>& cloud, const Eigen::Vector3f& dir);
30  simox::OrientedBox<double> calculate2dOOBB(const pcl::PointCloud<pcl::PointXYZRGBL>& cloud, const Eigen::Vector3d& dir);
31 
32 }
33 
34 
35 #endif
simox::OrientedBox
Definition: ice_conversions.h:18
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28