All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
hpp::affordance Namespace Reference

Classes

struct  TrianglePoints
 Helper struct that saves the global position of the triangle vertices of a fcl::Triangle. More...
 
struct  Triangle
 Helper class to save triangle information. More...
 
class  Affordance
 Class that saves a reference collision object and indices to those of its mesh triangles that form one affordance object. More...
 
class  SemanticsData
 Class containing a vector of vectors of Affordance objects. More...
 
class  OperationBase
 Base class for the data needed to determine affordances of different types. More...
 
class  SupportOperation
 Class that contains the information needed to create affordance objects of type Support. More...
 
class  LeanOperation
 Class that contains the information needed to create affordance objects of type Lean. More...
 
class  Support45Operation
 Class that contains the information needed to create affordance. More...
 

Typedefs

typedef fcl::BVHModel
< fcl::OBBRSS
BVHModelOB
 
typedef boost::shared_ptr
< BVHModelOB
BVHModelOB_Ptr_t
 
typedef boost::shared_ptr
< const BVHModelOB
BVHModelOBConst_Ptr_t
 
typedef boost::shared_ptr
< SupportOperation
SupportOperationPtr_t
 
typedef boost::shared_ptr
< LeanOperation
LeanOperationPtr_t
 
typedef boost::shared_ptr
< Support45Operation
Support45OperationPtr_t
 
typedef boost::shared_ptr
< fcl::CollisionObject
CollisionObjectPtr_t
 
typedef std::vector
< CollisionObjectPtr_t
CollisionObjects_t
 
typedef boost::shared_ptr
< OperationBase
OperationBasePtr_t
 
typedef std::vector
< OperationBasePtr_t
OperationBases_t
 
typedef boost::shared_ptr
< SemanticsData
SemanticsDataPtr_t
 
typedef boost::shared_ptr
< Affordance
AffordancePtr_t
 
typedef boost::shared_ptr
< AffordanceExtraction > 
AffordanceExtractionPtr_t
 
typedef fcl::CollisionObject FclCollisionObject
 
typedef fcl::CollisionObjectFclCollisionObjectPtr_t
 
typedef const
fcl::CollisionObject
FclConstCollisionObjectPtr_t
 

Functions

BVHModelOBConst_Ptr_t GetModel (FclConstCollisionObjectPtr_t object)
 
void searchLinkedTriangles (std::vector< unsigned int > &listPotential, const OperationBasePtr_t &refOp, const std::vector< Triangle > &allTris, std::vector< unsigned int > &searchableTris, const unsigned int &refTriIdx, double &area)
 Free function that searches through a vector of mesh triangles and saves the triangle indices that form a potential affordance object. More...
 
SemanticsDataPtr_t affordanceAnalysis (FclConstCollisionObjectPtr_t colObj, const OperationBases_t &opVec)
 Free function that extracts all affordances (of all types) from a given fcl::collisionObject. More...
 
std::vector< CollisionObjects_tgetAffordanceObjects (const SemanticsDataPtr_t &sData)
 Free function that, given a semanticsData pointer, creates one fcl::collisionObject for every Affordance object. More...
 
std::vector< CollisionObjects_tgetReducedAffordanceObjects (const SemanticsDataPtr_t &sData, std::vector< double > reduceSizes)
 Free function that, given a semanticsData pointer, creates one fcl::collisionObject for every Affordance object. More...
 

Typedef Documentation

typedef boost::shared_ptr<AffordanceExtraction> hpp::affordance::AffordanceExtractionPtr_t
typedef boost::shared_ptr<Affordance> hpp::affordance::AffordancePtr_t
typedef boost::shared_ptr<BVHModelOB> hpp::affordance::BVHModelOB_Ptr_t
typedef boost::shared_ptr<const BVHModelOB> hpp::affordance::BVHModelOBConst_Ptr_t

Function Documentation

BVHModelOBConst_Ptr_t hpp::affordance::GetModel ( FclConstCollisionObjectPtr_t  object)