mirror of https://github.com/CGAL/cgal
Make update do something
This commit is contained in:
parent
6a88803510
commit
52c26c4382
|
|
@ -371,7 +371,13 @@ namespace Heat_method_3 {
|
||||||
|
|
||||||
|
|
||||||
void update()
|
void update()
|
||||||
{}
|
{
|
||||||
|
double d=0;
|
||||||
|
BOOST_FOREACH(vertex_descriptor vd, vertices(tm)){
|
||||||
|
put(vdm,vd,d);
|
||||||
|
d += 0.2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -466,7 +466,6 @@ private Q_SLOTS:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// AF: So far we only deal with adding sources
|
// AF: So far we only deal with adding sources
|
||||||
BOOST_FOREACH(vertex_descriptor vd, vertices(mesh)){
|
BOOST_FOREACH(vertex_descriptor vd, vertices(mesh)){
|
||||||
if(is_source[vd]){
|
if(is_source[vd]){
|
||||||
|
|
@ -486,7 +485,6 @@ private Q_SLOTS:
|
||||||
if(hi > max)
|
if(hi > max)
|
||||||
max = hi;
|
max = hi;
|
||||||
}
|
}
|
||||||
|
|
||||||
color_ramp = Color_ramp(rm, rM, gm, gM, bm, bM);
|
color_ramp = Color_ramp(rm, rM, gm, gM, bm, bM);
|
||||||
dock_widget->minBox->setValue(min);
|
dock_widget->minBox->setValue(min);
|
||||||
dock_widget->maxBox->setValue(max);
|
dock_widget->maxBox->setValue(max);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue