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