From: jean-pierre roux Date: Fri, 22 Jul 2011 15:42:14 +0000 (+0000) Subject: add an xml source, just to see... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4473ea5e5ba7bf275cbafbadf81cd82d04917850;p=crea.git add an xml source, just to see... --- diff --git a/appli/creaNewProject/NewProject/lib/mySampleLib/mySphereSource.xml b/appli/creaNewProject/NewProject/lib/mySampleLib/mySphereSource.xml new file mode 100644 index 0000000..84cc3d1 --- /dev/null +++ b/appli/creaNewProject/NewProject/lib/mySampleLib/mySphereSource.xml @@ -0,0 +1,42 @@ + + + + + +jpr at creatis.insa-lyon.fr +
Creates a Cone (bbfication of vtkConeSource)
+mesh + +vtkConeSource.h +vtkConeSource + + + + + + + + + + + + +
+bbGetVtkObject()->SetCenter(bbGetInputCenterX(), 
+                           bbGetInputCenterY(), 
+                           bbGetInputCenterZ());
+
+bbGetVtkObject()->SetDirection(bbGetInputDirectionX(), 
+                               bbGetInputDirectionY(),
+                               bbGetInputDirectionZ());
+                    
+bbGetVtkObject()->SetResolution(bbGetInputResolution());
+bbGetVtkObject()->SetRadius((double)bbGetInputRadius());
+bbGetVtkObject()->Update();
+
+
+ + +
+ +