X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereSource.xml;h=967cd2d1c9ad28d6637699dd9ef8ec99ca006c5f;hb=2b1ebe5f1c885888b35d860a8c083e5abdc53678;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();