Gazebo Sim

API Reference

8.7.0
Primitives.hh File Reference
#include <gz/sim/config.hh>
#include <gz/sim/Export.hh>
#include <string>

Go to the source code of this file.

Namespaces

 gz
 This library is part of the Gazebo project.
 
 gz::sim
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 

Enumerations

enum class  PrimitiveLight { kDirectional , kPoint , kSpot }
 Enumeration of available primitive light types. More...
 
enum class  PrimitiveShape {
  kBox , kCapsule , kCone , kCylinder ,
  kEllipsoid , kSphere
}
 Enumeration of available primitive shape types. More...
 

Functions

std::string getPrimitive (const std::string &_typeName)
 Return an SDF string of one of the available primitive shape or light types. More...
 
std::string getPrimitiveLight (const PrimitiveLight &_type)
 Return an SDF string of one of the available primitive light types. More...
 
std::string getPrimitiveShape (const PrimitiveShape &_type)
 Return an SDF string of one of the available primitive shape types. More...