X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereSource.xml;h=270713136d9ef33c16a168fbaa1bfcc9bba64c5b;hb=85a4449b23bea122bcc2bde80540cc89a0f47504;hp=483897fa2cd111267393ca8842d93d4c12dbfdc6;hpb=f303df63e2a2e33d698c974858f288058d980ae4;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereSource.xml b/packages/vtk/src/bbvtkSphereSource.xml index 483897f..2707131 100644 --- a/packages/vtk/src/bbvtkSphereSource.xml +++ b/packages/vtk/src/bbvtkSphereSource.xml @@ -1,69 +1,35 @@ - + jpr@creatis.insa-lyon.fr
Creates a Sphere (bbfication of vtkSphereSource)
mesh vtkSphereSource.h -vtkSphereSource +vtkSphereSource - -Output Sphere - - - -Center X coord - - - -Center Y coord - - - -Center Z coord - - - -Sphere PhiResolution - - - -Sphere Radius - - - -Sphere ThetaResolution - + + + + + + +
-SetCenter(bbGetInputCenterX(), 
+ 
+
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
           bbGetInputCenterY(), 
           bbGetInputCenterZ());
-SetPhiResolution(bbGetInputPhiResolution());
-SetRadius((double)bbGetInputRadius());
-SetThetaResolution(bbGetInputThetaResolution());
-Update();
+//bbGetVtkObject()->SetPhiResolution(bbGetInputPhiResolution());
+//bbGetVtkObject()->SetThetaResolution(bbGetInputThetaResolution());
+//bbGetVtkObject()->SetRadius(bbGetInputRadius());
+//printf("EED box vtk:SphereSource theta=%d  phi=%d\n", bbGetInputThetaResolution() , bbGetInputPhiResolution());
+
+bbGetVtkObject()->Update();