17#ifndef _GAZEBO_MESHCSG_HH_
18#define _GAZEBO_MESHCSG_HH_
20#include <ignition/math/Pose3.hh>
59 const ignition::math::Pose3d &_offset = ignition::math::Pose3d::Zero);
62 private:
void ConvertMeshToGTS(
const Mesh *mesh,
GtsSurface *surface);
68 private:
void MergeVertices(
GPtrArray * _vertices,
double _epsilon);
common
Definition FuelModelDatabase.hh:37
_GtsSurface GtsSurface
Definition GTSMeshUtils.hh:28
_GtsSurface GtsSurface
Definition MeshCSG.hh:25
_GPtrArray GPtrArray
Definition MeshCSG.hh:27
Creates CSG meshes.
Definition MeshCSG.hh:41
BooleanOperation
An enumeration of the boolean operations.
Definition MeshCSG.hh:43
@ UNION
Definition MeshCSG.hh:43
@ INTERSECTION
Definition MeshCSG.hh:43
@ DIFFERENCE
Definition MeshCSG.hh:43
Mesh * CreateBoolean(const Mesh *_m1, const Mesh *_m2, const int _operation, const ignition::math::Pose3d &_offset=ignition::math::Pose3d::Zero)
Create a boolean mesh from two meshes.
virtual ~MeshCSG()
Destructor.
A 3D mesh.
Definition Mesh.hh:43
Forward declarations for the common classes.
Definition Animation.hh:27