From 9345dab3810e17c346913dec3506f69122f620ab Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 25 Jan 2017 15:36:03 +0100 Subject: [PATCH] #3059 BBTK Bug New Normal - Update of SphereList box in vtk package --- packages/vtk/src/bbvtkSphereList.cxx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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() -- 2.44.0