Go to the documentation of this file.
17 #ifndef _GAZEBO_MESHCSG_HH_
18 #define _GAZEBO_MESHCSG_HH_
20 #include <ignition/math/Pose3.hh>
57 public:
Mesh *CreateBoolean(
const Mesh *_m1,
const Mesh *_m2,
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);
Forward declarations for the common classes.
Definition: Animation.hh:26
_GtsSurface GtsSurface
Definition: MeshCSG.hh:24
common
Definition: FuelModelDatabase.hh:37
virtual ~MeshCSG()
Destructor.
Definition: MeshCSG.hh:43
Definition: MeshCSG.hh:43
Creates CSG meshes.
Definition: MeshCSG.hh:40
BooleanOperation
An enumeration of the boolean operations.
Definition: MeshCSG.hh:43
Definition: MeshCSG.hh:43
_GPtrArray GPtrArray
Definition: MeshCSG.hh:26
A 3D mesh.
Definition: Mesh.hh:42
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.
_GtsSurface GtsSurface
Definition: GTSMeshUtils.hh:27