*/
static const TopoDS_Solid& PseudoShape();
+ /*!
+ * \brief Remove all nodes and elements
+ */
+ void Clear();
+
+ /*!
+ * \brief Remove all nodes and elements of indicated shape
+ */
+ void ClearSubMesh(const int theShapeId);
int UNVToMesh(const char* theFileName);
/*!
const SMESH_Hypothesis * GetHypothesis(const TopoDS_Shape & aSubShape,
const SMESH_HypoFilter& aFilter,
- const bool andAncestors) const;
+ const bool andAncestors,
+ TopoDS_Shape* assignedTo=0) const;
int GetHypotheses(const TopoDS_Shape & aSubShape,
const SMESH_HypoFilter& aFilter,
std::list <SMESH_subMesh*> _subMeshesUsingHypothesisList;
SMESHDS_Document * _myDocument;
SMESHDS_Mesh * _myMeshDS;
- map <int, SMESH_subMesh *> _mapSubMesh;
- map <int, SMESH_Group *> _mapGroup;
+ std::map <int, SMESH_subMesh*> _mapSubMesh;
+ std::map <int, SMESH_Group*> _mapGroup;
SMESH_Gen * _gen;
bool _isAutoColor;