X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereSource.xml;h=270713136d9ef33c16a168fbaa1bfcc9bba64c5b;hb=85a4449b23bea122bcc2bde80540cc89a0f47504;hp=b2e7d02ea0430d0189d3d56c3026b17b65131c66;hpb=a3d418ccb857ef25119b90d57d88543ae744d9f4;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereSource.xml b/packages/vtk/src/bbvtkSphereSource.xml index b2e7d02..2707131 100644 --- a/packages/vtk/src/bbvtkSphereSource.xml +++ b/packages/vtk/src/bbvtkSphereSource.xml @@ -7,22 +7,29 @@ mesh vtkSphereSource.h -vtkSphereSource +vtkSphereSource - - - + + +
-mVtkObject->SetCenter(bbGetInputCenterX(), 
+ 
+
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
           bbGetInputCenterY(), 
           bbGetInputCenterZ());
-mVtkObject->Update();
+//bbGetVtkObject()->SetPhiResolution(bbGetInputPhiResolution());
+//bbGetVtkObject()->SetThetaResolution(bbGetInputThetaResolution());
+//bbGetVtkObject()->SetRadius(bbGetInputRadius());
+//printf("EED box vtk:SphereSource theta=%d  phi=%d\n", bbGetInputThetaResolution() , bbGetInputPhiResolution());
+
+bbGetVtkObject()->Update();