Classes | Typedefs | Functions
cob_3d_mapping Namespace Reference

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< ShapeShapePtr

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 >
max3 (const T &a, const T &b, const T &c)
 Computes the max value of three arguments.
template<typename 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 Documentation

typedef boost::shared_ptr<Shape> cob_3d_mapping::ShapePtr

Boosted shared pointer to shape.

Definition at line 127 of file shape.h.


Function Documentation

bool cob_3d_mapping::fromROSMsg ( const cob_3d_mapping_msgs::Shape &  s,
Polygon &  p 
) [inline]

Convert a shape message to a polygon.

Parameters:
[in]sShape message to be converted.
[out]pThe polygon.
Returns:
Conversion successful.

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.

Parameters:
[in]sShape message to be converted.
[out]cThe cylinder.
Returns:
Conversion successful.

Definition at line 286 of file ros_msg_conversions.h.

template<typename ShapeT >
int cob_3d_mapping::getHullIndex ( const ShapeT &  s) [inline]

Definition at line 76 of file ros_msg_conversions.h.

template<typename T >
T cob_3d_mapping::max3 ( const T &  a,
const T &  b,
const T &  c 
) [inline]

Computes the max value of three arguments.

Parameters:
[in]aThe first value.
[in]bThe second value.
[in]cThe third value.
Returns:
The max of a,b and c.

Definition at line 97 of file dominant_color.h.

template<typename T >
T cob_3d_mapping::min3 ( const T &  a,
const T &  b,
const T &  c 
) [inline]

Computes the min value of three arguments.

Parameters:
[in]aThe first value.
[in]bThe second value.
[in]cThe third value.
Returns:
The min of a,b and c.

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.

Parameters:
[in]in_cloudThe input point cloud.
[in]indicesThe point indices representing the cylinder.
[out]originThe origin of the cylinder.
[in]sym_axisThe symmetry axis of the cylinder.
Returns:
The radius of the cylinder.

Definition at line 68 of file cylinder.cpp.

template<typename PointT >
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.

Parameters:
[in]pPolygon to be converted.
[out]sThe shape message.
Returns:
nothing

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.

Parameters:
[in]cCylinder to be converted.
[out]sThe shape message.
Returns:
nothing

Definition at line 227 of file ros_msg_conversions.h.



cob_3d_mapping_common
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:02:19