Public Member Functions | Public Attributes | List of all members
CollisionDetector_impl::ColdetModelPairEx Class Reference
Inheritance diagram for CollisionDetector_impl::ColdetModelPairEx:
Inheritance graph
[legend]

Public Member Functions

 ColdetModelPairEx (ColdetBodyPtr &body0, ColdetModelPtr &link0, ColdetBodyPtr &body1, ColdetModelPtr &link1, double tolerance=0)
 
- Public Member Functions inherited from hrp::ColdetModelPair
int calculateCentroidIntersection (float &cx, float &cy, float &A, float radius, std::vector< float > vx, std::vector< float > vy)
 
int calculateIntersection (std::vector< float > &x, std::vector< float > &y, float radius, float x1, float y1, float x2, float y2)
 
float calculatePolygonArea (const std::vector< float > &vx, const std::vector< float > &vy)
 
void calculateSectorCentroid (float &cx, float &cy, float radius, float th1, float th2)
 
bool checkCollision ()
 
void clearCollisions ()
 
 ColdetModelPair ()
 
 ColdetModelPair (ColdetModelPtr model0, ColdetModelPtr model1, double tolerance=0)
 
 ColdetModelPair (const ColdetModelPair &org)
 
std::vector< collision_data > & collisions ()
 
double computeDistance (double *point0, double *point1)
 
double computeDistance (int &out_triangle0, double *out_point0, int &out_triangle1, double *out_point1)
 
std::vector< collision_data > & detectCollisions ()
 
bool detectIntersection ()
 
void enableNormalVectorCorrection (bool flag)
 
bool isInsideCircle (float r, float x, float y)
 
bool isInsideTriangle (float x, float y, const std::vector< float > &vx, const std::vector< float > &vy)
 
int makeCCW (std::vector< float > &vx, std::vector< float > &vy)
 
ColdetModelmodel (int index)
 
ColdetModelPairoperator= (const ColdetModelPair &cmp)
 
void set (ColdetModelPtr model0, ColdetModelPtr model1)
 
void setCollisionPairInserter (CollisionPairInserterBase *inserter)
 
double tolerance () const
 
IceMaths::Matrix4x4transform (int index)
 
virtual ~ColdetModelPair ()
 
- Public Member Functions inherited from hrp::Referenced
 Referenced ()
 
virtual ~Referenced ()
 

Public Attributes

ColdetBodyPtr body0
 
ColdetBodyPtr body1
 
double tolerance
 

Additional Inherited Members

- Protected Member Functions inherited from hrp::Referenced
int refCounter ()
 

Detailed Description

Definition at line 103 of file CollisionDetector_impl.h.

Constructor & Destructor Documentation

CollisionDetector_impl::ColdetModelPairEx::ColdetModelPairEx ( ColdetBodyPtr body0,
ColdetModelPtr link0,
ColdetBodyPtr body1,
ColdetModelPtr link1,
double  tolerance = 0 
)
inline

Definition at line 106 of file CollisionDetector_impl.h.

Member Data Documentation

ColdetBodyPtr CollisionDetector_impl::ColdetModelPairEx::body0

Definition at line 112 of file CollisionDetector_impl.h.

ColdetBodyPtr CollisionDetector_impl::ColdetModelPairEx::body1

Definition at line 113 of file CollisionDetector_impl.h.

double CollisionDetector_impl::ColdetModelPairEx::tolerance

Definition at line 114 of file CollisionDetector_impl.h.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:28