Simox  2.3.74.0
VirtualRobot::CollisionCheckerImplementation Class Referenceabstract
Inheritance diagram for VirtualRobot::CollisionCheckerImplementation:
VirtualRobot::CollisionCheckerDummy VirtualRobot::CollisionCheckerPQP

Public Member Functions

 CollisionCheckerImplementation ()
 
virtual ~CollisionCheckerImplementation ()
 
virtual float calculateDistance (const CollisionModelPtr &model1, const CollisionModelPtr &model2, Eigen::Vector3f &P1, Eigen::Vector3f &P2, int *trID1=NULL, int *trID2=NULL)=0
 
virtual bool checkCollision (const CollisionModelPtr &model1, const CollisionModelPtr &model2)=0
 
virtual bool checkCollision (const CollisionModelPtr &model1, const Eigen::Vector3f &point, float tolerance=0.0f)=0
 
virtual void setAutomaticSizeCheck (bool checkSizeOnColModelCreation)
 
virtual void enableDebugOutput (bool e)
 

Data Fields

bool debugOutput
 

Protected Attributes

bool automaticSizeCheck
 

Friends

class CollisionChecker
 

Constructor & Destructor Documentation

◆ CollisionCheckerImplementation()

VirtualRobot::CollisionCheckerImplementation::CollisionCheckerImplementation ( )
inline

◆ ~CollisionCheckerImplementation()

virtual VirtualRobot::CollisionCheckerImplementation::~CollisionCheckerImplementation ( )
inlinevirtual

Member Function Documentation

◆ calculateDistance()

virtual float VirtualRobot::CollisionCheckerImplementation::calculateDistance ( const CollisionModelPtr model1,
const CollisionModelPtr model2,
Eigen::Vector3f &  P1,
Eigen::Vector3f &  P2,
int *  trID1 = NULL,
int *  trID2 = NULL 
)
pure virtual

◆ checkCollision() [1/2]

virtual bool VirtualRobot::CollisionCheckerImplementation::checkCollision ( const CollisionModelPtr model1,
const CollisionModelPtr model2 
)
pure virtual

◆ checkCollision() [2/2]

virtual bool VirtualRobot::CollisionCheckerImplementation::checkCollision ( const CollisionModelPtr model1,
const Eigen::Vector3f &  point,
float  tolerance = 0.0f 
)
pure virtual

◆ enableDebugOutput()

virtual void VirtualRobot::CollisionCheckerImplementation::enableDebugOutput ( bool  e)
inlinevirtual

◆ setAutomaticSizeCheck()

virtual void VirtualRobot::CollisionCheckerImplementation::setAutomaticSizeCheck ( bool  checkSizeOnColModelCreation)
inlinevirtual

Friends And Related Function Documentation

◆ CollisionChecker

friend class CollisionChecker
friend

Field Documentation

◆ automaticSizeCheck

bool VirtualRobot::CollisionCheckerImplementation::automaticSizeCheck
protected

◆ debugOutput

bool VirtualRobot::CollisionCheckerImplementation::debugOutput