1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <blackbox name="SphereSource" type="VTK_PolyDataAlgorithm">
5 <author>jpr@creatis.insa-lyon.fr</author>
6 <description><PRE>Creates a Sphere (bbfication of vtkSphereSource)</PRE></description>
7 <category>mesh</category>
9 <include>vtkSphereSource.h</include>
10 <vtkparent>vtkSphereSource</vtkparent>
12 <output name="Out" type="vtkPolyData*" description="Output Sphere" special="vtk output"/>
13 <input name="CenterX" type="double" description="Center X coord"/>
14 <input name="CenterY" type="double" description="Center Y coord"/>
15 <input name="CenterZ" type="double" description="Center Z coord"/>
16 <input name="PhiResolution" type="int" description="Sphere PhiResolution" special="vtk parameter"/>
17 <input name="Radius" type="double" description="Sphere Radius" special="vtk parameter"/>
18 <input name="ThetaResolution" type="int" description="Sphere ThetaResolution"special="vtk parameter"/>
22 SetCenter(bbGetInputCenterX(),
25 SetPhiResolution(bbGetInputPhiResolution());
26 SetRadius((double)bbGetInputRadius());
27 SetThetaResolution(bbGetInputThetaResolution());