]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkConeSource.xml
.
[bbtk.git] / packages / vtk / src / bbvtkConeSource.xml
index a749f683def0493541d3aefd4550fb2fd836a8de..4573f78ba4466c64957f3739a948d482198039bf 100644 (file)
 <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"/>
+<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>