Salome HOME
Merge 'abn/V8_1_fix' branch into V8_1_BR.
[modules/med.git] / src / MEDCalc / cmp / MEDPresentationDeflectionShape.hxx
index 60278e1ba539bb5552b246510750ffe31c6be789..f1d8814657a7265193ddfe3f5b534e23b940ccad 100644 (file)
@@ -15,6 +15,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef SRC_MEDCALC_CMP_MEDPRESENTATION_DEFLECTIONSHAPE_HXX_
 #define SRC_MEDCALC_CMP_MEDPRESENTATION_DEFLECTIONSHAPE_HXX_
 class MEDCALC_EXPORT MEDPresentationDeflectionShape : public MEDPresentation
 {
 public:
-  MEDPresentationDeflectionShape(const MEDCALC::DeflectionShapeParameters& params) :
-    MEDPresentation(params.fieldHandlerId, "MEDPresentationDeflectionShape")
-  {}
+  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);
+
+  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;