Go to the documentation of this file.
6 #ifndef CNOID_UTIL_MESH_FILTER_H
7 #define CNOID_UTIL_MESH_FILTER_H
9 #include "exportdecl.h"
26 void removeRedundantVertices(
SgNode* scene);
27 void removeRedundantVertices(
SgMesh* mesh);
32 KEEP_LAST_OVERLAPPING_FACES
38 void removeRedundantFaces(
SgNode* scene,
int reductionMode = KEEP_OVERLAPPING_FACES_WTIH_DIFFERENT_DIRECTIONS);
39 void removeRedundantFaces(
SgMesh* mesh,
int reductionMode = KEEP_OVERLAPPING_FACES_WTIH_DIFFERENT_DIRECTIONS);
41 void removeRedundantNormals(
SgNode* scene);
42 void removeRedundantNormals(
SgMesh* mesh);
44 bool generateNormals(
SgMesh* mesh,
float creaseAngle = 3.14159f,
bool removeRedundantVertices =
false);
45 void setNormalOverwritingEnabled(
bool on);
46 void setMinCreaseAngle(
float angle);
47 void setMaxCreaseAngle(
float angle);
50 void setOverwritingEnabled(
bool on);
@ KEEP_FIRST_OVERLAPPING_FACES
Definition: MeshFilter.h:31
Definition: SceneDrawables.h:337
Definition: MeshFilter.h:17
FaceReductionMode
Definition: MeshFilter.h:29
MeshFilter MeshNormalGenerator
Definition: MeshFilter.h:57
Definition: AbstractSceneLoader.h:11
@ KEEP_OVERLAPPING_FACES_WTIH_DIFFERENT_DIRECTIONS
Definition: MeshFilter.h:30
Definition: SceneGraph.h:157