Commit 70428803 authored by Mike Kremer's avatar Mike Kremer

Made mesh repair functions scriptable.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11637 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5eee2c87
This diff is collapsed.
...@@ -119,8 +119,6 @@ private : ...@@ -119,8 +119,6 @@ private :
private slots: private slots:
/// Button slot /// Button slot
void slotRemoveSelectedVal3Vertices(); void slotRemoveSelectedVal3Vertices();
...@@ -139,14 +137,6 @@ private slots: ...@@ -139,14 +137,6 @@ private slots:
/// Button slot /// Button slot
void slotDetectTriangleAspect(); void slotDetectTriangleAspect();
/// Button slot /// Button slot
void slotFlipOrientation(); void slotFlipOrientation();
...@@ -160,32 +150,31 @@ private slots: ...@@ -160,32 +150,31 @@ private slots:
void slotUpdateNormals(); void slotUpdateNormals();
/// Button Slot /// Button Slot
void slotDetectEdgesLonger(); void slotDetectEdgesLonger();
/// Button Slot /// Button Slot
void slotDetectEdgesShorter(); void slotDetectEdgesShorter();
/// Button slot /// Button slot
void slotDetectFlatValence3Vertices(); void slotDetectFlatValence3Vertices();
//Scripting functions: //Scripting functions:
public slots: public slots:
/// Remove all selected valence 3 vertices
void removeSelectedVal3Vertices(int _objectId);
/// Removes all selected edges /// Removes all selected edges
void removeSelectedEdges(int _objectId); void removeSelectedEdges(int _objectId);
/// Detect/Remove edges where neighboring faces form angle > _angle degrees /// Detect/Remove edges where neighboring faces form angle > _angle degrees
void detectSkinnyTriangleByAngle(int _objectId, double _angle, bool _remove); void detectSkinnyTriangleByAngle(int _objectId, double _angle, bool _remove);
/// Detect folded-over configurations
void detectFoldover(int _objectId, float _angle);
/// Detect triangle with aspect of _aspect and select candidates
void detectTriangleAspect(int _objectId, float _aspect);
/// Recomputes the face normals of an object /// Recomputes the face normals of an object
void updateFaceNormals(int _objectId); void updateFaceNormals(int _objectId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment