]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkConeSource.xml
* Created vtk package
[bbtk.git] / packages / vtk / src / bbvtkConeSource.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3
4 <blackbox name="ConeSource" type="vtkPolyDataAlgorithm">
5
6 <author>jpr at creatis.insa-lyon.fr</author>
7 <description><PRE>Creates a Cone (bbfication of vtkConeSource)</PRE></description>
8 <category>mesh</category>
9
10
11 <include>vtkConeSource.h</include> 
12 <vtkparent>vtkConeSource</vtkparent>
13
14 <output 
15   name="Out" 
16   type="vtkPolyData*" 
17   special="vtk output">
18 Output Cone
19 </output>
20
21 <input 
22   name="Radius" 
23   type="double"
24 special="vtk parameter">
25 Cone Radius
26 </input>
27
28 <input 
29   name="Resolution" 
30   type="int"
31 special="vtk parameter">
32 Cone Resolution
33 </input>
34
35 <input 
36   name="CenterX" 
37   type="double">
38 Center X coord
39 </input>
40
41 <input 
42   name="CenterY" 
43   type="double">
44 Center Y coord
45 </input>
46
47 <input 
48   name="CenterZ" 
49   type="double">
50 Center Z coord
51 </input>
52
53 <input 
54   name="DirectionX" 
55   type="double">
56   X Direction
57 </input>
58
59 <input 
60   name="DirectionY" 
61   type="double">
62   Y Direction
63 </input>
64
65 <input 
66   name="DirectionZ" 
67   type="double">
68   Z Direction
69 </input>
70
71
72 <process>
73 <PRE>
74 SetCenter(bbGetInputCenterX(), 
75           bbGetInputCenterY(), 
76           bbGetInputCenterZ());
77
78 SetDirection(bbGetInputDirectionX(), 
79           bbGetInputDirectionY(), 
80           bbGetInputDirectionZ());
81                     
82 SetResolution(bbGetInputResolution());
83 SetRadius((double)bbGetInputRadius());
84 Update();
85 </PRE>
86 </process>
87
88
89 </blackbox>
90
91