Namespaces | Functions
shape_operations.h File Reference
#include "geometric_shapes/shapes.h"
#include "geometric_shapes/shape_messages.h"
#include "geometric_shapes/mesh_operations.h"
#include <visualization_msgs/Marker.h>
#include <iostream>
Include dependency graph for shape_operations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shapes
 

Definition of various shapes. No properties such as position are included. These are simply the descriptions and dimensions of shapes.


Functions

void shapes::computeShapeBoundingSphere (const Shape *shape, Eigen::Vector3d &center, double &radius)
 Compute a sphere bounding a shape.
Eigen::Vector3d shapes::computeShapeExtents (const ShapeMsg &shape_msg)
 Compute the extents of a shape.
Eigen::Vector3d shapes::computeShapeExtents (const Shape *shape)
 Compute the extents of a shape.
bool shapes::constructMarkerFromShape (const Shape *shape, visualization_msgs::Marker &mk, bool use_mesh_triangle_list=false)
 Construct the marker that corresponds to the shape. Return false on failure.
bool shapes::constructMsgFromShape (const Shape *shape, ShapeMsg &shape_msg)
 Construct the message that corresponds to the shape. Return false on failure.
Shape * shapes::constructShapeFromMsg (const shape_msgs::SolidPrimitive &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure.
Shape * shapes::constructShapeFromMsg (const shape_msgs::Plane &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure.
Shape * shapes::constructShapeFromMsg (const shape_msgs::Mesh &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure.
Shape * shapes::constructShapeFromMsg (const ShapeMsg &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure.
Shape * shapes::constructShapeFromText (std::istream &in)
 Construct a shape from plain text description.
void shapes::saveAsText (const Shape *shape, std::ostream &out)
 Save all the information about this shape as plain text.
const std::string & shapes::shapeStringName (const Shape *shape)
 Get the string name of the shape.


geometric_shapes
Author(s): Ioan Sucan
autogenerated on Wed Aug 26 2015 11:40:00