Conversion functions between shape message and class representations. More...
#include <pcl/conversions.h>
#include <pcl_conversions/pcl_conversions.h>
#include <cob_3d_mapping_msgs/Shape.h>
#include <cob_3d_mapping_msgs/ShapeArray.h>
#include "cob_3d_mapping_common/polygon.h"
#include "cob_3d_mapping_common/cylinder.h"
#include <eigen_conversions/eigen_msg.h>
Go to the source code of this file.
Namespaces | |
namespace | cob_3d_mapping |
Functions | |
bool | cob_3d_mapping::fromROSMsg (const cob_3d_mapping_msgs::Shape &s, Polygon &p) |
Convert a shape message to a polygon. | |
bool | cob_3d_mapping::fromROSMsg (const cob_3d_mapping_msgs::Shape &s, Cylinder &c) |
Convert a shape message to a cylinder. | |
template<typename ShapeT > | |
int | cob_3d_mapping::getHullIndex (const ShapeT &s) |
template<typename PointT > | |
bool | cob_3d_mapping::shape2hull (const cob_3d_mapping_msgs::Shape &s, pcl::PointCloud< PointT > &hull) |
void | cob_3d_mapping::toROSMsg (const Polygon &p, cob_3d_mapping_msgs::Shape &s) |
Convert a polygon to a shape message. | |
void | cob_3d_mapping::toROSMsg (const Cylinder &c, cob_3d_mapping_msgs::Shape &s) |
Convert a cylinder to a shape message. |
Conversion functions between shape message and class representations.
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 ros_msg_conversions.h.