X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereSource.xml;h=463fca033660643d7873fc5932cd6c315c2c7aaa;hb=a641df2aea8da216dfa3eed320567d6377840720;hp=967cd2d1c9ad28d6637699dd9ef8ec99ca006c5f;hpb=8dd53a72bc1dd1ca2c6e2763c0aeb51c77ee352e;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereSource.xml b/packages/vtk/src/bbvtkSphereSource.xml index 967cd2d..463fca0 100644 --- a/packages/vtk/src/bbvtkSphereSource.xml +++ b/packages/vtk/src/bbvtkSphereSource.xml @@ -10,23 +10,36 @@ vtkSphereSource + - - - + + +
-bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
-          bbGetInputCenterY(), 
-          bbGetInputCenterZ());
-bbGetVtkObject()->Update();
+ 
+if (bbGetInputActive()==true)
+{
+
+	bbGetVtkObject()->SetCenter(bbGetInputCenterX(), bbGetInputCenterY(), bbGetInputCenterZ());
+   //bbGetVtkObject()->SetPhiResolution(bbGetInputPhiResolution());
+   //bbGetVtkObject()->SetThetaResolution(bbGetInputThetaResolution());
+   //bbGetVtkObject()->SetRadius(bbGetInputRadius());
+   //printf("EED box vtk:SphereSource theta=%d  phi=%d\n", bbGetInputThetaResolution() , bbGetInputPhiResolution());
+	bbGetVtkObject()->Update();
+}
+
 
+
+  bbSetInputActive(true);
+
+