<?xml version="1.0" encoding="iso-8859-1"?>
-<blackbox name="ConeSource" type="vtkPolyDataAlgorithm">
+<blackbox name="ConeSource" type="VTK_PolyDataAlgorithm">
<author>jpr at creatis.insa-lyon.fr</author>
<description><PRE>Creates a Cone (bbfication of vtkConeSource)</PRE></description>
<category>mesh</category>
-
<include>vtkConeSource.h</include>
-<vtkparent>vtkConeSource</vtkparent>
-
-<output
- name="Out"
- type="vtkPolyData*"
- special="vtk output">
-Output Cone
-</output>
-
-<input
- name="Radius"
- type="double"
-special="vtk parameter">
-Cone Radius
-</input>
-
-<input
- name="Resolution"
- type="int"
-special="vtk parameter">
-Cone Resolution
-</input>
-
-<input
- name="CenterX"
- type="double">
-Center X coord
-</input>
-
-<input
- name="CenterY"
- type="double">
-Center Y coord
-</input>
-
-<input
- name="CenterZ"
- type="double">
-Center Z coord
-</input>
-
-<input
- name="DirectionX"
- type="double">
- X Direction
-</input>
-
-<input
- name="DirectionY"
- type="double">
- Y Direction
-</input>
-
-<input
- name="DirectionZ"
- type="double">
- Z Direction
-</input>
-
+<vtkobject>vtkConeSource</vtkobject>
+
+<output name="Out" type="vtkPolyData*" special="vtk output" description="Output Cone"/>
+<input name="Radius" type="double" special="vtk parameter" description="Cone Radius"/>
+<input name="Resolution" type="int" special="vtk parameter" description="Cone Resolution"/>
+<input name="CenterX" type="double" description="Center X coord"/>
+<input name="CenterY" type="double" description="Center Y coord"/>
+<input name="CenterZ" type="double" description="Center Z coord"/>
+<input name="DirectionX" type="double" description="X Direction"/>
+<input name="DirectionY" type="double" description="Y Direction"/>
+<input name="DirectionZ" type="double" description="Z Direction"/>
<process>
<PRE>
-SetCenter(bbGetInputCenterX(),
- bbGetInputCenterY(),
- bbGetInputCenterZ());
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(),
+ bbGetInputCenterY(),
+ bbGetInputCenterZ());
-SetDirection(bbGetInputDirectionX(),
- bbGetInputDirectionY(),
- bbGetInputDirectionZ());
+bbGetVtkObject()->SetDirection(bbGetInputDirectionX(),
+ bbGetInputDirectionY(),
+ bbGetInputDirectionZ());
-SetResolution(bbGetInputResolution());
-SetRadius((double)bbGetInputRadius());
-Update();
+bbGetVtkObject()->SetResolution(bbGetInputResolution());
+bbGetVtkObject()->SetRadius((double)bbGetInputRadius());
+bbGetVtkObject()->Update();
</PRE>
</process>