]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkSphereSource.xml
* Created vtk package
[bbtk.git] / packages / vtk / src / bbvtkSphereSource.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="SphereSource" type="vtkPolyDataAlgorithm">
4
5 <author>jpr@creatis.insa-lyon.fr</author>
6 <description><PRE>Creates a Sphere (bbfication of vtkSphereSource)</PRE></description>
7 <category>mesh</category>
8
9 <include>vtkSphereSource.h</include> 
10 <vtkparent>vtkSphereSource</vtkparent>
11
12 <output 
13   name="Out" 
14   type="vtkPolyData*" 
15   special="vtk output">
16 Output Sphere
17 </output>
18
19 <input 
20   name="CenterX" 
21   type="double">
22 Center X coord
23 </input>
24
25 <input 
26   name="CenterY" 
27   type="double">
28 Center Y coord
29 </input>
30
31 <input 
32   name="CenterZ" 
33   type="double">
34 Center Z coord
35 </input>
36
37 <input 
38   name="PhiResolution" 
39   type="int"
40   special="vtk parameter">
41 Sphere PhiResolution
42 </input>
43
44 <input 
45   name="Radius" 
46   type="double"
47 special="vtk parameter">
48 Sphere Radius
49 </input>
50
51 <input 
52   name="ThetaResolution" 
53   type="int"
54 special="vtk parameter">
55 Sphere ThetaResolution
56 </input>
57
58 <process>
59 <PRE>
60 SetCenter(bbGetInputCenterX(), 
61           bbGetInputCenterY(), 
62           bbGetInputCenterZ());
63 SetPhiResolution(bbGetInputPhiResolution());
64 SetRadius((double)bbGetInputRadius());
65 SetThetaResolution(bbGetInputThetaResolution());
66 Update();
67 </PRE>
68 </process>
69
70
71 </blackbox>
72
73