X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FControls%2FSMESH_ControlsDef.hxx;h=c7398b0ef4d0364f7d49480b2e8e5aa3924a85f7;hb=59627b07d70f4caa4c768be6805334d2610fa54c;hp=cf3a7cd98ecad86b60dacdc43dc85ba96159f380;hpb=5ac2bd91a85417fd289aea0907264cb2d155d76d;p=modules%2Fsmesh.git diff --git a/src/Controls/SMESH_ControlsDef.hxx b/src/Controls/SMESH_ControlsDef.hxx index cf3a7cd98..c7398b0ef 100644 --- a/src/Controls/SMESH_ControlsDef.hxx +++ b/src/Controls/SMESH_ControlsDef.hxx @@ -37,7 +37,6 @@ #include #include #include -#include #include #include @@ -68,7 +67,7 @@ namespace SMESH{ public: TSequenceOfXYZ(); - TSequenceOfXYZ(size_type n); + explicit TSequenceOfXYZ(size_type n); TSequenceOfXYZ(size_type n, const gp_XYZ& t); @@ -93,8 +92,16 @@ namespace SMESH{ size_type size() const; + + void setElement(const SMDS_MeshElement* e) { myElem = e; } + + const SMDS_MeshElement* getElement() const { return myElem; } + + SMDSAbs_EntityType getElementEntity() const; + private: - std::vector myArray; + std::vector myArray; + const SMDS_MeshElement* myElem; }; /*! @@ -974,6 +981,7 @@ namespace SMESH{ virtual void init(); TopoDS_Shape myShape; + TColStd_MapOfInteger mySubShapesIDs; const SMESHDS_Mesh* myMeshDS; SMDSAbs_ElementType myType; bool myIsSubshape; @@ -1080,7 +1088,7 @@ namespace SMESH{ TMeshModifTracer myMeshModifTracer; long myFaceID; double myToler; - std::set< long > myCoplanarIDs; + TColStd_MapOfInteger myCoplanarIDs; }; typedef boost::shared_ptr CoplanarFacesPtr;