Classes of different types of geometric shapes. More...
Classes | |
class | hpp::fcl::TriangleP |
Triangle stores the points instead of only indices of points. More... | |
class | hpp::fcl::Box |
Center at zero point, axis aligned box. More... | |
class | hpp::fcl::Sphere |
Center at zero point sphere. More... | |
class | hpp::fcl::Capsule |
Capsule It is \( { x \in \mathcal{R}^3, d(x, AB) < radius } \) where \( d(x, AB) \) is the distance between the point x and the capsule segment AB, with \( A = (0,0,-halfLength), B = (0,0,halfLength) \). More... | |
class | hpp::fcl::Cone |
Cone The base of the cone is at \( z = - halfLength \) and the top is at \( z = halfLength \). More... | |
class | hpp::fcl::Cylinder |
Cylinder along Z axis. More... | |
struct | hpp::fcl::ConvexBase::Neighbors |
class | hpp::fcl::ConvexBase |
Base for convex polytope. More... | |
class | hpp::fcl::Convex< PolygonT > |
Convex polytope. More... | |
class | hpp::fcl::Halfspace |
Half Space: this is equivalent to the Plane in ODE. More... | |
class | hpp::fcl::Plane |
Infinite plane. More... | |
Classes of different types of geometric shapes.
|
inline |
|
inline |
|
inlinevirtual |
compute center of mass
Reimplemented from hpp::fcl::CollisionGeometry.
|
virtual |
virtual function of compute AABB in local coordinate
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
virtual |
Compute AABB.
Implements hpp::fcl::CollisionGeometry.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::CollisionGeometry::computeVolume().
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::CollisionGeometry::computeVolume().
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::CollisionGeometry::computeVolume().
|
inlinevirtual |
compute the inertia matrix, related to the origin
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::CollisionGeometry::computeVolume().
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
|
inlinevirtual |
compute the volume
Reimplemented from hpp::fcl::CollisionGeometry.
|
protected |
Constructing a convex, providing normal and offset of each polytype surface, and the points and shape topology information.
points_ | list of 3D points |
num_points_ | number of 3D points |
|
protected |
Copy constructor Only the list of neighbors is copied.
|
inline |
References hpp::fcl::CollisionGeometry::computeLocalAABB().
References hpp::fcl::CollisionGeometry::computeLocalAABB().
Referenced by hpp::fcl::details::boxPlaneIntersect().
|
inlinevirtual |
get the node type
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_TRIANGLE.
|
inlinevirtual |
Get node type: a box.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_BOX.
|
inlinevirtual |
Get node type: a sphere.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_SPHERE.
|
inlinevirtual |
Get node type: a capsule.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_CAPSULE.
|
inlinevirtual |
Get node type: a cone.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_CONE.
|
inlinevirtual |
Get node type: a cylinder.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_CYLINDER.
|
inlinevirtual |
Get node type: a conex polytope.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_CONVEX.
|
inlinevirtual |
Get node type: a half space.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_HALFSPACE.
|
inlinevirtual |
Get node type: a plane.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::GEOM_PLANE.
|
inlinevirtual |
Get object type: a geometric shape.
Reimplemented from hpp::fcl::CollisionGeometry.
References hpp::fcl::OT_GEOM.
Construct a half space with normal direction and offset.
Construct a plane with normal direction and offset.
|
inline |
|
inline |
|
inline |
Construct a plane with normal direction and offset.
Construct a plane with normal direction and offset.
|
inline |
|
inline |
Referenced by hpp::fcl::details::boxHalfspaceIntersect(), hpp::fcl::details::capsuleHalfspaceIntersect(), hpp::fcl::details::coneHalfspaceIntersect(), hpp::fcl::details::convexHalfspaceIntersect(), hpp::fcl::details::cylinderHalfspaceIntersect(), hpp::fcl::details::halfspaceTriangleIntersect(), and hpp::fcl::details::sphereHalfspaceIntersect().
Referenced by hpp::fcl::details::boxPlaneIntersect(), hpp::fcl::details::capsulePlaneIntersect(), hpp::fcl::details::conePlaneIntersect(), hpp::fcl::details::convexPlaneIntersect(), hpp::fcl::details::cylinderPlaneIntersect(), hpp::fcl::details::planeTriangleIntersect(), and hpp::fcl::details::spherePlaneIntersect().
|
inline |
References hpp::fcl::CollisionGeometry::computeLocalAABB().
|
protected |
Turn non-unit normal into unit.
|
protected |
Turn non-unit normal into unit.
|
virtual |
|
inlinevirtual |
Vec3f hpp::fcl::TriangleP::a |
Vec3f hpp::fcl::TriangleP::b |
Vec3f hpp::fcl::TriangleP::c |
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)
unsigned char hpp::fcl::ConvexBase::Neighbors::count_ |
Referenced by hpp::fcl::Convex< PolygonT >::fillNeighbors().
FCL_REAL hpp::fcl::Halfspace::d |
Plane offset.
Referenced by hpp::fcl::details::halfspaceIntersect(), and hpp::fcl::details::planeHalfspaceIntersect().
FCL_REAL hpp::fcl::Plane::d |
Plane offset.
Referenced by hpp::fcl::details::planeHalfspaceIntersect(), and hpp::fcl::details::planeIntersect().
FCL_REAL hpp::fcl::Capsule::halfLength |
Half Length along z axis.
Referenced by hpp::fcl::details::capsuleHalfspaceIntersect(), hpp::fcl::details::capsulePlaneIntersect(), hpp::fcl::details::sphereCapsuleDistance(), and hpp::fcl::details::sphereCapsuleIntersect().
FCL_REAL hpp::fcl::Cone::halfLength |
Half Length along z axis.
Referenced by hpp::fcl::details::coneHalfspaceIntersect(), hpp::fcl::details::conePlaneIntersect(), and hpp::fcl::generateBVHModel().
FCL_REAL hpp::fcl::Cylinder::halfLength |
Half Length along z axis.
Referenced by hpp::fcl::details::cylinderHalfspaceIntersect(), hpp::fcl::details::cylinderPlaneIntersect(), hpp::fcl::generateBVHModel(), and hpp::fcl::details::sphereCylinderDistance().
Vec3f hpp::fcl::Box::halfSide |
box side half-length
Referenced by hpp::fcl::details::boxBoxIntersect(), hpp::fcl::details::boxHalfspaceIntersect(), hpp::fcl::details::boxPlaneIntersect(), hpp::fcl::details::boxSphereDistance(), and hpp::fcl::generateBVHModel().
Vec3f hpp::fcl::Halfspace::n |
Plane normal.
Referenced by hpp::fcl::details::boxHalfspaceIntersect(), hpp::fcl::details::capsuleHalfspaceIntersect(), hpp::fcl::details::coneHalfspaceIntersect(), hpp::fcl::details::convexHalfspaceIntersect(), hpp::fcl::details::cylinderHalfspaceIntersect(), hpp::fcl::details::halfspaceIntersect(), hpp::fcl::details::halfspaceTriangleIntersect(), hpp::fcl::details::planeHalfspaceIntersect(), and hpp::fcl::details::sphereHalfspaceIntersect().
Vec3f hpp::fcl::Plane::n |
Plane normal.
Referenced by hpp::fcl::details::boxPlaneIntersect(), hpp::fcl::details::capsulePlaneIntersect(), hpp::fcl::details::conePlaneIntersect(), hpp::fcl::details::convexPlaneIntersect(), hpp::fcl::details::cylinderPlaneIntersect(), hpp::fcl::details::planeHalfspaceIntersect(), hpp::fcl::details::planeIntersect(), hpp::fcl::details::planeTriangleIntersect(), and hpp::fcl::details::spherePlaneIntersect().
unsigned int* hpp::fcl::ConvexBase::Neighbors::n_ |
Referenced by hpp::fcl::Convex< PolygonT >::fillNeighbors().
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.
Referenced by hpp::fcl::Convex< PolygonT >::fillNeighbors().
|
protected |
Referenced by hpp::fcl::Convex< PolygonT >::fillNeighbors().
int hpp::fcl::ConvexBase::num_points |
|
protected |
Referenced by hpp::fcl::Convex< PolygonT >::Convex(), and hpp::fcl::Convex< PolygonT >::~Convex().
Vec3f* hpp::fcl::ConvexBase::points |
An array of the points of the polygon.
Referenced by hpp::fcl::Convex< PolygonT >::computeCOM(), hpp::fcl::Convex< PolygonT >::computeMomentofInertia(), hpp::fcl::Convex< PolygonT >::computeVolume(), hpp::fcl::details::convexHalfspaceIntersect(), and hpp::fcl::details::convexPlaneIntersect().
FCL_REAL hpp::fcl::Sphere::radius |
Radius of the sphere.
Referenced by hpp::fcl::details::boxSphereDistance(), hpp::fcl::generateBVHModel(), hpp::fcl::details::sphereCapsuleDistance(), hpp::fcl::details::sphereCapsuleIntersect(), hpp::fcl::details::sphereCylinderDistance(), hpp::fcl::details::sphereHalfspaceIntersect(), hpp::fcl::details::spherePlaneIntersect(), hpp::fcl::details::sphereSphereDistance(), hpp::fcl::details::sphereSphereIntersect(), hpp::fcl::details::sphereTriangleDistance(), and hpp::fcl::details::sphereTriangleIntersect().
FCL_REAL hpp::fcl::Capsule::radius |
Radius of capsule.
Referenced by hpp::fcl::details::capsuleHalfspaceIntersect(), hpp::fcl::details::capsulePlaneIntersect(), hpp::fcl::details::sphereCapsuleDistance(), and hpp::fcl::details::sphereCapsuleIntersect().
FCL_REAL hpp::fcl::Cone::radius |
Radius of the cone.
Referenced by hpp::fcl::details::coneHalfspaceIntersect(), hpp::fcl::details::conePlaneIntersect(), and hpp::fcl::generateBVHModel().
FCL_REAL hpp::fcl::Cylinder::radius |
Radius of the cylinder.
Referenced by hpp::fcl::details::cylinderHalfspaceIntersect(), hpp::fcl::details::cylinderPlaneIntersect(), hpp::fcl::generateBVHModel(), and hpp::fcl::details::sphereCylinderDistance().