| Directory: | ./ |
|---|---|
| File: | bindings/python/multibody/expose-geometry.cpp |
| Date: | 2025-02-12 21:03:38 |
| Exec | Total | Coverage | |
|---|---|---|---|
| Lines: | 7 | 7 | 100.0% |
| Branches: | 3 | 6 | 50.0% |
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // | ||
| 2 | // Copyright (c) 2015-2021 CNRS INRIA | ||
| 3 | // | ||
| 4 | |||
| 5 | #include "pinocchio/bindings/python/fwd.hpp" | ||
| 6 | #include "pinocchio/bindings/python/multibody/geometry-object.hpp" | ||
| 7 | #include "pinocchio/bindings/python/multibody/geometry-model.hpp" | ||
| 8 | #include "pinocchio/bindings/python/multibody/geometry-data.hpp" | ||
| 9 | #include "pinocchio/bindings/python/utils/std-aligned-vector.hpp" | ||
| 10 | |||
| 11 | namespace pinocchio | ||
| 12 | { | ||
| 13 | namespace python | ||
| 14 | { | ||
| 15 | |||
| 16 | 65 | void exposeGeometry() | |
| 17 | { | ||
| 18 | 65 | GeometryObjectPythonVisitor::expose(); | |
| 19 |
3/6✓ Branch 2 taken 65 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 65 times.
✗ Branch 7 not taken.
✓ Branch 9 taken 65 times.
✗ Branch 10 not taken.
|
65 | StdAlignedVectorPythonVisitor<GeometryObject>::expose("StdVec_GeometryObject"); |
| 20 | |||
| 21 | 65 | CollisionPairPythonVisitor::expose(); | |
| 22 | 65 | GeometryModelPythonVisitor::expose(); | |
| 23 | 65 | GeometryDataPythonVisitor::expose(); | |
| 24 | 65 | } | |
| 25 | |||
| 26 | } // namespace python | ||
| 27 | } // namespace pinocchio | ||
| 28 |