17 #ifndef GZ_COMMON_MESHMANAGER_HH_
18 #define GZ_COMMON_MESHMANAGER_HH_
26 #include <gz/math/Plane.hh>
27 #include <gz/math/Matrix3.hh>
28 #include <gz/math/Matrix4.hh>
29 #include <gz/math/Vector2.hh>
30 #include <gz/math/Vector3.hh>
31 #include <gz/math/Pose3.hh>
33 #include <gz/utils/ImplPtr.hh>
37 #include <gz/common/graphics/Export.hh>
83 const std::string &_extension,
bool _exportTextures =
false);
148 const int _rings,
const int _segments);
172 &_vertices,
const double _height);
184 const int _segments);
193 const unsigned int _rings,
194 const unsigned int _segments);
205 const unsigned int _rings,
206 const unsigned int _segments);
218 const int _segments);
232 const float _innerRadius,
233 const float _outterRadius,
237 const double _arc = 2.0 * GZ_PI);
274 private:
void Tesselate2DMesh(
SubMesh *_sm,
275 const int _meshWidth,
276 const int _meshHeight,
277 const bool _doubleSided);
291 const Mesh *_m2,
const int _operation,
322 private:
static void ConvertPolylinesToVerticesAndEdges(
336 private:
static size_t AddUniquePointToVerticesTable(
342 GZ_UTILS_UNIQUE_IMPL_PTR(dataPtr)