Salome HOME
Update presentations
[modules/med.git] / src / MEDCalc / cmp / MEDPresentationDeflectionShape.hxx
index b46db997c87a1adbeaddb7322fb5d1e7c412975e..60278e1ba539bb5552b246510750ffe31c6be789 100644 (file)
@@ -25,9 +25,8 @@
 class MEDCALC_EXPORT MEDPresentationDeflectionShape : public MEDPresentation
 {
 public:
-  MEDPresentationDeflectionShape(MEDCALC::FieldHandler* fieldHdl, bool wireframe) :
-    MEDPresentation(fieldHdl, "MEDPresentationDeflectionShape"),
-    _isWireframe(wireframe)
+  MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params) :
+    MEDPresentation(params.fieldHandlerId, "MEDPresentationDeflectionShape")
   {}
   virtual ~MEDPresentationDeflectionShape() {}
 
@@ -35,7 +34,7 @@ protected:
   virtual void internalGeneratePipeline();
 
 private:
-  bool _isWireframe;
+  MEDCALC::DeflectionShapeParameters _params;
 };
 
 #endif