17 #ifndef GZ_SIM_UTIL_HH_
18 #define GZ_SIM_UTIL_HH_
20 #include <gz/msgs/entity.pb.h>
24 #include <unordered_set>
27 #include <gz/common/Mesh.hh>
28 #include <gz/math/Pose3.hh>
29 #include <sdf/Mesh.hh>
32 #include "gz/sim/config.hh"
35 #include "gz/sim/Export.hh"
44 inline namespace GZ_SIM_VERSION_NAMESPACE {
51 const EntityComponentManager &_ecm);
58 const EntityComponentManager &_ecm);
67 const EntityComponentManager &_ecm,
const std::string &_delim =
"/",
68 bool _includePrefix =
true);
94 const std::string &_scopedName,
const EntityComponentManager &_ecm,
119 const EntityComponentManager &_ecm);
139 const EntityComponentManager &_ecm);
146 const EntityComponentManager &_ecm);
152 const EntityComponentManager &_ecm);
191 const EntityComponentManager &_ecm);
225 const EntityComponentManager &_ecm,
226 bool _excludeWorld =
true);
255 template <
class ComponentType>
257 Entity _entity,
bool _enable =
true)
267 else if (!_enable &&
exists)
293 const EntityComponentManager &_ecm,
const msgs::Entity &_msg);
302 Entity _entity,
const EntityComponentManager &_ecm);
310 const EntityComponentManager &_ecm,
336 "IGN_GAZEBO_RENDER_ENGINE_PATH"};