MVSim
Lightweight simulator for 2.5D vehicles and robots
Classes | Public Member Functions | Static Public Member Functions | List of all members
mvsim::CollisionShapeCache Class Reference

Public Member Functions

Shape2p5 get (mrpt::opengl::CRenderizable &obj, float zMin, float zMax, const mrpt::poses::CPose3D &modelPose, const float modelScale, const std::optional< std::string > &modelFile=std::nullopt)
 
void clear ()
 

Static Public Member Functions

static CollisionShapeCacheInstance ()
 

Member Function Documentation

◆ get()

Shape2p5 mvsim::CollisionShapeCache::get ( mrpt::opengl::CRenderizable &  obj,
float  zMin,
float  zMax,
const mrpt::poses::CPose3D &  modelPose,
const float  modelScale,
const std::optional< std::string > &  modelFile = std::nullopt 
)

Computes the convex hull of a given model, or gets it from the cache


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