GCC Code Coverage Report


Directory: ./
File: include/pinocchio/multibody/geometry-object.hxx
Date: 2024-08-27 18:20:05
Exec Total Coverage
Lines: 0 15 0.0%
Branches: 0 12 0.0%

Line Branch Exec Source
1 //
2 // Copyright (c) 2015-2022 CNRS INRIA
3 //
4
5 #ifndef __pinocchio_multibody_geometry_object_hxx__
6 #define __pinocchio_multibody_geometry_object_hxx__
7
8 #include <limits>
9
10 namespace pinocchio
11 {
12
13 inline std::ostream & operator<<(std::ostream & os, const GeometryObject & geom_object)
14 {
15 os << "Name: \t \n"
16 << geom_object.name << "\n"
17 << "Parent frame ID: \t \n"
18 << geom_object.parentFrame << "\n"
19 << "Parent joint ID: \t \n"
20 << geom_object.parentJoint << "\n"
21 << "Position in parent frame: \t \n"
22 << geom_object.placement << "\n"
23 << "Absolute path to mesh file: \t \n"
24 << geom_object.meshPath << "\n"
25 << "Scale for transformation of the mesh: \t \n"
26 << geom_object.meshScale.transpose() << "\n"
27 << "Disable collision: \t \n"
28 << geom_object.disableCollision << "\n"
29 << std::endl;
30 return os;
31 }
32
33 } // namespace pinocchio
34
35 #endif // ifndef __pinocchio_multibody_geometry_object_hxx__
36