Salome HOME
Merge 'abn/V8_1_fix' branch into V8_1_BR.
[modules/med.git] / src / MEDCalc / cmp / MEDPresentationDeflectionShape.hxx
index e23be43741cce85702e8b46f521a7efe58b7108f..f1d8814657a7265193ddfe3f5b534e23b940ccad 100644 (file)
 class MEDCALC_EXPORT MEDPresentationDeflectionShape : public MEDPresentation
 {
 public:
-  MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params) :
-    MEDPresentation(params.fieldHandlerId, "MEDPresentationDeflectionShape"), _params(params)
-  {}
+  static const std::string TYPE_NAME;
+
+  MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params, const MEDCALC::ViewModeType viewMode);
   virtual ~MEDPresentationDeflectionShape() {}
 
+  virtual void initFieldMeshInfos();
+
   void updatePipeline(const MEDCALC::DeflectionShapeParameters& params);
-  MEDCALC::ViewModeType getViewMode() { return _params.viewMode; }
+
+  void getParameters(MEDCALC::DeflectionShapeParameters & params) const { params = _params; } ;
+  void setParameters(const MEDCALC::DeflectionShapeParameters & params) { _params = params; } ;
 
 protected:
   virtual void internalGeneratePipeline();
+  void autoScale();
 
 private:
   MEDCALC::DeflectionShapeParameters _params;