]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkConeSource.xml
add a GetVectorVtkImageDataElement
[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 <vtkobject>vtkConeSource</vtkobject>
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 bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
26                            bbGetInputCenterY(), 
27                            bbGetInputCenterZ());
28
29 bbGetVtkObject()->SetDirection(bbGetInputDirectionX(), 
30                                bbGetInputDirectionY(),
31                                bbGetInputDirectionZ());
32                     
33 bbGetVtkObject()->SetResolution(bbGetInputResolution());
34 bbGetVtkObject()->SetRadius((double)bbGetInputRadius());
35 bbGetVtkObject()->Update();
36 </PRE>
37 </process>
38
39
40 </blackbox>
41
42