1 <?xml version="1.0" encoding="iso-8859-1"?>
4 <blackbox name="ConeSource" type="VTK_PolyDataAlgorithm">
6 <author>jpr at creatis.insa-lyon.fr</author>
7 <description><PRE>Creates a Cone (bbfication of vtkConeSource)</PRE></description>
8 <category>mesh</category>
10 <include>vtkConeSource.h</include>
11 <vtkobject>vtkConeSource</vtkobject>
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"/>
25 bbGetVtkObject()->SetCenter(bbGetInputCenterX(),
29 bbGetVtkObject()->SetDirection(bbGetInputDirectionX(),
30 bbGetInputDirectionY(),
31 bbGetInputDirectionZ());
33 bbGetVtkObject()->SetResolution(bbGetInputResolution());
34 bbGetVtkObject()->SetRadius((double)bbGetInputRadius());
35 bbGetVtkObject()->Update();