mirror of https://github.com/CGAL/cgal
rename self-intersect
pca fit and self-intersect to red by default
This commit is contained in:
parent
7626528ed1
commit
43be43d690
|
|
@ -66,7 +66,7 @@ void MainWindow::on_actionFitPlane_triggered()
|
|||
|
||||
scene->addPolyhedron(pFit,
|
||||
tr("%1 (plane fit)").arg(scene->polyhedronName(index)),
|
||||
scene->polyhedronColor(index), // PA: to be changed to red
|
||||
Qt::red,
|
||||
scene->isPolyhedronActivated(index),
|
||||
scene->polyhedronRenderingMode(index));
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ void MainWindow::on_actionFitLine_triggered()
|
|||
|
||||
scene->addPolyhedron(pFit,
|
||||
tr("%1 (line fit)").arg(scene->polyhedronName(index)),
|
||||
scene->polyhedronColor(index), // PA: to be changed to red
|
||||
Qt::red,
|
||||
scene->isPolyhedronActivated(index),
|
||||
scene->polyhedronRenderingMode(index));
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ void MainWindow::on_actionSelf_intersection_triggered()
|
|||
|
||||
scene->addPolyhedron(pSoup,
|
||||
tr("%1 (intersecting triangles)").arg(scene->polyhedronName(index)),
|
||||
scene->polyhedronColor(index), // PA: to be changed to red
|
||||
Qt::red,
|
||||
scene->isPolyhedronActivated(index),
|
||||
scene->polyhedronRenderingMode(index));
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// compute self-intersection of a CGAL triangle polyhedron mesh
|
||||
// originally from Lutz Kettner
|
||||
// original code from Lutz Kettner
|
||||
#ifndef _SELF_INTERSECT_H_
|
||||
#define _SELF_INTERSECT_H_
|
||||
|
||||
|
|
@ -155,11 +155,8 @@ template <class Polyhedron, class Kernel, class OutputIterator>
|
|||
// compute self-intersections filtered out by boxes
|
||||
Intersect_facets<Polyhedron,Kernel,OutputIterator> intersect_facets(out);
|
||||
CGAL::box_self_intersection_d(box_ptr.begin(), box_ptr.end(),intersect_facets,2000);
|
||||
|
||||
} // end self_intersect
|
||||
|
||||
|
||||
#endif // _SELF_INTERSECT_H_
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue