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

 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. More...
 
Eigen::Vector3d shapes::computeShapeExtents (const ShapeMsg &shape_msg)
 Compute the extents of a shape. More...
 
Eigen::Vector3d shapes::computeShapeExtents (const Shape *shape)
 Compute the extents of a shape. More...
 
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. More...
 
bool shapes::constructMsgFromShape (const Shape *shape, ShapeMsg &shape_msg)
 Construct the message that corresponds to the shape. Return false on failure. More...
 
Shape * shapes::constructShapeFromMsg (const shape_msgs::SolidPrimitive &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure. More...
 
Shape * shapes::constructShapeFromMsg (const shape_msgs::Plane &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure. More...
 
Shape * shapes::constructShapeFromMsg (const shape_msgs::Mesh &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure. More...
 
Shape * shapes::constructShapeFromMsg (const ShapeMsg &shape_msg)
 Construct the shape that corresponds to the message. Return NULL on failure. More...
 
Shape * shapes::constructShapeFromText (std::istream &in)
 Construct a shape from plain text description. More...
 
void shapes::saveAsText (const Shape *shape, std::ostream &out)
 Save all the information about this shape as plain text. More...
 
const std::string & shapes::shapeStringName (const Shape *shape)
 Get the string name of the shape. More...
 


geometric_shapes
Author(s): Ioan Sucan , Gil Jones
autogenerated on Fri Jun 7 2019 21:59:29