Namespaces | Classes | Functions | Variables
robot_self_filter::bodies Namespace Reference

Namespaces

 detail
 

Classes

class  Body
 A body is a shape + its pose. Point inclusion, ray intersection can be tested, volumes and bounding spheres can be computed. More...
 
struct  BoundingSphere
 Definition of a sphere that bounds another object. More...
 
class  Box
 Definition of a box. More...
 
class  ConvexMesh
 Definition of a convex mesh. Convex hull is computed for a given shape::Mesh. More...
 
class  Cylinder
 Definition of a cylinder. More...
 
class  Sphere
 Definition of a sphere. More...
 

Functions

BodycreateBodyFromShape (const shapes::Shape *shape)
 Create a body from a given shape. More...
 
static double distanceSQR (const tf::Vector3 &p, const tf::Vector3 &origin, const tf::Vector3 &dir)
 Compute the square of the distance between a ray and a point Note: this requires 'dir' to be normalized. More...
 
void mergeBoundingSpheres (const std::vector< BoundingSphere > &spheres, BoundingSphere &mergedSphere)
 Compute a bounding sphere to enclose a set of bounding spheres. More...
 

Variables

static const double ZERO = 1e-9
 

Function Documentation

bodies::Body * robot_self_filter::bodies::createBodyFromShape ( const shapes::Shape shape)

Create a body from a given shape.

Definition at line 46 of file bodies.cpp.

static double robot_self_filter::bodies::distanceSQR ( const tf::Vector3 p,
const tf::Vector3 origin,
const tf::Vector3 dir 
)
inlinestatic

Compute the square of the distance between a ray and a point Note: this requires 'dir' to be normalized.

Definition at line 110 of file bodies.cpp.

void robot_self_filter::bodies::mergeBoundingSpheres ( const std::vector< BoundingSphere > &  spheres,
BoundingSphere mergedSphere 
)

Compute a bounding sphere to enclose a set of bounding spheres.

Definition at line 73 of file bodies.cpp.

Variable Documentation

const double robot_self_filter::bodies::ZERO = 1e-9
static

Definition at line 106 of file bodies.cpp.



robot_self_filter
Author(s): Eitan Marder-Eppstein
autogenerated on Thu Jun 6 2019 19:59:05