]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkConeSource.xml
a0bb806fbe30b7f50b9c0120c42e5c6191f56602
[bbtk.git] / packages / vtk / src / bbvtkConeSource.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3
4 <blackbox name="ConeSource" type="VTK_PolyDataAlgorithm">
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 name="Out" type="vtkPolyData*" special="vtk output" description="Output Cone"/>
15 <input name="Radius" type="double" special="vtk parameter" description="Cone Radius"/>
16 <input name="Resolution" type="int" special="vtk parameter" description="Cone Resolution"/>
17 <input name="CenterX" type="double" description="Center X coord"/>
18 <input name="CenterY" type="double" description="Center Y coord"/>
19 <input name="CenterZ" type="double" description="Center Z coord"/>
20 <input name="DirectionX" type="double" description="X Direction"/>
21 <input name="DirectionY" type="double" description="Y Direction"/>
22 <input name="DirectionZ" type="double" description="Z Direction"/>
23
24 <process>
25 <PRE>
26 SetCenter(bbGetInputCenterX(), 
27           bbGetInputCenterY(), 
28           bbGetInputCenterZ());
29
30 SetDirection(bbGetInputDirectionX(), 
31           bbGetInputDirectionY(), 
32           bbGetInputDirectionZ());
33                     
34 SetResolution(bbGetInputResolution());
35 SetRadius((double)bbGetInputRadius());
36 Update();
37 </PRE>
38 </process>
39
40
41 </blackbox>
42
43