X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereList.cxx;h=7b91170bf59b48e61c527d83ddbfaac29afbf8d6;hb=9345dab3810e17c346913dec3506f69122f620ab;hp=88537a23097e0fda36d0e3c6626b7d2cf9f10e2e;hpb=5b38d6b216847d6cf69b3e30143aec1a7e5bee3a;p=bbtk.git 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()