mirror of https://github.com/CGAL/cgal
bug fix (was already in 4.6.1): enable polyline input
This commit is contained in:
parent
a1cf35a982
commit
69c3ac74ba
|
|
@ -162,7 +162,7 @@ MainWindow::MainWindow()
|
|||
// and the input they generate is passed to the triangulation with
|
||||
// the signal/slot mechanism
|
||||
mPI = new CGAL::Qt::GraphicsViewPolylineInput<K>(this, &mScene, 0, true); // inputs polylines which are not closed
|
||||
|
||||
this->on_actionInsertPolyline_toggled(true);
|
||||
QObject::connect(mPI, SIGNAL(generate(CGAL::Object)), this, SLOT(processInput(CGAL::Object)));
|
||||
|
||||
|
||||
|
|
@ -172,8 +172,8 @@ MainWindow::MainWindow()
|
|||
QObject::connect(this->actionQuit, SIGNAL(triggered()), this, SLOT(close()));
|
||||
|
||||
// We put mutually exclusive actions in an QActionGroup
|
||||
QActionGroup* ag = new QActionGroup(this);
|
||||
ag->addAction(this->actionInsertPolyline);
|
||||
// QActionGroup* ag = new QActionGroup(this);
|
||||
// ag->addAction(this->actionInsertPolyline);
|
||||
|
||||
this->actionShowTriangulation->setChecked(false);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<html>
|
||||
<body>
|
||||
<h2>Constrained Delaunay Triangulation</h2>
|
||||
<p>Copyright © 2008 GeometryFactory</p>
|
||||
<p>This application illustrates the 2D Constrained Delaunay
|
||||
<h2>Polyline Simplification</h2>
|
||||
<p>Copyright © 2014 GeometryFactory</p>
|
||||
<p>This application illustrates the 2D polyline simplification
|
||||
of <a href="http://www.cgal.org/">CGAL</a>.</p>
|
||||
<p>See also <a href="http://www.cgal.org/Pkg/Triangulation2">the online
|
||||
<p>See also <a href="http://www.cgal.org/Pkg/PolylineSimplification2">the online
|
||||
manual</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue