Go to the source code of this file.
|
void | collide (const std::vector< Transform3f > &tf, const CollisionGeometry *o1, const CollisionGeometry *o2, const CollisionRequest &request, Results &results) |
|
void | handleParam (int &iarg, const int &argc, char **argv, CollisionRequest &request) |
|
int | main (int argc, char **argv) |
|
Geometry | makeGeomFromParam (int &iarg, const int &argc, char **argv) |
|
template<typename BV > |
CollisionGeometryPtr_t | meshToGeom (const std::string &filename, const Vec3f &scale=Vec3f(1, 1, 1)) |
|
template<typename BV > |
CollisionGeometryPtr_t | objToGeom (const std::string &filename) |
|
void | printResultHeaders () |
|
void | printResults (const Geometry &g1, const Geometry &g2, const Results &rs) |
|
bool | supportedPair (const CollisionGeometry *o1, const CollisionGeometry *o2) |
|
◆ CHECK_PARAM_NB
#define CHECK_PARAM_NB |
( |
|
NB, |
|
|
|
NAME |
|
) |
| |
Value:if (iarg + NB >= argc) \
throw std::invalid_argument(#NAME " requires " #NB " numbers")
Definition at line 125 of file profiling.cpp.
◆ CREATE_SHAPE_2
#define CREATE_SHAPE_2 |
( |
|
var, |
|
|
|
Name |
|
) |
| |
Value: var.reset(new Name(atof(argv[iarg + 1]), atof(argv[iarg + 2]))); \
iarg += 3;
#define CHECK_PARAM_NB(NB, NAME)
Definition at line 153 of file profiling.cpp.
◆ OUT
#define OUT |
( |
|
x | ) |
if (verbose) std::cout << x << std::endl |
◆ collide()
◆ handleParam()
void handleParam |
( |
int & |
iarg, |
|
|
const int & |
argc, |
|
|
char ** |
argv, |
|
|
CollisionRequest & |
request |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ makeGeomFromParam()
Geometry makeGeomFromParam |
( |
int & |
iarg, |
|
|
const int & |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ meshToGeom()
template<typename BV >
CollisionGeometryPtr_t meshToGeom |
( |
const std::string & |
filename, |
|
|
const Vec3f & |
scale = Vec3f(1, 1, 1) |
|
) |
| |
◆ objToGeom()
template<typename BV >
CollisionGeometryPtr_t objToGeom |
( |
const std::string & |
filename | ) |
|
◆ printResultHeaders()
void printResultHeaders |
( |
| ) |
|
◆ printResults()
◆ supportedPair()
◆ limit
◆ lookupTable
◆ Ntransform
◆ sep
◆ verbose