X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkConeSource.xml;h=c789e172c87083486e33867d513a29a5ff40d7f8;hb=edb8e9b8948e7216e06b3ef5228b16f18417ca52;hp=a0bb806fbe30b7f50b9c0120c42e5c6191f56602;hpb=32f28c419e0c356a18a288af2ea6ffdd32a259ca;p=bbtk.git diff --git a/packages/vtk/src/bbvtkConeSource.xml b/packages/vtk/src/bbvtkConeSource.xml index a0bb806..c789e17 100644 --- a/packages/vtk/src/bbvtkConeSource.xml +++ b/packages/vtk/src/bbvtkConeSource.xml @@ -7,36 +7,51 @@
Creates a Cone (bbfication of vtkConeSource)
mesh - vtkConeSource.h -vtkConeSource - - - - - - - - - - +vtkConeSource + + + + + + + + + + +
-SetCenter(bbGetInputCenterX(), 
-          bbGetInputCenterY(), 
-          bbGetInputCenterZ());
-
-SetDirection(bbGetInputDirectionX(), 
-          bbGetInputDirectionY(), 
-          bbGetInputDirectionZ());
-                    
-SetResolution(bbGetInputResolution());
-SetRadius((double)bbGetInputRadius());
-Update();
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
+                           bbGetInputCenterY(), 
+                           bbGetInputCenterZ());
+bbGetVtkObject()->SetDirection(bbGetInputDirectionX(), 
+                               bbGetInputDirectionY(),
+                               bbGetInputDirectionZ());                    
+bbGetVtkObject()->SetResolution(bbGetInputResolution());
+bbGetVtkObject()->SetRadius((double)bbGetInputRadius());
+bbGetVtkObject()->SetHeight((double)bbGetInputHeight());
+bbGetVtkObject()->Update();
 
+ +
+  bbSetInputRadius( 1 );
+  bbSetInputHeight( 1 );
+  bbSetInputResolution( 10 );
+  bbSetInputCenterX( 0 );
+  bbSetInputCenterY( 0 );
+  bbSetInputCenterZ( 0 );
+  bbSetInputDirectionX( 0 );
+  bbSetInputDirectionY( 0 );
+  bbSetInputDirectionZ( 1 );
+
+
+ + +