#include <SMESHDS_SubMesh.hxx>
Public Member Functions | |
virtual void | AddElement (const SMDS_MeshElement *ME) |
virtual void | AddNode (const SMDS_MeshNode *ME) |
void | AddSubMesh (const SMESHDS_SubMesh *theSubMesh) |
virtual void | Clear () |
void | compactList () |
virtual bool | Contains (const SMDS_MeshElement *ME) const |
bool | ContainsSubMesh (const SMESHDS_SubMesh *theSubMesh) const |
virtual const SMDS_MeshElement * | GetElement (size_t idInShape) const |
virtual SMDS_ElemIteratorPtr | GetElements () const |
int | GetID () const |
virtual const SMDS_MeshNode * | GetNode (size_t idInShape) const |
virtual SMDS_NodeIteratorPtr | GetNodes () const |
SMESHDS_Mesh * | GetParent () const |
int | getSize () |
SMESHDS_SubMeshIteratorPtr | GetSubMeshIterator () const |
virtual bool | IsComplexSubmesh () const |
virtual bool | IsQuadratic () const |
virtual int | NbElements () const |
virtual int | NbNodes () const |
int | NbSubMeshes () const |
void | RemoveAllSubmeshes () |
virtual bool | RemoveElement (const SMDS_MeshElement *ME, bool isElemDeleted) |
virtual bool | RemoveNode (const SMDS_MeshNode *ME, bool isNodeDeleted) |
bool | RemoveSubMesh (const SMESHDS_SubMesh *theSubMesh) |
SMESHDS_SubMesh (SMESHDS_Mesh *parent, int index) | |
Constructor. More... | |
virtual | ~SMESHDS_SubMesh () |
Destructor. More... | |
SMESHDS_SubMesh::SMESHDS_SubMesh | ( | SMESHDS_Mesh * | parent, |
int | index | ||
) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh.
References AddNode(), SMDS_MeshElement::GetID(), SMDS_MeshElement::getIdInShape(), SMDS_MeshElement::getshapeId(), SMDS_MeshElement::GetType(), IsComplexSubmesh(), SMDS_MeshElement::setIdInShape(), and SMDS_MeshElement::setShapeId().
Referenced by SMESH_MeshEditor::ConvertToQuadratic(), DriverMED_R_SMESHDS_Mesh::GetSubMesh(), StdMeshers_Import_1D::importMesh(), SMESH_MeshEditor::MergeNodes(), SMESH_MeshEditor::SplitBiQuadraticIntoLinear(), and SMESH_MeshEditor::SplitVolumes().
|
virtual |
References IsComplexSubmesh(), SMDS_MeshElement::setIdInShape(), and SMDS_MeshElement::setShapeId().
Referenced by AddElement(), DriverMED_R_SMESHDS_Mesh::GetSubMesh(), and StdMeshers_Import_1D::importMesh().
void SMESHDS_SubMesh::AddSubMesh | ( | const SMESHDS_SubMesh * | theSubMesh | ) |
Referenced by SMESHDS_Mesh::AddCompoundSubmesh().
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh.
References GetSubMeshIterator(), and NbSubMeshes().
void SMESHDS_SubMesh::compactList | ( | ) |
References SMDS_MeshElement::setIdInShape().
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh.
References SMDS_MeshElement::getIdInShape(), SMDS_MeshElement::GetType(), and IsComplexSubmesh().
Referenced by SMESHDS_GroupOnGeom::Contains(), SMESH_MeshEditor::ConvertToQuadratic(), NETGENPlugin_Internals::findBorderElements(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), SMESH_MesherHelper::LoadNodeColumns(), SMESH_MeshEditor::Smooth(), SMESH_MeshEditor::SplitVolumes(), and VISCOUS_3D::_Shrinker1D::SwapSrcTgtNodes().
bool SMESHDS_SubMesh::ContainsSubMesh | ( | const SMESHDS_SubMesh * | theSubMesh | ) | const |
|
virtual |
References IsComplexSubmesh().
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh.
References IsComplexSubmesh().
Referenced by SMESH_Algo::addBadInputElements(), StdMeshers_Quadrangle_2D::check(), NETGENPlugin_NETGEN_2D_ONLY::Compute(), NETGENPlugin_NETGEN_3D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_Projection_1D2D::Evaluate(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Projection_3D::Evaluate(), SMESH_MeshEditor::ExtrusionAlongTrack(), NETGENPlugin_Mesher::FillNgMesh(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_2D_Algo::FixInternalNodes(), StdMeshers_FaceSide::GetEdgeNodes(), MyElemIterator::getElements(), SMESH_Algo::GetMeshError(), SMESH_Algo::GetNodeParamOnEdge(), SMESH_MesherHelper::IsDistorted2D(), SMESH_MesherHelper::IsReversedSubMesh(), SMESH_MesherHelper::IsSameElemGeometry(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::LoadIJNodes(), SMESH_MesherHelper::LoadNodeColumns(), StdMeshers_Penta_3D::MakeBlock(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), StdMeshers_Penta_3D::MakeVolumeMesh(), MyIterator< VALUE >::MyIterator(), NETGENPlugin_SimpleHypothesis_2D::SetParametersByMesh(), NETGENPlugin_SimpleHypothesis_3D::SetParametersByMesh(), StdMeshers_Adaptive1D::SetParametersByMesh(), StdMeshers_MaxElementArea::SetParametersByMesh(), StdMeshers_MaxElementVolume::SetParametersByMesh(), and SMESH_Algo::VertexNode().
int SMESHDS_SubMesh::GetID | ( | ) | const |
|
virtual |
References IsComplexSubmesh().
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh.
References IsComplexSubmesh().
Referenced by SMESH_Algo::addBadInputElements(), VISCOUS_3D::_Shrinker1D::AddEdge(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_2D::Compute(), SMESH_MeshEditor::ExtrusionAlongTrack(), NETGENPlugin_Internals::findBorderElements(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), StdMeshers_Penta_3D::FindNodeOnShape(), StdMeshers_FaceSide::GetEdgeNodes(), MyNodeIterator::getElements(), SMESH_Algo::GetNodeParamOnEdge(), SMESH_Algo::GetSortedNodesOnEdge(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::LoadIJNodes(), StdMeshers_MEFISTO_2D::LoadPoints(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Penta_3D::MakeNodes(), MyIterator< VALUE >::MyIterator(), StdMeshers_SegmentLengthAroundVertex::SetParametersByMesh(), StdMeshers_Quadrangle_2D::smooth(), and SMESH_MeshEditor::Smooth().
SMESHDS_Mesh * SMESHDS_SubMesh::GetParent | ( | ) | const |
Referenced by SMESH_Algo::VertexNode().
int SMESHDS_SubMesh::getSize | ( | ) |
References NbElements(), and NbNodes().
SMESHDS_SubMeshIteratorPtr SMESHDS_SubMesh::GetSubMeshIterator | ( | ) | const |
Referenced by Clear().
|
virtual |
Referenced by SMESHDS_Mesh::AddCompoundSubmesh(), AddElement(), AddNode(), Contains(), GetElement(), GetElements(), SMESH_Mesh::GetGroupSubMeshesContaining(), GetNode(), GetNodes(), IsQuadratic(), DriverMED_Family::MakeFamilies(), NbElements(), NbNodes(), RemoveElement(), RemoveNode(), and StdMeshers_ProjectionUtils::SetEventListener().
|
virtual |
References IsComplexSubmesh().
Referenced by NETGENPlugin_Mesher::FillNgMesh().
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh.
References IsComplexSubmesh().
Referenced by NETGENPlugin_Mesher::Compute(), StdMeshers_Hexa_3D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Regular_1D::computeInternalParameters(), StdMeshers_Projection_1D2D::Evaluate(), NETGENPlugin_Internals::findBorderElements(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_2D_Algo::FixInternalNodes(), StdMeshers_FaceSide::GetEdgeNodes(), getSize(), SMESH_Algo::GetSortedNodesOnEdge(), StdMeshers_Import_1D::importMesh(), SMESH_MesherHelper::IsDistorted2D(), SMESH_MesherHelper::IsStructured(), SMESH_Pattern::Load(), SMESH_MesherHelper::LoadNodeColumns(), StdMeshers_Penta_3D::MakeBlock(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), NETGENPlugin_SimpleHypothesis_2D::SetParametersByMesh(), StdMeshers_AutomaticLength::SetParametersByMesh(), StdMeshers_NumberOfSegments::SetParametersByMesh(), SMESH_MeshEditor::Smooth(), SMESH_subMesh::SubMeshesComputed(), and SMESH_Algo::VertexNode().
|
virtual |
Reimplemented in SMESH_ProxyMesh::SubMesh, and VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh.
References IsComplexSubmesh().
Referenced by VISCOUS_3D::_Shrinker1D::AddEdge(), NETGENPlugin_Mesher::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Regular_1D::computeInternalParameters(), SMESH_subMesh::ComputeStateEngine(), StdMeshers_Projection_1D2D::Evaluate(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Projection_3D::Evaluate(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), StdMeshers_FaceSide::GetEdgeNodes(), getSize(), SMESH_Algo::GetSortedNodesOnEdge(), StdMeshers_Import_1D::importMesh(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::LoadIJNodes(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_Penta_3D::MakeNodes(), SMESH_Algo::NumberOfPoints(), StdMeshers_SegmentLengthAroundVertex::SetParametersByMesh(), and SMESH_subMesh::SubMeshesComputed().
void SMESHDS_SubMesh::RemoveAllSubmeshes | ( | ) |
|
virtual |
|
virtual |
bool SMESHDS_SubMesh::RemoveSubMesh | ( | const SMESHDS_SubMesh * | theSubMesh | ) |