Classes of different types of geometric shapes. More...
Classes | |
class | hpp::fcl::Box |
Center at zero point, axis aligned box. More... | |
class | hpp::fcl::Capsule |
Capsule It is where is the distance between the point x and the capsule segment AB, with . More... | |
class | hpp::fcl::Cone |
Cone The base of the cone is at and the top is at . More... | |
class | hpp::fcl::Convex< PolygonT > |
Convex polytope. More... | |
class | hpp::fcl::ConvexBase |
Base for convex polytope. More... | |
class | hpp::fcl::Cylinder |
Cylinder along Z axis. The cylinder is defined at its centroid. More... | |
class | hpp::fcl::Ellipsoid |
Ellipsoid centered at point zero. More... | |
class | hpp::fcl::Halfspace |
Half Space: this is equivalent to the Plane in ODE. The separation plane is defined as n * x = d; Points in the negative side of the separation plane (i.e. {x | n * x < d}) are inside the half space and points in the positive side of the separation plane (i.e. {x | n * x > d}) are outside the half space. More... | |
struct | hpp::fcl::ConvexBase::Neighbors |
class | hpp::fcl::Plane |
Infinite plane. More... | |
class | hpp::fcl::Sphere |
Center at zero point sphere. More... | |
class | hpp::fcl::TriangleP |
Triangle stores the points instead of only indices of points. More... | |
Classes of different types of geometric shapes.
|
inline |
Default constructor.
Definition at line 145 of file shape/geometric_shapes.h.
|
inline |
Definition at line 132 of file shape/geometric_shapes.h.
|
inline |
Definition at line 130 of file shape/geometric_shapes.h.
Definition at line 127 of file shape/geometric_shapes.h.
|
inline |
Default constructor.
Definition at line 336 of file shape/geometric_shapes.h.
|
inline |
Definition at line 342 of file shape/geometric_shapes.h.
Definition at line 338 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new TriangleP.
Implements hpp::fcl::CollisionGeometry.
Definition at line 82 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Box.
Implements hpp::fcl::CollisionGeometry.
Definition at line 142 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Sphere.
Implements hpp::fcl::CollisionGeometry.
Definition at line 206 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Ellipsoid.
Implements hpp::fcl::CollisionGeometry.
Definition at line 271 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Capsule.
Implements hpp::fcl::CollisionGeometry.
Definition at line 346 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Cone.
Implements hpp::fcl::CollisionGeometry.
Definition at line 427 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Cylinder.
Implements hpp::fcl::CollisionGeometry.
Definition at line 522 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone (deep copy).
Implements hpp::fcl::CollisionGeometry.
Reimplemented in hpp::fcl::Convex< PolygonT >.
Definition at line 602 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Halfspace.
Implements hpp::fcl::CollisionGeometry.
Definition at line 755 of file shape/geometric_shapes.h.
|
inlinevirtual |
Clone *this into a new Plane.
Implements hpp::fcl::CollisionGeometry.
Definition at line 835 of file shape/geometric_shapes.h.
|
private |
Definition at line 91 of file src/shape/geometric_shapes.cpp.
|
inlinevirtual |
compute center of mass
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 455 of file shape/geometric_shapes.h.
|
virtual |
virtual function of compute AABB in local coordinate
Implements hpp::fcl::CollisionGeometry.
Definition at line 176 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 122 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 128 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 134 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 140 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 146 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 152 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 158 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 164 of file src/shape/geometric_shapes.cpp.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
Definition at line 170 of file src/shape/geometric_shapes.cpp.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 158 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 217 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 283 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 365 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 446 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 541 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 156 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 222 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 293 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 360 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 441 of file shape/geometric_shapes.h.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 536 of file shape/geometric_shapes.h.
|
inline |
Default constructor.
Definition at line 417 of file shape/geometric_shapes.h.
|
inline |
Definition at line 423 of file shape/geometric_shapes.h.
Definition at line 419 of file shape/geometric_shapes.h.
|
inlineprotected |
Construct an uninitialized convex object Initialization is done with ConvexBase::initialize.
Definition at line 664 of file shape/geometric_shapes.h.
|
protected |
Copy constructor Only the list of neighbors is copied.
Definition at line 58 of file src/shape/geometric_shapes.cpp.
|
static |
Build a convex hull based on Qhull library and store the vertices and optionally the triangles.
points,num_points | the points whose convex hull should be computed. |
keepTriangles | if true , returns a Convex<Triangle> object which contains the triangle of the shape. |
qhullCommand | the command sent to qhull.
|
HPP_FCL_HAS_QHULL
set to ON
. Definition at line 46 of file src/shape/convex.cpp.
|
inline |
Definition at line 630 of file shape/geometric_shapes.h.
|
inline |
Default constructor.
Definition at line 504 of file shape/geometric_shapes.h.
|
inline |
Definition at line 510 of file shape/geometric_shapes.h.
Definition at line 506 of file shape/geometric_shapes.h.
Definition at line 759 of file shape/geometric_shapes.h.
Definition at line 839 of file shape/geometric_shapes.h.
|
inline |
Default constructor.
Definition at line 261 of file shape/geometric_shapes.h.
|
inline |
Definition at line 268 of file shape/geometric_shapes.h.
|
inlineexplicit |
Definition at line 266 of file shape/geometric_shapes.h.
Definition at line 263 of file shape/geometric_shapes.h.
|
inlinevirtual |
get the node type
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 87 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a box.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 154 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a sphere.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 215 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: an ellipsoid.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 281 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a capsule.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 358 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a cone.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 439 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a cylinder.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 534 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a conex polytope.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 620 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a half space.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 765 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get node type: a plane.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 845 of file shape/geometric_shapes.h.
|
inlinevirtual |
Get object type: a geometric shape.
Reimplemented from hpp::fcl::CollisionGeometry.
Definition at line 63 of file shape/geometric_shapes.h.
|
inline |
Definition at line 742 of file shape/geometric_shapes.h.
|
inline |
Definition at line 744 of file shape/geometric_shapes.h.
Construct a half space with normal direction and offset.
Definition at line 732 of file shape/geometric_shapes.h.
Construct a plane with normal direction and offset.
Definition at line 737 of file shape/geometric_shapes.h.
|
inline |
Inflate the box by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 172 of file shape/geometric_shapes.h.
|
inline |
Inflate the sphere by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 235 of file shape/geometric_shapes.h.
|
inline |
Inflate the ellipsoid by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 306 of file shape/geometric_shapes.h.
|
inline |
Inflate the capsule by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 388 of file shape/geometric_shapes.h.
|
inline |
Inflate the cone by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 465 of file shape/geometric_shapes.h.
|
inline |
Inflate the cylinder by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 556 of file shape/geometric_shapes.h.
|
inline |
Inflate the cylinder by an amount given by value.
[in] | value | of the shape inflation. |
Definition at line 777 of file shape/geometric_shapes.h.
|
protected |
Initialize the points of the convex shape This also initializes the ConvexBase::center.
ownStorage | weither the ConvexBase owns the data. |
points_ | list of 3D points /// |
num_points_ | number of 3D points |
Definition at line 44 of file src/shape/geometric_shapes.cpp.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 112 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 183 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 245 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 317 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 399 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 487 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 567 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 699 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 797 of file shape/geometric_shapes.h.
|
inlineprivatevirtual |
equal operator with another object of derived type.
Implements hpp::fcl::CollisionGeometry.
Definition at line 858 of file shape/geometric_shapes.h.
|
inline |
Definition at line 164 of file shape/geometric_shapes.h.
|
inline |
Definition at line 227 of file shape/geometric_shapes.h.
|
inline |
Definition at line 298 of file shape/geometric_shapes.h.
|
inline |
Definition at line 380 of file shape/geometric_shapes.h.
|
inline |
Definition at line 457 of file shape/geometric_shapes.h.
|
inline |
Definition at line 548 of file shape/geometric_shapes.h.
|
inline |
Definition at line 767 of file shape/geometric_shapes.h.
|
inline |
Definition at line 650 of file shape/geometric_shapes.h.
Definition at line 134 of file shape/geometric_shapes.h.
Definition at line 513 of file shape/geometric_shapes.h.
operator =
Definition at line 748 of file shape/geometric_shapes.h.
operator =
Definition at line 828 of file shape/geometric_shapes.h.
|
inline |
Definition at line 640 of file shape/geometric_shapes.h.
|
inline |
Definition at line 631 of file shape/geometric_shapes.h.
|
inline |
Definition at line 635 of file shape/geometric_shapes.h.
|
inline |
Definition at line 823 of file shape/geometric_shapes.h.
|
inline |
Definition at line 825 of file shape/geometric_shapes.h.
Construct a plane with normal direction and offset.
Definition at line 813 of file shape/geometric_shapes.h.
Construct a plane with normal direction and offset.
Definition at line 818 of file shape/geometric_shapes.h.
|
protected |
Set the points of the convex shape.
ownStorage | weither the ConvexBase owns the data. |
points_ | list of 3D points /// |
num_points_ | number of 3D points |
Definition at line 52 of file src/shape/geometric_shapes.cpp.
|
inline |
Definition at line 53 of file shape/geometric_shapes.h.
|
inline |
Definition at line 757 of file shape/geometric_shapes.h.
Definition at line 837 of file shape/geometric_shapes.h.
|
inline |
Default constructor.
Definition at line 199 of file shape/geometric_shapes.h.
|
inline |
Definition at line 203 of file shape/geometric_shapes.h.
|
inlineexplicit |
Definition at line 201 of file shape/geometric_shapes.h.
|
inline |
Definition at line 73 of file shape/geometric_shapes.h.
|
inline |
Definition at line 78 of file shape/geometric_shapes.h.
Definition at line 75 of file shape/geometric_shapes.h.
|
protected |
Turn non-unit normal into unit.
Definition at line 98 of file src/shape/geometric_shapes.cpp.
|
protected |
Turn non-unit normal into unit.
Definition at line 110 of file src/shape/geometric_shapes.cpp.
|
virtual |
Definition at line 85 of file src/shape/geometric_shapes.cpp.
|
inlinevirtual |
Definition at line 60 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::TriangleP::a |
Definition at line 109 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::TriangleP::b |
Definition at line 109 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::TriangleP::c |
Definition at line 109 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::ConvexBase::center |
center of the convex polytope, this is used for collision: center is guaranteed in the internal of the polytope (as it is convex)
Definition at line 659 of file shape/geometric_shapes.h.
unsigned char hpp::fcl::ConvexBase::Neighbors::count_ |
Definition at line 627 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Halfspace::d |
Plane offset.
Definition at line 790 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Plane::d |
Plane offset.
Definition at line 851 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Capsule::halfLength |
Half Length along z axis.
Definition at line 352 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Cone::halfLength |
Half Length along z axis.
Definition at line 433 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Cylinder::halfLength |
Half Length along z axis.
Definition at line 528 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::Box::halfSide |
box side half-length
Definition at line 148 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::Halfspace::n |
Plane normal.
Definition at line 787 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::Plane::n |
Plane normal.
Definition at line 848 of file shape/geometric_shapes.h.
unsigned int* hpp::fcl::ConvexBase::Neighbors::n_ |
Definition at line 628 of file shape/geometric_shapes.h.
Neighbors* hpp::fcl::ConvexBase::neighbors |
Neighbors of each vertex. It is an array of size num_points. For each vertex, it contains the number of neighbors and a list of indices to them.
Definition at line 655 of file shape/geometric_shapes.h.
|
protected |
Definition at line 691 of file shape/geometric_shapes.h.
unsigned int hpp::fcl::ConvexBase::num_points |
Definition at line 624 of file shape/geometric_shapes.h.
|
protected |
Definition at line 693 of file shape/geometric_shapes.h.
Vec3f* hpp::fcl::ConvexBase::points |
An array of the points of the polygon.
Definition at line 623 of file shape/geometric_shapes.h.
Vec3f hpp::fcl::Ellipsoid::radii |
Radii of the Ellipsoid (such that on boundary: x^2/rx^2 + y^2/ry^2.
Definition at line 271 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Sphere::radius |
Radius of the sphere.
Definition at line 206 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Capsule::radius |
Radius of capsule.
Definition at line 346 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Cone::radius |
Radius of the cone.
Definition at line 427 of file shape/geometric_shapes.h.
FCL_REAL hpp::fcl::Cylinder::radius |
Radius of the cylinder.
Definition at line 522 of file shape/geometric_shapes.h.