Version: 8.3.0
SMESH_MeshEditor_i.cxx File Reference
#include "SMESH_MeshEditor_i.hxx"
#include "SMDS_EdgePosition.hxx"
#include "SMDS_ElemIterator.hxx"
#include "SMDS_FacePosition.hxx"
#include "SMDS_IteratorOnIterators.hxx"
#include "SMDS_LinearEdge.hxx"
#include "SMDS_Mesh0DElement.hxx"
#include "SMDS_MeshFace.hxx"
#include "SMDS_MeshVolume.hxx"
#include "SMDS_PolyhedralVolumeOfNodes.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMDS_VolumeTool.hxx"
#include "SMESHDS_Group.hxx"
#include "SMESHDS_GroupOnGeom.hxx"
#include "SMESH_ControlsDef.hxx"
#include "SMESH_Filter_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Group.hxx"
#include "SMESH_Group_i.hxx"
#include "SMESH_MeshAlgos.hxx"
#include "SMESH_MeshPartDS.hxx"
#include "SMESH_MesherHelper.hxx"
#include "SMESH_PythonDump.hxx"
#include "SMESH_subMeshEventListener.hxx"
#include "SMESH_subMesh_i.hxx"
#include <utilities.h>
#include <Utils_ExceptHandlers.hxx>
#include <Utils_CorbaException.hxx>
#include <SALOMEDS_wrap.hxx>
#include <SALOME_GenericObj_i.hh>
#include <Basics_OCCTVersion.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRep_Tool.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <gp_Ax1.hxx>
#include <gp_Ax2.hxx>
#include <gp_Vec.hxx>
#include <Standard_Failure.hxx>
#include <sstream>
#include <limits>
#include "SMESH_TryCatch.hxx"
Include dependency graph for SMESH_MeshEditor_i.cxx:

Data Structures

struct  MeshEditor_I::TPreviewMesh
 Mesh to apply modifications for preview purposes. More...
 
struct  MeshEditor_I::TSearchersDeleter
 Deleter of theNodeSearcher at any compute event occurred. More...
 
struct  SMESH_MeshEditor_i::_IDSource
 
struct  MeshEditor_I::ExtrusionParams
 Structure used to pass extrusion parameters to SMESH_MeshEditor. More...
 
struct  MeshEditor_I::ExtrusionParams::TBasePoint
 

Namespaces

namespace  MeshEditor_I
 

Macros

#define SMY_OWN_CATCH   catch ( SALOME::SALOME_Exception & e ) { throw e; }
 
#define cast2Node(elem)   static_cast<const SMDS_MeshNode*>( elem )
 
#define RETCASE(enm)   case ::SMESH_MeshEditor::enm: return SMESH::SMESH_MeshEditor::enm;
 
#define RETCASE(enm)   case ::SMESH_MeshEditor::enm: return SMESH::SMESH_MeshEditor::enm;
 

Functions

TCollection_AsciiString MeshEditor_I::mirrorTypeName (SMESH::SMESH_MeshEditor::MirrorType theMirrorType)
 
void MeshEditor_I::arrayToSet (const SMESH::long_array &IDs, const SMESHDS_Mesh *aMesh, TIDSortedElemSet &aMap, const SMDSAbs_ElementType aType=SMDSAbs_All, SMDS_MeshElement::Filter *aFilter=NULL)
 function for conversion of long_array to TIDSortedElemSet More...
 
void MeshEditor_I::idSourceToNodeSet (SMESH::SMESH_IDSource_ptr theObject, const SMESHDS_Mesh *theMeshDS, TIDSortedNodeSet &theNodeSet)
 Retrieve nodes from SMESH_IDSource. More...
 
void MeshEditor_I::getElementsAround (const TIDSortedElemSet &theElements, const SMESHDS_Mesh *theMeshDS, TIDSortedElemSet &theElementsAround)
 Returns elements connected to the given elements. More...
 
string MeshEditor_I::getPartIOR (SMESH::SMESH_IDSource_ptr theMeshPart, SMESH::ElementType type)
 Return a string used to detect change of mesh part on which theElementSearcher is going to be used. More...
 
static
SMESH::SMESH_MeshEditor::Sew_Error 
convError (const ::SMESH_MeshEditor::Sew_Error e)
 
static void listOfGroupToSet (const SMESH::ListOfGroups &theGrpList, SMESHDS_Mesh *theMeshDS, TIDSortedElemSet &theElemSet, const bool theIsNodeGrp)
 Re-load elements from a list of groups into a TIDSortedElemSet. More...
 

Variables

static SMESH_NodeSearcherMeshEditor_I::theNodeSearcher = 0
 
static SMESH_ElementSearcherMeshEditor_I::theElementSearcher = 0
 
MeshEditor_I::TSearchersDeleter MeshEditor_I::theSearchersDeleter
 

Macro Definition Documentation

#define RETCASE (   enm)    case ::SMESH_MeshEditor::enm: return SMESH::SMESH_MeshEditor::enm;

Referenced by convError().

#define RETCASE (   enm)    case ::SMESH_MeshEditor::enm: return SMESH::SMESH_MeshEditor::enm;
#define SMY_OWN_CATCH   catch ( SALOME::SALOME_Exception & e ) { throw e; }

Function Documentation

static void listOfGroupToSet ( const SMESH::ListOfGroups theGrpList,
SMESHDS_Mesh theMeshDS,
TIDSortedElemSet theElemSet,
const bool  theIsNodeGrp 
)
static

Re-load elements from a list of groups into a TIDSortedElemSet.

Parameters
[in]theGrpList- groups
[in]theMeshDS- mesh
[out]theElemSet- set of elements
[in]theIsNodeGrp- is theGrpList includes goups of nodes

References MeshEditor_I::arrayToSet(), SMESH::NODE, SMDSAbs_All, and SMDSAbs_Node.

Referenced by SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroups(), SMESH_MeshEditor_i::DoubleNodeElemGroups2New(), and SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion().