Public Member Functions | Protected Attributes | List of all members
hrp::ColdetLinkPair Class Reference

#include <ColdetLinkPair.h>

Inheritance diagram for hrp::ColdetLinkPair:
Inheritance graph
[legend]

Public Member Functions

 ColdetLinkPair (Link *link1, Link *link2, double tolerance=0)
 
 ColdetLinkPair (const ColdetLinkPair &org)
 
hrp::Linklink (int index)
 
void updatePositions ()
 
virtual ~ColdetLinkPair ()
 
- 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 ()
 

Protected Attributes

hrp::Linklinks [2]
 

Additional Inherited Members

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

Detailed Description

Definition at line 16 of file ColdetLinkPair.h.

Constructor & Destructor Documentation

hrp::ColdetLinkPair::ColdetLinkPair ( Link link1,
Link link2,
double  tolerance = 0 
)

Definition at line 16 of file ColdetLinkPair.cpp.

hrp::ColdetLinkPair::ColdetLinkPair ( const ColdetLinkPair org)

Definition at line 22 of file ColdetLinkPair.cpp.

hrp::ColdetLinkPair::~ColdetLinkPair ( )
virtual

Definition at line 28 of file ColdetLinkPair.cpp.

Member Function Documentation

hrp::Link * hrp::ColdetLinkPair::link ( int  index)

Definition at line 35 of file ColdetLinkPair.cpp.

void hrp::ColdetLinkPair::updatePositions ( )

Definition at line 30 of file ColdetLinkPair.cpp.

Member Data Documentation

hrp::Link* hrp::ColdetLinkPair::links[2]
protected

Definition at line 30 of file ColdetLinkPair.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45