From: Eduardo DAVILA Date: Wed, 25 Jan 2017 14:36:03 +0000 (+0100) Subject: #3059 BBTK Bug New Normal - Update of SphereList box in vtk package X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtk.git;a=commitdiff_plain;h=9345dab3810e17c346913dec3506f69122f620ab #3059 BBTK Bug New Normal - Update of SphereList box in vtk package --- diff --git a/packages/vtk/src/bbvtkSphereList.cxx b/packages/vtk/src/bbvtkSphereList.cxx index 88537a2..7b91170 100644 --- a/packages/vtk/src/bbvtkSphereList.cxx +++ b/packages/vtk/src/bbvtkSphereList.cxx @@ -103,7 +103,7 @@ void SphereList::GetColor(int i, double &cr,double &cg,double &cb) void SphereList::Process() { - +printf ("EED SphereList::Process Start\n"); int iMin, iMax; double px = 0.0; double py = 0.0; @@ -113,6 +113,15 @@ void SphereList::Process() double cg = 0.0; double cb = 0.0; +/* +== igualar la lista de objetos + si la lista es igual nada que hacer + si la nueva lista es las corta que la lista existente borrar los actores + si la lista es mas larga que la lista existente crear los actores +== acualizar la lista de objetos +*/ + + if (bbGetInputRenderer()!=NULL) { // If it is not the first time Process is executed, the actors have already been created. The only thing to do is to update the opacity. @@ -184,6 +193,8 @@ printf("EED SphereList::Process() %f %f %f\n",px,py,pz); } // if (sphereActor.size() != 0) } // if (bbGetInputRenderer()!=NULL) +printf ("EED SphereList::Process END\n"); + } void SphereList::bbUserSetDefaultValues()