All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::CostSource Struct Reference

Cost source describes an area with a cost. The area is described by an AABB region. More...

#include <hpp/fcl/collision_data.h>

Collaboration diagram for fcl::CostSource:

Public Member Functions

 CostSource (const Vec3f &aabb_min_, const Vec3f &aabb_max_, FCL_REAL cost_density_)
 
 CostSource (const AABB &aabb, FCL_REAL cost_density_)
 
 CostSource ()
 
bool operator< (const CostSource &other) const
 

Public Attributes

Vec3f aabb_min
 aabb lower bound More...
 
Vec3f aabb_max
 aabb upper bound More...
 
FCL_REAL cost_density
 cost density in the AABB region More...
 
FCL_REAL total_cost
 

Detailed Description

Cost source describes an area with a cost. The area is described by an AABB region.

Constructor & Destructor Documentation

fcl::CostSource::CostSource ( const Vec3f aabb_min_,
const Vec3f aabb_max_,
FCL_REAL  cost_density_ 
)
inline
fcl::CostSource::CostSource ( const AABB aabb,
FCL_REAL  cost_density_ 
)
inline
fcl::CostSource::CostSource ( )
inline

Member Function Documentation

bool fcl::CostSource::operator< ( const CostSource other) const
inline

References aabb_min, cost_density, and total_cost.

Member Data Documentation

Vec3f fcl::CostSource::aabb_max

aabb upper bound

Vec3f fcl::CostSource::aabb_min

aabb lower bound

Referenced by operator<().

FCL_REAL fcl::CostSource::cost_density

cost density in the AABB region

Referenced by operator<().

FCL_REAL fcl::CostSource::total_cost

Referenced by operator<().