Salome HOME
Improve swig generation process on Windows platform.
[tools/medcoupling.git] / src / INTERP_KERNEL / BoxSplittingOptions.hxx
index f8e47caedf462f190f761ffff2c41b3d16d37ff4..fa9396510912e7364b736cbdedba70f5d76776f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,6 @@
 #define __BOXSPLITTINGOPTIONS_HXX__
 
 #include "INTERPKERNELDefines.hxx"
-#include "NormalizedUnstructuredMesh.hxx"
 
 #include <string>
 
@@ -35,28 +34,32 @@ namespace INTERP_KERNEL
   class INTERPKERNEL_EXPORT BoxSplittingOptions
   {
   private:
-    double _effeciency;
-    double _effeciency_snd;
-    int _min_cell_direction;
-    int _max_cells;
+    double _efficiency_goal;
+    double _efficiency_threshold;
+    int _min_patch_length;
+    int _max_patch_length;
+    int _max_nb_cells_in_patch;
   public:
     BoxSplittingOptions() { init(); }
     void init();
-    double getEffeciency() const { return _effeciency; }
-    void setEffeciency(double effeciency) { _effeciency=effeciency; }
-    double getEffeciencySnd() const { return _effeciency_snd; }
-    void setEffeciencySnd(double effeciencySnd) { _effeciency_snd=effeciencySnd; }
-    int getMinCellDirection() const { return _min_cell_direction; }
-    void setMinCellDirection(int minCellDirection) { _min_cell_direction=minCellDirection; }
-    int getMaxCells() const { return _max_cells; }
-    void setMaxCells(int maxCells) { _max_cells=maxCells; }
+    double getEfficiencyGoal() const { return _efficiency_goal; }
+    void setEfficiencyGoal(double efficiency) { _efficiency_goal=efficiency; }
+    double getEfficiencyThreshold() const { return _efficiency_threshold; }
+    void setEfficiencyThreshold(double efficiencyThreshold) { _efficiency_threshold=efficiencyThreshold; }
+    int getMinimumPatchLength() const { return _min_patch_length; }
+    void setMinimumPatchLength(int minPatchLength) { _min_patch_length=minPatchLength; }
+    int getMaximumPatchLength() const { return _max_patch_length; }
+    void setMaximumPatchLength(int maxNbCellPatch) { _max_patch_length=maxNbCellPatch; }
+    int getMaximumNbOfCellsInPatch() const { return _max_nb_cells_in_patch; }
+    void setMaximumNbOfCellsInPatch(int maxNbCellsInPatch) { _max_nb_cells_in_patch=maxNbCellsInPatch; }
     void copyOptions(const BoxSplittingOptions & other) { *this=other; }
     std::string printOptions() const;
   private:
-    static const int DFT_MIN_CELL_DIRECTION=3;
-    static const int DFT_MAX_CELLS=1000;
-    static const double DFT_EFFECIENCY;
-    static const double DFT_EFFECIENCY_SND;
+    static const int DFT_MIN_PATCH_LENGTH=1;
+    static const int DFT_MAX_PATCH_LENGTH=2147483647;
+    static const int DFT_MAX_PATCH_MEASURE=2147483647;
+    static const double DFT_EFFICIENCY_GOAL;
+    static const double DFT_EFFICIENCY_THRESHOLD;
   public:
     static const char PRECISION_STR[];
   };