X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=packages%2Fvtk%2Fsrc%2FbbvtkConeSource.xml;h=c789e172c87083486e33867d513a29a5ff40d7f8;hb=8230f283d05b42a0139611458a7604e6aa10ec6c;hp=a544b246b1caa03e2583d8c9a7567bfc036d77cd;hpb=f303df63e2a2e33d698c974858f288058d980ae4;p=bbtk.git diff --git a/packages/vtk/src/bbvtkConeSource.xml b/packages/vtk/src/bbvtkConeSource.xml index a544b24..c789e17 100644 --- a/packages/vtk/src/bbvtkConeSource.xml +++ b/packages/vtk/src/bbvtkConeSource.xml @@ -1,90 +1,57 @@ - + jpr at creatis.insa-lyon.fr
Creates a Cone (bbfication of vtkConeSource)
mesh - vtkConeSource.h -vtkConeSource - - -Output Cone - - - -Cone Radius - - - -Cone Resolution - - - -Center X coord - - - -Center Y coord - - - -Center Z coord - - - - X Direction - - - - Y Direction - - - - Z Direction - - +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 );
+
+
+ + +