Choreonoid  1.5
MeshNormalGenerator.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_UTIL_MESH_NORMAL_GENERATOR_H
7 #define CNOID_UTIL_MESH_NORMAL_GENERATOR_H
8 
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 class SgMesh;
14 class MeshNormalGeneratorImpl;
15 
17 {
18 public:
22 
23  void setOverwritingEnabled(bool on);
24  void setMinCreaseAngle(float angle);
25  void setMaxCreaseAngle(float angle);
26 
27  bool generateNormals(SgMesh* mesh, float creaseAngle = 3.14159f);
28 
29 private:
30  MeshNormalGeneratorImpl* impl;
31 };
32 
33 }
34 
35 #endif
Definition: SceneDrawables.h:291
Definition: MeshNormalGenerator.h:16
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37