]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkSphereSource.xml
2117 BBTK Bug In Progress Normal - Conflict between SurfaceTexture box and PolyDataTo...
[bbtk.git] / packages / vtk / src / bbvtkSphereSource.xml
index 113aa8d33a84e8cc7e1fd5bb01cf0387fff49826..270713136d9ef33c16a168fbaa1bfcc9bba64c5b 100644 (file)
@@ -7,25 +7,29 @@
 <category>mesh</category>
 
 <include>vtkSphereSource.h</include> 
-<vtkparent>vtkSphereSource</vtkparent>
+<vtkobject>vtkSphereSource</vtkobject>
 
 <output name="Out" type="vtkPolyData*" description="Output Sphere" special="vtk output"/>
 <input name="CenterX" type="double" description="Center X coord"/>
 <input name="CenterY" type="double" description="Center Y coord"/>
 <input name="CenterZ" type="double" description="Center Z coord"/>
-<input name="PhiResolution" type="int" description="Sphere PhiResolution" special="vtk parameter"/>
-<input name="Radius" type="double" description="Sphere Radius" special="vtk parameter"/>
-<input name="ThetaResolution" type="int" description="Sphere ThetaResolution"special="vtk parameter"/>
+<input name="PhiResolution" type="int" description="Sphere PhiResolution" special="vtk parameter" />
+<input name="Radius" type="double" description="Sphere Radius" special="vtk parameter" />
+<input name="ThetaResolution" type="int" description="Sphere ThetaResolution" special="vtk parameter" />
 
 <process>
 <PRE>
-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();
 </PRE>
 </process>