]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkConeSource.xml
.
[bbtk.git] / packages / vtk / src / bbvtkConeSource.xml
index a544b246b1caa03e2583d8c9a7567bfc036d77cd..4573f78ba4466c64957f3739a948d482198039bf 100644 (file)
@@ -1,87 +1,38 @@
 <?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>
-
+<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(), 
+mVtkObject->SetCenter(bbGetInputCenterX(), 
           bbGetInputCenterY(), 
           bbGetInputCenterZ());
 
-SetDirection(bbGetInputDirectionX(), 
-          bbGetInputDirectionY(), 
+mVtkObject->SetDirection(bbGetInputDirectionX(), 
+          bbGetInputDirectionY(),
           bbGetInputDirectionZ());
                     
-SetResolution(bbGetInputResolution());
-SetRadius((double)bbGetInputRadius());
-Update();
+mVtkObject->SetResolution(bbGetInputResolution());
+mVtkObject->SetRadius((double)bbGetInputRadius());
+mVtkObject->Update();
 </PRE>
 </process>