]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkSphereSource.xml
2338 BBTK Bug New Normal UnaryOperation error divide / multiply
[bbtk.git] / packages / vtk / src / bbvtkSphereSource.xml
index 483897fa2cd111267393ca8842d93d4c12dbfdc6..967cd2d1c9ad28d6637699dd9ef8ec99ca006c5f 100644 (file)
@@ -1,69 +1,28 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<blackbox name="SphereSource" type="vtkPolyDataAlgorithm">
+<blackbox name="SphereSource" type="VTK_PolyDataAlgorithm">
 
 <author>jpr@creatis.insa-lyon.fr</author>
 <description><PRE>Creates a Sphere (bbfication of vtkSphereSource)</PRE></description>
 <category>mesh</category>
 
 <include>vtkSphereSource.h</include> 
-<vtkparent>vtkSphereSource</vtkparent>
+<vtkobject>vtkSphereSource</vtkobject>
 
-<output 
-  name="Out" 
-  type="vtkPolyData*" 
-  special="vtk output">
-Output Sphere
-</output>
-
-<input 
-  name="CenterX" 
-  type="double">
-Center X coord
-</input>
-
-<input 
-  name="CenterY" 
-  type="double">
-Center Y coord
-</input>
-
-<input 
-  name="CenterZ" 
-  type="double">
-Center Z coord
-</input>
-
-<input 
-  name="PhiResolution" 
-  type="int"
-  special="vtk parameter">
-Sphere PhiResolution
-</input>
-
-<input 
-  name="Radius" 
-  type="double"
-special="vtk parameter">
-Sphere Radius
-</input>
-
-<input 
-  name="ThetaResolution" 
-  type="int"
-special="vtk parameter">
-Sphere ThetaResolution
-</input>
+<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"/>
 
 <process>
 <PRE>
-SetCenter(bbGetInputCenterX(), 
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
           bbGetInputCenterY(), 
           bbGetInputCenterZ());
-SetPhiResolution(bbGetInputPhiResolution());
-SetRadius((double)bbGetInputRadius());
-SetThetaResolution(bbGetInputThetaResolution());
-Update();
+bbGetVtkObject()->Update();
 </PRE>
 </process>