Salome HOME
[bos #29467] [EDF] (2022-T1) Logging of SALOME usage: specific log in SALOME
[modules/shaper.git] / src / PartSet / PartSet_FieldStepPrs.h
index f6d8ebae54db1bb8fa445d88070a9c73bd659234..a7c9bc45ecbc680058205b882545ca7d45cd23a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -27,6 +27,8 @@
 #include <ModelAPI_Feature.h>
 
 #include <ViewerData_AISShape.hxx>
+#include <TopoDS_Shape.hxx>
+#include <gp_Pnt.hxx>
 
 #include <QList>
 
@@ -58,6 +60,9 @@ protected:
 private:
   QList<double> range(double& theMin, double& theMax) const;
   QList<double> booleanValues() const;
+  QStringList strings() const;
+  bool computeMassCenter(const TopoDS_Shape& theShape, gp_Pnt& theCenter);
+
 
   FieldStepPtr myStep;
   FeaturePtr myFeature;