Classes | |
class | Cylinder |
Class representing Cylinder shapes. More... | |
class | DominantColor |
Representing a dominant color of a surface patch. More... | |
struct | MergeConfig |
Struct with merge configuration. More... | |
class | MinimalRectangle2D |
Class for computing a minimal rectangle in 2D. More... | |
class | Polygon |
Class representing Polygon shapes. More... | |
class | PrimeSense |
Sensor model for PrimeSense cameras. More... | |
class | Shape |
Class, representing Shape objects. More... | |
Typedefs | |
typedef boost::shared_ptr< Shape > | ShapePtr |
Functions | |
bool | fromROSMsg (const cob_3d_mapping_msgs::Shape &s, Polygon &p) |
Convert a shape message to a polygon. | |
bool | fromROSMsg (const cob_3d_mapping_msgs::Shape &s, Cylinder &c) |
Convert a shape message to a cylinder. | |
template<typename ShapeT > | |
int | getHullIndex (const ShapeT &s) |
template<typename T > | |
T | max3 (const T &a, const T &b, const T &c) |
Computes the max value of three arguments. | |
template<typename T > | |
T | min3 (const T &a, const T &b, const T &c) |
Computes the min value of three arguments. | |
double | radiusAndOriginFromCloud (pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr in_cloud, std::vector< int > &indices, Eigen::Vector3f &origin, const Eigen::Vector3f &sym_axis) |
Get the radius and origin of a point cloud representing a cylinder. | |
template<typename PointT > | |
bool | shape2hull (const cob_3d_mapping_msgs::Shape &s, pcl::PointCloud< PointT > &hull) |
void | toROSMsg (const Polygon &p, cob_3d_mapping_msgs::Shape &s) |
Convert a polygon to a shape message. | |
void | toROSMsg (const Cylinder &c, cob_3d_mapping_msgs::Shape &s) |
Convert a cylinder to a shape message. |
typedef boost::shared_ptr<Shape> cob_3d_mapping::ShapePtr |
bool cob_3d_mapping::fromROSMsg | ( | const cob_3d_mapping_msgs::Shape & | s, |
Polygon & | p | ||
) | [inline] |
Convert a shape message to a polygon.
[in] | s | Shape message to be converted. |
[out] | p | The polygon. |
Definition at line 166 of file ros_msg_conversions.h.
bool cob_3d_mapping::fromROSMsg | ( | const cob_3d_mapping_msgs::Shape & | s, |
Cylinder & | c | ||
) | [inline] |
Convert a shape message to a cylinder.
[in] | s | Shape message to be converted. |
[out] | c | The cylinder. |
Definition at line 286 of file ros_msg_conversions.h.
int cob_3d_mapping::getHullIndex | ( | const ShapeT & | s | ) | [inline] |
Definition at line 76 of file ros_msg_conversions.h.
T cob_3d_mapping::max3 | ( | const T & | a, |
const T & | b, | ||
const T & | c | ||
) | [inline] |
Computes the max value of three arguments.
[in] | a | The first value. |
[in] | b | The second value. |
[in] | c | The third value. |
Definition at line 97 of file dominant_color.h.
T cob_3d_mapping::min3 | ( | const T & | a, |
const T & | b, | ||
const T & | c | ||
) | [inline] |
Computes the min value of three arguments.
[in] | a | The first value. |
[in] | b | The second value. |
[in] | c | The third value. |
Definition at line 81 of file dominant_color.h.
double cob_3d_mapping::radiusAndOriginFromCloud | ( | pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr | in_cloud, |
std::vector< int > & | indices, | ||
Eigen::Vector3f & | origin, | ||
const Eigen::Vector3f & | sym_axis | ||
) |
Get the radius and origin of a point cloud representing a cylinder.
[in] | in_cloud | The input point cloud. |
[in] | indices | The point indices representing the cylinder. |
[out] | origin | The origin of the cylinder. |
[in] | sym_axis | The symmetry axis of the cylinder. |
Definition at line 68 of file cylinder.cpp.
bool cob_3d_mapping::shape2hull | ( | const cob_3d_mapping_msgs::Shape & | s, |
pcl::PointCloud< PointT > & | hull | ||
) | [inline] |
Definition at line 84 of file ros_msg_conversions.h.
void cob_3d_mapping::toROSMsg | ( | const Polygon & | p, |
cob_3d_mapping_msgs::Shape & | s | ||
) | [inline] |
Convert a polygon to a shape message.
[in] | p | Polygon to be converted. |
[out] | s | The shape message. |
Definition at line 109 of file ros_msg_conversions.h.
void cob_3d_mapping::toROSMsg | ( | const Cylinder & | c, |
cob_3d_mapping_msgs::Shape & | s | ||
) | [inline] |
Convert a cylinder to a shape message.
[in] | c | Cylinder to be converted. |
[out] | s | The shape message. |
Definition at line 227 of file ros_msg_conversions.h.