From 4473ea5e5ba7bf275cbafbadf81cd82d04917850 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Fri, 22 Jul 2011 15:42:14 +0000 Subject: [PATCH] add an xml source, just to see... --- .../lib/mySampleLib/mySphereSource.xml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 appli/creaNewProject/NewProject/lib/mySampleLib/mySphereSource.xml 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();
+
+
+ + +
+ + -- 2.47.1