Choreonoid  1.8
PolygonMeshTriangulator.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_UTIL_POLYGON_MESH_TRIANGULATOR_H
7 #define CNOID_UTIL_POLYGON_MESH_TRIANGULATOR_H
8 
9 #include <string>
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
14 class SgMesh;
15 class SgPolygonMesh;
16 class PolygonMeshTriangulatorImpl;
17 
18 class CNOID_EXPORT PolygonMeshTriangulator
19 {
20 public:
24 
25  void setDeepCopyEnabled(bool on);
26 
27  SgMesh* triangulate(SgPolygonMesh* polygonMesh);
28 
29  const std::string& errorMessage() const;
30 
31 private:
32  PolygonMeshTriangulatorImpl * impl;
33 };
34 
35 }
36 
37 #endif
38 
cnoid::PolygonMeshTriangulator
Definition: PolygonMeshTriangulator.h:18
cnoid::SgMesh
Definition: SceneDrawables.h:337
cnoid::SgPolygonMesh
Definition: SceneDrawables.h:503
cnoid
Definition: AbstractSceneLoader.h:11