mirror of https://github.com/CGAL/cgal
Change the color of the constructed mesh
Scale space and Advacing front reconstruction produced a mesh in magenta.
This commit is contained in:
parent
a9840bf87c
commit
b777ad3e8d
|
|
@ -280,7 +280,7 @@ namespace SurfaceReconstruction
|
|||
{
|
||||
Scene_polygon_soup_item* new_item
|
||||
= new Scene_polygon_soup_item ();
|
||||
new_item->setColor(Qt::magenta);
|
||||
new_item->setColor(Qt::lightGray);
|
||||
new_item->setRenderingMode(FlatPlusEdges);
|
||||
new_item->init_polygon_soup(points.size(), reconstruct.number_of_triangles ());
|
||||
|
||||
|
|
@ -288,7 +288,7 @@ namespace SurfaceReconstruction
|
|||
if (generate_smooth)
|
||||
{
|
||||
smooth_item = new Scene_polygon_soup_item ();
|
||||
smooth_item->setColor(Qt::magenta);
|
||||
smooth_item->setColor(Qt::lightGray);
|
||||
smooth_item->setRenderingMode(FlatPlusEdges);
|
||||
smooth_item->init_polygon_soup(points.size(), reconstruct.number_of_triangles ());
|
||||
}
|
||||
|
|
@ -637,7 +637,7 @@ void Polyhedron_demo_surface_reconstruction_plugin::automatic_reconstruction
|
|||
SurfaceReconstruction::advancing_front (*points, reco_item, 10. * (std::max)(noise_size, aniso_size));
|
||||
|
||||
reco_item->setName(tr("%1 (advancing front)").arg(scene->item(index)->name()));
|
||||
reco_item->setColor(Qt::magenta);
|
||||
reco_item->setColor(Qt::lightGray);
|
||||
reco_item->setRenderingMode(FlatPlusEdges);
|
||||
scene->addItem(reco_item);
|
||||
|
||||
|
|
@ -656,7 +656,7 @@ void Polyhedron_demo_surface_reconstruction_plugin::automatic_reconstruction
|
|||
SurfaceReconstruction::advancing_front (*points, reco_item, 10. * (std::max)(noise_size, aniso_size));
|
||||
|
||||
reco_item->setName(tr("%1 (advancing front)").arg(scene->item(index)->name()));
|
||||
reco_item->setColor(Qt::magenta);
|
||||
reco_item->setColor(Qt::lightGray);
|
||||
reco_item->setRenderingMode(FlatPlusEdges);
|
||||
scene->addItem(reco_item);
|
||||
|
||||
|
|
@ -737,7 +737,7 @@ void Polyhedron_demo_surface_reconstruction_plugin::advancing_front_reconstructi
|
|||
CGAL_PI * dialog.beta_angle () / 180.);
|
||||
|
||||
reco_item->setName(tr("%1 (advancing front)").arg(scene->item(index)->name()));
|
||||
reco_item->setColor(Qt::magenta);
|
||||
reco_item->setColor(Qt::lightGray);
|
||||
reco_item->setRenderingMode(FlatPlusEdges);
|
||||
scene->addItem(reco_item);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue