Public Member Functions | Public Attributes
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>

List of all members.

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
bool operator== (const CostSource &other) const

Public Attributes

Vec3f aabb_min
 aabb lower bound
Vec3f aabb_max
 aabb upper bound
FCL_REAL cost_density
 cost density in the AABB region
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.

bool fcl::CostSource::operator== ( const CostSource other) const [inline]

Member Data Documentation

aabb upper bound

Referenced by CostSource(), and operator==().

aabb lower bound

Referenced by CostSource(), operator<(), and operator==().

cost density in the AABB region

Referenced by CostSource(), operator<(), and operator==().

Referenced by CostSource(), operator<(), and operator==().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines