Simox  2.3.74.0
VirtualRobot::CollisionModelPQP Class Reference
Inheritance diagram for VirtualRobot::CollisionModelPQP:
VirtualRobot::CollisionModelImplementation

Public Member Functions

 CollisionModelPQP (const TriMeshModelPtr &modelData, CollisionCheckerPtr colChecker, int id)
 
 ~CollisionModelPQP () override
 
const std::shared_ptr< PQP::PQP_Model > & getPQPModel ()
 
void print () override
 
std::shared_ptr< CollisionModelImplementationclone (bool deepCopy=false) const override
 
- Public Member Functions inherited from VirtualRobot::CollisionModelImplementation
 CollisionModelImplementation (const TriMeshModelPtr &modelData, const CollisionCheckerPtr &, int id)
 
virtual ~CollisionModelImplementation ()
 
void setGlobalPose (const Eigen::Matrix4f &m)
 
const Eigen::Matrix4f & getGlobalPose () const
 
const TriMeshModelPtrgetTriMeshModel ()
 

Protected Member Functions

 CollisionModelPQP (const CollisionModelPQP &orig)
 
void destroyData () override
 delete all data More...
 
void createPQPModel ()
 

Protected Attributes

std::shared_ptr< PQP::PQP_Model > pqpModel
 
std::shared_ptr< CollisionCheckerPQPcolCheckerPQP
 
- Protected Attributes inherited from VirtualRobot::CollisionModelImplementation
TriMeshModelPtr modelData
 
int id
 
Eigen::Matrix4f globalPose
 

Friends

class CollisionModel
 

Detailed Description

A PQP related implementation of a collision model.

Constructor & Destructor Documentation

◆ CollisionModelPQP() [1/2]

VirtualRobot::CollisionModelPQP::CollisionModelPQP ( const TriMeshModelPtr modelData,
CollisionCheckerPtr  colChecker,
int  id 
)

Standard Constructor Ptr If collision checks should be done in parallel, different CollisionCheckers can be specified.

◆ ~CollisionModelPQP()

VirtualRobot::CollisionModelPQP::~CollisionModelPQP ( )
overridedefault

Standard Destructor

◆ CollisionModelPQP() [2/2]

VirtualRobot::CollisionModelPQP::CollisionModelPQP ( const CollisionModelPQP orig)
protected

Member Function Documentation

◆ clone()

std::shared_ptr< CollisionModelImplementation > VirtualRobot::CollisionModelPQP::clone ( bool  deepCopy = false) const
overridevirtual

◆ createPQPModel()

void VirtualRobot::CollisionModelPQP::createPQPModel ( )
protected

◆ destroyData()

void VirtualRobot::CollisionModelPQP::destroyData ( )
overrideprotectedvirtual

delete all data

Implements VirtualRobot::CollisionModelImplementation.

◆ getPQPModel()

const std::shared_ptr<PQP::PQP_Model>& VirtualRobot::CollisionModelPQP::getPQPModel ( )
inline

◆ print()

void VirtualRobot::CollisionModelPQP::print ( )
overridevirtual

Friends And Related Function Documentation

◆ CollisionModel

friend class CollisionModel
friend

Field Documentation

◆ colCheckerPQP

std::shared_ptr<CollisionCheckerPQP> VirtualRobot::CollisionModelPQP::colCheckerPQP
protected

◆ pqpModel

std::shared_ptr<PQP::PQP_Model> VirtualRobot::CollisionModelPQP::pqpModel
protected