]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOM/GEOM_Solver.hxx
Salome HOME
b84d469891734203cd0f7de997c81ecfec1c6ed4
[modules/geom.git] / src / GEOM / GEOM_Solver.hxx
1
2 #ifndef _GEOM_Solver_HXX_
3 #define _GEOM_Solver_HXX_
4
5 #include "GEOM_Engine.hxx"
6 #include "GEOM_Object.hxx"
7 #include "GEOM_Function.hxx"
8
9 #include <TDF_LabelSequence.hxx>
10
11 class GEOM_Solver
12 {
13  public:
14   Standard_EXPORT GEOM_Solver(GEOM_Engine* theEngine) :_engine(theEngine) {}
15   Standard_EXPORT ~GEOM_Solver() {}
16
17   //Update the values of all GEOM_Object in the document theDocID, theSeq will contain a list of touched labels
18   //Note: not Implemented
19   Standard_EXPORT bool Update(int theDocID, TDF_LabelSequence& theSeq); 
20  
21   //Updates a value of theObject, theSeq will contain a list of touched labels
22   //Note: not implemented
23   Standard_EXPORT bool UpdateObject(Handle(GEOM_Object) theObject, TDF_LabelSequence& theSeq);
24
25   //Recomputes a function
26   Standard_EXPORT bool ComputeFunction(Handle(GEOM_Function) theFunction);
27
28  private:
29
30   GEOM_Engine* _engine;    
31
32 };
33
34 #endif