Public Member Functions | Public Attributes | List of all members
hpp::fcl::TriangleP Class Reference

Triangle stores the points instead of only indices of points. More...

#include <hpp/fcl/shape/geometric_shapes.h>

Inheritance diagram for hpp::fcl::TriangleP:
[legend]
Collaboration diagram for hpp::fcl::TriangleP:
[legend]

Public Member Functions

 TriangleP (const Vec3f &a_, const Vec3f &b_, const Vec3f &c_)
 
void computeLocalAABB ()
 virtual function of compute AABB in local coordinate More...
 
NODE_TYPE getNodeType () const
 get the node type More...
 
- Public Member Functions inherited from hpp::fcl::ShapeBase
 ShapeBase ()
 
OBJECT_TYPE getObjectType () const
 Get object type: a geometric shape. More...
 
- Public Member Functions inherited from hpp::fcl::CollisionGeometry
 CollisionGeometry ()
 
virtual ~CollisionGeometry ()
 
void * getUserData () const
 get user data in geometry More...
 
void setUserData (void *data)
 set user data in geometry More...
 
bool isOccupied () const HPP_FCL_DEPRECATED
 whether the object is completely occupied More...
 
bool isFree () const HPP_FCL_DEPRECATED
 whether the object is completely free More...
 
bool isUncertain () const HPP_FCL_DEPRECATED
 whether the object has some uncertainty More...
 
virtual Vec3f computeCOM () const
 compute center of mass More...
 
virtual Matrix3f computeMomentofInertia () const
 compute the inertia matrix, related to the origin More...
 
virtual FCL_REAL computeVolume () const
 compute the volume More...
 
virtual Matrix3f computeMomentofInertiaRelatedToCOM () const
 compute the inertia matrix, related to the com More...
 

Public Attributes

Vec3f a
 
Vec3f b
 
Vec3f c
 
- Public Attributes inherited from hpp::fcl::CollisionGeometry
Vec3f aabb_center
 AABB center in local coordinate. More...
 
FCL_REAL aabb_radius
 AABB radius. More...
 
AABB aabb_local
 AABB in local coordinate, used for tight AABB when only translation transform. More...
 
void * user_data
 pointer to user defined data specific to this object More...
 
FCL_REAL cost_density
 collision cost for unit volume More...
 
FCL_REAL threshold_occupied
 threshold for occupied ( >= is occupied) More...
 
FCL_REAL threshold_free
 threshold for free (<= is free) More...
 

Detailed Description

Triangle stores the points instead of only indices of points.

Constructor & Destructor Documentation

hpp::fcl::TriangleP::TriangleP ( const Vec3f a_,
const Vec3f b_,
const Vec3f c_ 
)
inline

Member Function Documentation

void hpp::fcl::TriangleP::computeLocalAABB ( )
virtual

virtual function of compute AABB in local coordinate

Implements hpp::fcl::CollisionGeometry.

NODE_TYPE hpp::fcl::TriangleP::getNodeType ( ) const
inlinevirtual

get the node type

Reimplemented from hpp::fcl::CollisionGeometry.

References hpp::fcl::GEOM_TRIANGLE.

Member Data Documentation

Vec3f hpp::fcl::TriangleP::a
Vec3f hpp::fcl::TriangleP::b
Vec3f hpp::fcl::TriangleP::c