#include "geometric_shapes/shape_operations.h"
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <set>
#include <float.h>
#include <console_bridge/console.h>
#include <Eigen/Geometry>
#include <geometric_shapes/shape_to_marker.h>
#include <geometric_shapes/shape_extents.h>
#include <geometric_shapes/solid_primitive_dims.h>
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 ¢er, double &radius) |
Compute a sphere bounding a shape. More... | |
Eigen::Vector3d | shapes::computeShapeExtents (const Shape *shape) |
Compute the extents of a shape. More... | |
Eigen::Vector3d | shapes::computeShapeExtents (const ShapeMsg &shape_msg) |
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::Mesh &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::SolidPrimitive &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... | |
|
private |
Definition at line 203 of file shape_operations.cpp.
|
private |
Definition at line 202 of file shape_operations.cpp.