X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereSource.xml;h=967cd2d1c9ad28d6637699dd9ef8ec99ca006c5f;hb=251e090bd2628040b8f49de9de5c4cb31281f192;hp=113aa8d33a84e8cc7e1fd5bb01cf0387fff49826;hpb=32f28c419e0c356a18a288af2ea6ffdd32a259ca;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereSource.xml b/packages/vtk/src/bbvtkSphereSource.xml index 113aa8d..967cd2d 100644 --- a/packages/vtk/src/bbvtkSphereSource.xml +++ b/packages/vtk/src/bbvtkSphereSource.xml @@ -7,7 +7,7 @@ mesh vtkSphereSource.h -vtkSphereSource +vtkSphereSource @@ -19,13 +19,10 @@
-SetCenter(bbGetInputCenterX(), 
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
           bbGetInputCenterY(), 
           bbGetInputCenterZ());
-SetPhiResolution(bbGetInputPhiResolution());
-SetRadius((double)bbGetInputRadius());
-SetThetaResolution(bbGetInputThetaResolution());
-Update();
+bbGetVtkObject()->Update();