27 #ifndef _SMESH_SUBMESH_HXX_
28 #define _SMESH_SUBMESH_HXX_
40 #include <TopoDS_Shape.hxx>
77 const std::map < int, SMESH_subMesh * >& DependsOn();
83 const bool complexShapeFirst);
90 COMPUTE_OK, FAILED_TO_COMPUTE
112 ALGO_EVENT, COMPUTE_EVENT
149 std::map< EventListener*, EventListenerData* > myEventListeners;
168 void NotifyListenersOnEvent(
const int event,
175 void DeleteOwnListeners();
191 void DumpAlgoState(
bool isMain);
193 bool ComputeStateEngine(
int event);
205 const TopAbs_ShapeEnum theShapeType);
218 bool IsEmpty()
const;
220 bool IsMeshComputed()
const;
227 void SetIsAlwaysComputed(
bool isAlCo);
235 bool SubMeshesComputed();
237 bool SubMeshesReady();
239 void RemoveSubMeshElementsAndNodes();
240 void UpdateDependantsState(
const compute_event theEvent);
241 void UpdateSubMeshState(
const compute_state theState);
242 void ComputeSubMeshStateEngine(
int event);
243 void CleanDependants();
244 void CleanDependsOn();
245 void SetAlgoState(
int state);
253 bool & theSubComputed);
276 const int theHypType = 0);