This commit is contained in:
Maxime Gimeno 2020-07-24 12:02:11 +02:00
parent 424560573a
commit 825399a515
3 changed files with 4 additions and 3 deletions

View File

@ -2256,9 +2256,9 @@ void Scene_polyhedron_selection_item::printAllIds()
{ {
d->item->polyhedron_item()->printAllIds(); d->item->polyhedron_item()->printAllIds();
} }
bool Scene_polyhedron_selection_item::testDisplayId(double x, double y, double z, CGAL::Three::Viewer_interface* viewer)const bool Scene_polyhedron_selection_item::testDisplayId(double x, double y, double z, CGAL::Three::Viewer_interface* viewer, const QVector3D& scaler)const
{ {
return d->item->polyhedron_item()->testDisplayId(x, y, z, viewer); return d->item->polyhedron_item()->testDisplayId(x, y, z, viewer, scaler);
return false; return false;
} }

View File

@ -218,7 +218,7 @@ public:
bool printEdgeIds() const; bool printEdgeIds() const;
bool printFaceIds() const; bool printFaceIds() const;
void printAllIds(); void printAllIds();
bool testDisplayId(double, double, double, CGAL::Three::Viewer_interface*)const; bool testDisplayId(double, double, double, CGAL::Three::Viewer_interface*, const QVector3D&)const;
bool shouldDisplayIds(CGAL::Three::Scene_item *current_item) const; bool shouldDisplayIds(CGAL::Three::Scene_item *current_item) const;
QString defaultSaveName() const QString defaultSaveName() const
{ {

View File

@ -16,6 +16,7 @@
#include <CGAL/license/Three.h> #include <CGAL/license/Three.h>
#include <QPoint> #include <QPoint>
#include <QVector3D>
class QKeyEvent; class QKeyEvent;
class QPoint; class QPoint;
namespace CGAL namespace CGAL