Salome HOME
Update presentations
[modules/med.git] / src / MEDCalc / tui / medpresentation.py
index a6177f730e996bf4dc46290f1e0a2948dcf62515..7c665b505220a0cc7075aae54d222d3e5fd29eb1 100644 (file)
@@ -44,10 +44,9 @@ def MakeContour(proxy, viewMode=MEDCALC.VIEW_MODE_REPLACE):
 #
 
 def MakeVectorField(proxy, viewMode=MEDCALC.VIEW_MODE_REPLACE):
-  print "Not implemented yet"
-  #params = MEDCALC.VectorFieldParameters(proxy.id, viewMode)
-  #presentation_id = __manager.makeVectorField(params)
-  #notifyGui_addPresentation(proxy.id, presentation_id)
+  params = MEDCALC.VectorFieldParameters(proxy.id, viewMode)
+  presentation_id = __manager.makeVectorField(params)
+  notifyGui_addPresentation(proxy.id, presentation_id)
 #
 
 def MakeSlices(proxy, viewMode=MEDCALC.VIEW_MODE_REPLACE):
@@ -58,15 +57,13 @@ def MakeSlices(proxy, viewMode=MEDCALC.VIEW_MODE_REPLACE):
 #
 
 def MakeDeflectionShape(proxy, viewMode=MEDCALC.VIEW_MODE_REPLACE):
-  print "Not implemented yet"
-  #params = MEDCALC.DeflectionShapeParameters(proxy.id, viewMode)
-  #presentation_id = __manager.makeDeflectionShape(params)
-  #notifyGui_addPresentation(proxy.id, presentation_id)
+  params = MEDCALC.DeflectionShapeParameters(proxy.id, viewMode)
+  presentation_id = __manager.makeDeflectionShape(params)
+  notifyGui_addPresentation(proxy.id, presentation_id)
 #
 
 def MakePointSprite(proxy, viewMode=MEDCALC.VIEW_MODE_REPLACE):
-  print "Not implemented yet"
-  #params = MEDCALC.PointSpriteParameters(proxy.id, viewMode)
-  #presentation_id = __manager.makePointSprite(params)
-  #notifyGui_addPresentation(proxy.id, presentation_id)
+  params = MEDCALC.PointSpriteParameters(proxy.id, viewMode)
+  presentation_id = __manager.makePointSprite(params)
+  notifyGui_addPresentation(proxy.id, presentation_id)
 #