]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkConeSource.xml
#3167 BBTK Feature New Normal - box vtk ImageProperties GetOrientation
[bbtk.git] / packages / vtk / src / bbvtkConeSource.xml
index a0bb806fbe30b7f50b9c0120c42e5c6191f56602..84cc3d1767f160a8e6fc278c3d45dbbd1a48e855 100644 (file)
@@ -7,33 +7,32 @@
 <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" 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"/>
+<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>