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