Data Structures | |
struct | TPreviewMesh |
Mesh to apply modifications for preview purposes. More... | |
struct | TSearchersDeleter |
Deleter of theNodeSearcher at any compute event occurred. More... | |
struct | ExtrusionParams |
Structure used to pass extrusion parameters to SMESH_MeshEditor. More... | |
Functions | |
TCollection_AsciiString | mirrorTypeName (SMESH::SMESH_MeshEditor::MirrorType theMirrorType) |
void | 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 | idSourceToNodeSet (SMESH::SMESH_IDSource_ptr theObject, const SMESHDS_Mesh *theMeshDS, TIDSortedNodeSet &theNodeSet) |
Retrieve nodes from SMESH_IDSource. More... | |
void | getElementsAround (const TIDSortedElemSet &theElements, const SMESHDS_Mesh *theMeshDS, TIDSortedElemSet &theElementsAround) |
Returns elements connected to the given elements. More... | |
string | 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... | |
Variables | |
static SMESH_NodeSearcher * | theNodeSearcher = 0 |
static SMESH_ElementSearcher * | theElementSearcher = 0 |
MeshEditor_I::TSearchersDeleter | theSearchersDeleter |
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
IDs | - array of IDs |
aMesh | - mesh |
aMap | - collection to fill |
aType | - element type |
References SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMDSAbs_All, and SMDSAbs_Node.
Referenced by SMESH_MeshEditor_i::AdvancedExtrusion(), SMESH_MeshEditor_i::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor_i::DoubleNodeElem(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), SMESH_MeshEditor_i::DoubleNodesOnGroupBoundaries(), SMESH_MeshEditor_i::idSourceToSet(), listOfGroupToSet(), SMESH_MeshEditor_i::Mirror(), SMESH_MeshEditor_i::MirrorMakeGroups(), SMESH_MeshEditor_i::MirrorMakeMesh(), SMESH_MeshEditor_i::QuadToTri(), SMESH_MeshEditor_i::Rotate(), SMESH_MeshEditor_i::RotateMakeGroups(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::SewSideElements(), SMESH_MeshEditor_i::smooth(), SMESH_MeshEditor_i::SplitHexahedraIntoPrisms(), SMESH_MeshEditor_i::SplitQuad(), SMESH_MeshEditor_i::Translate(), SMESH_MeshEditor_i::TranslateMakeGroups(), SMESH_MeshEditor_i::TranslateMakeMesh(), and SMESH_MeshEditor_i::TriToQuad().
void MeshEditor_I::getElementsAround | ( | const TIDSortedElemSet & | theElements, |
const SMESHDS_Mesh * | theMeshDS, | ||
TIDSortedElemSet & | theElementsAround | ||
) |
Returns elements connected to the given elements.
References SMDS_MeshElement::GetID(), SMDS_MeshNode::GetInverseElementIterator(), SMDS_Mesh::GetMeshInfo(), SMDS_MeshElement::GetNode(), SMDS_MeshElement::NbCornerNodes(), SMDS_MeshInfo::NbElements(), SMDS_Mesh::NbNodes(), and SMDSAbs_All.
Referenced by SMESH_MeshEditor_i::mirror(), SMESH_MeshEditor_i::rotate(), SMESH_MeshEditor_i::scale(), and SMESH_MeshEditor_i::translate().
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.
References SMESH_Gen_i::GetORB().
Referenced by SMESH_MeshEditor_i::FindAmongElementsByPoint(), and SMESH_MeshEditor_i::Reorient2D().
void MeshEditor_I::idSourceToNodeSet | ( | SMESH::SMESH_IDSource_ptr | theObject, |
const SMESHDS_Mesh * | theMeshDS, | ||
TIDSortedNodeSet & | theNodeSet | ||
) |
Retrieve nodes from SMESH_IDSource.
References SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH::NODE, and SMDS_Mesh::nodesIterator().
Referenced by SMESH_MeshEditor_i::FindCoincidentNodesOnPart(), and SMESH_MeshEditor_i::FindCoincidentNodesOnPartBut().
TCollection_AsciiString MeshEditor_I::mirrorTypeName | ( | SMESH::SMESH_MeshEditor::MirrorType | theMirrorType | ) |
References SMESH::SMESH_MeshEditor::AXIS, and SMESH::SMESH_MeshEditor::POINT.
Referenced by SMESH_MeshEditor_i::Mirror(), SMESH_MeshEditor_i::MirrorMakeGroups(), SMESH_MeshEditor_i::MirrorMakeMesh(), SMESH_MeshEditor_i::MirrorObject(), SMESH_MeshEditor_i::MirrorObjectMakeGroups(), and SMESH_MeshEditor_i::MirrorObjectMakeMesh().
|
static |
|
static |
MeshEditor_I::TSearchersDeleter MeshEditor_I::theSearchersDeleter |
Referenced by SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), SMESH_MeshEditor_i::FindElementsByPoint(), SMESH_MeshEditor_i::FindNodeClosestTo(), SMESH_MeshEditor_i::GetPointState(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), and SMESH_MeshEditor_i::Reorient2D().