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>
11 <include>vtkConeSource.h</include>
12 <vtkparent>vtkConeSource</vtkparent>
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"/>
26 SetCenter(bbGetInputCenterX(),
30 SetDirection(bbGetInputDirectionX(),
31 bbGetInputDirectionY(),
32 bbGetInputDirectionZ());
34 SetResolution(bbGetInputResolution());
35 SetRadius((double)bbGetInputRadius());