SMESH_ProxyMesh computed by _ViscousBuilder for a SOLID. More...

Public Types | |
| typedef boost::shared_ptr < SMESH_ProxyMesh >  | Ptr | 
| typedef std::map< const  SMDS_MeshNode *, const SMDS_MeshNode *, TIDCompare >  | TN2NMap | 
Public Member Functions | |
| _MeshOfSolid (SMESH_Mesh *mesh) | |
| SMESH_ProxyMesh::SubMesh * | getFaceSubM (const TopoDS_Face &F, bool create=false) | 
| void | setNode2Node (const SMDS_MeshNode *srcNode, const SMDS_MeshNode *proxyNode, const SMESH_ProxyMesh::SubMesh *subMesh) | 
| const SMESHDS_SubMesh * | GetSubMesh (const TopoDS_Shape &shape) const | 
| Returns the submesh of a shape; it can be a proxy sub-mesh.  More... | |
| const SubMesh * | GetProxySubMesh (const TopoDS_Shape &shape) const | 
| Returns the proxy sub-mesh of a shape; it can be NULL.  More... | |
| const SMDS_MeshNode * | GetProxyNode (const SMDS_MeshNode *node) const | 
| Returns the proxy node of a node; the input node is returned if no proxy exists.  More... | |
| int | NbProxySubMeshes () const | 
| Returns number of proxy sub-meshes.  More... | |
| SMDS_ElemIteratorPtr | GetFaces () const | 
| Returns iterator on all faces of the mesh taking into account substitutions To be used in case of mesh without shape.  More... | |
| SMDS_ElemIteratorPtr | GetFaces (const TopoDS_Shape &face) const | 
| Returns iterator on all faces on the shape taking into account substitutions.  More... | |
| int | NbFaces () const | 
| Return total nb of faces taking into account substitutions.  More... | |
| bool | IsTemporary (const SMDS_MeshElement *elem) const | 
| Return true if the element is a temporary one.  More... | |
| SMESH_Mesh * | GetMesh () const | 
| SMESHDS_Mesh * | GetMeshDS () const | 
| Returns mesh DS.  More... | |
| bool | IsDeletable () const | 
Static Public Member Functions | |
| static  SMESH_subMeshEventListenerData *  | MakeData (SMESH_subMesh *dependentSM, const int type=0) | 
| Create a default listener data.  More... | |
Data Fields | |
| bool | _n2nMapComputed | 
| SMESH_ComputeErrorPtr | _warning | 
| bool | myIsDeletable | 
| if true, it will be deleted by SMESH_subMesh  More... | |
| int | myType | 
| to recognize data type  More... | |
| std::list< SMESH_subMesh * > | mySubMeshes | 
Protected Member Functions | |
| void | setMesh (const SMESH_Mesh &mesh) | 
| int | shapeIndex (const TopoDS_Shape &shape) const | 
| Returns index of a shape.  More... | |
| virtual SubMesh * | newSubmesh (int index=0) const | 
| SubMesh * | findProxySubMesh (int shapeIndex=0) const | 
| Returns a proxy sub-mesh.  More... | |
| SubMesh * | getProxySubMesh (int shapeIndex) | 
| Returns a proxy sub-mesh; it is created if not yet exists.  More... | |
| SubMesh * | getProxySubMesh (const TopoDS_Shape &shape=TopoDS_Shape()) | 
| Returns a proxy sub-mesh; it is created if not yet exists.  More... | |
| bool | takeProxySubMesh (const TopoDS_Shape &shape, SMESH_ProxyMesh *proxyMesh) | 
| Move proxy sub-mesh from other proxy mesh to this, returns true if sub-mesh found.  More... | |
| void | takeTmpElemsInMesh (SMESH_ProxyMesh *proxyMesh) | 
| Move tmp elements residing the _mesh from other proxy mesh to this.  More... | |
| void | removeTmpElement (const SMDS_MeshElement *elem) | 
| Removes tmp elements from the _mesh.  More... | |
| void | storeTmpElement (const SMDS_MeshElement *elem) | 
| Stores tmp element residing the _mesh.  More... | |
Protected Attributes | |
| std::vector< SMDSAbs_EntityType > | _allowedTypes | 
SMESH_ProxyMesh computed by _ViscousBuilder for a SOLID.
It is stored in a SMESH_subMesh of the SOLID as SMESH_subMeshEventListenerData
      
  | 
  inherited | 
      
  | 
  inherited | 
| VISCOUS_3D::_MeshOfSolid::_MeshOfSolid | ( | SMESH_Mesh * | mesh | ) | 
References SMESH_ProxyMesh::setMesh().
      
  | 
  protectedinherited | 
Returns a proxy sub-mesh.
References SMESH_ProxyMesh::_subMeshes.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), SMESH_ProxyMesh::GetProxyNode(), and SMESH_ProxyMesh::takeProxySubMesh().
      
  | 
  inherited | 
Returns iterator on all faces of the mesh taking into account substitutions To be used in case of mesh without shape.
References SMESH_ProxyMesh::_allowedTypes, SMESH_ProxyMesh::_mesh, SMESH_ProxyMesh::_subContainer, SMESH_ProxyMesh::_subMeshes, SMESHDS_SubMesh::AddSubMesh(), SMDS_Mesh::elementsIterator(), SMESH_ProxyMesh::GetMeshDS(), SMESH_Mesh::HasShapeToMesh(), SMESH_ProxyMesh::NbFaces(), SMESH_Mesh::NbFaces(), SMESHDS_SubMesh::NbSubMeshes(), SMESHDS_SubMesh::RemoveAllSubmeshes(), and SMDSAbs_Face.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), VISCOUS_3D::_ViscousBuilder::computeGeomSize(), and VISCOUS_3D::_ViscousBuilder::smoothAndCheck().
      
  | 
  inherited | 
Returns iterator on all faces on the shape taking into account substitutions.
References SMESH_ProxyMesh::_mesh, SMESH_ProxyMesh::_subContainer, SMESHDS_SubMesh::AddSubMesh(), SMESH_ProxyMesh::GetSubMesh(), SMESH_Mesh::HasShapeToMesh(), and SMESHDS_SubMesh::RemoveAllSubmeshes().
| SMESH_ProxyMesh::SubMesh* VISCOUS_3D::_MeshOfSolid::getFaceSubM | ( | const TopoDS_Face & | F, | 
| bool | create = false  | 
        ||
| ) | 
      
  | 
  inherited | 
      
  | 
  inherited | 
Returns mesh DS.
References SMESH_ProxyMesh::_mesh, and SMESH_Mesh::GetMeshDS().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), SMESH_2D_Algo::FixInternalNodes(), SMESH_ProxyMesh::GetFaces(), SMESH_ProxyMesh::GetProxyNode(), SMESH_ProxyMesh::GetSubMesh(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), SMESH_ProxyMesh::NbFaces(), SMESH_ProxyMesh::removeTmpElement(), SMESH_ProxyMesh::shapeIndex(), and SMESH_ProxyMesh::~SMESH_ProxyMesh().
      
  | 
  inherited | 
Returns the proxy node of a node; the input node is returned if no proxy exists.
References SMESH_ProxyMesh::_mesh, SMESH_ProxyMesh::findProxySubMesh(), SMESH_Mesh::GetAncestors(), SMESH_ProxyMesh::GetMeshDS(), SMDS_MeshNode::GetPosition(), SMDS_MeshElement::getshapeId(), SMESH_MesherHelper::GetSubShapeByNode(), SMDS_Position::GetTypeOfPosition(), SMESH_ProxyMesh::shapeIndex(), and SMDS_TOP_FACE.
Referenced by SMESH_MesherHelper::LoadNodeColumns().
      
  | 
  inherited | 
Returns the proxy sub-mesh of a shape; it can be NULL.
References SMESH_ProxyMesh::_subMeshes, and SMESH_ProxyMesh::shapeIndex().
Referenced by VISCOUS_3D::_ViscousBuilder::MakeN2NMap().
      
  | 
  protectedinherited | 
Returns a proxy sub-mesh; it is created if not yet exists.
References SMESH_ProxyMesh::_subMeshes, and SMESH_ProxyMesh::newSubmesh().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), getFaceSubM(), and SMESH_ProxyMesh::getProxySubMesh().
      
  | 
  protectedinherited | 
Returns a proxy sub-mesh; it is created if not yet exists.
References SMESH_ProxyMesh::getProxySubMesh(), and SMESH_ProxyMesh::shapeIndex().
      
  | 
  inherited | 
Returns the submesh of a shape; it can be a proxy sub-mesh.
References SMESH_ProxyMesh::_subMeshes, SMESH_ProxyMesh::GetMeshDS(), SMESHDS_Mesh::MeshElements(), and SMESH_ProxyMesh::shapeIndex().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_2D_Algo::FixInternalNodes(), SMESH_ProxyMesh::GetFaces(), VISCOUS_3D::_ViscousListener::GetSolidMesh(), SMESH_MesherHelper::LoadNodeColumns(), SMESH_ProxyMesh::NbFaces(), and VISCOUS_3D::_ViscousListener::RemoveSolidMesh().
      
  | 
  inherited | 
References SMESH_subMeshEventListenerData::myIsDeletable.
Referenced by SMESH_subMesh::setEventListener().
      
  | 
  inherited | 
Return true if the element is a temporary one.
References SMESH_ProxyMesh::_elemsInMesh, and SMDS_MeshElement::GetID().
Referenced by SMESH_MesherHelper::LoadNodeColumns().
      
  | 
  staticinherited | 
Create a default listener data.
| dependentSM | - subMesh to store | 
| type | - data type | 
| SMESH_subMeshEventListenerData* | - a new listener data | 
See SMESH_subMeshEventListener::ProcessEvent() to know how the default listener uses it (implementation is in SMESH_subMesh.cxx)
References SMESH_subMeshEventListenerData::mySubMeshes, SMESH_subMeshEventListenerData::myType, and SMESH_subMeshEventListenerData::SMESH_subMeshEventListenerData().
Referenced by StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_ProjectionUtils::SetEventListener(), and VISCOUS_3D::ToClearSubWithMain().
      
  | 
  inherited | 
Return total nb of faces taking into account substitutions.
References SMESH_ProxyMesh::_allowedTypes, SMESH_ProxyMesh::_mesh, SMESH_ProxyMesh::_subMeshes, SMESH_ProxyMesh::GetMeshDS(), SMDS_Mesh::GetMeshInfo(), SMESH_Mesh::GetShapeToMesh(), SMESH_ProxyMesh::GetSubMesh(), SMESH_Mesh::HasShapeToMesh(), SMDS_MeshInfo::NbEntities(), SMDS_Mesh::NbFaces(), SMDSEntity_Quad_Quadrangle, and SMDSEntity_Triangle.
Referenced by SMESH_ProxyMesh::GetFaces().
      
  | 
  inherited | 
Returns number of proxy sub-meshes.
References SMESH_ProxyMesh::_subMeshes.
Reimplemented in VISCOUS_2D::_ProxyMeshOfFace.
Referenced by SMESH_ProxyMesh::getProxySubMesh().
      
  | 
  protectedinherited | 
Removes tmp elements from the _mesh.
References SMESH_ProxyMesh::_elemsInMesh, SMDS_MeshElement::GetID(), SMESH_ProxyMesh::GetMeshDS(), and SMESHDS_Mesh::RemoveFreeElement().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute().
      
  | 
  protectedinherited | 
References SMESH_ProxyMesh::_mesh.
Referenced by _MeshOfSolid(), and StdMeshers_QuadToTriaAdaptor::Compute().
| void VISCOUS_3D::_MeshOfSolid::setNode2Node | ( | const SMDS_MeshNode * | srcNode, | 
| const SMDS_MeshNode * | proxyNode, | ||
| const SMESH_ProxyMesh::SubMesh * | subMesh | ||
| ) | 
References SMESH_ProxyMesh::setNode2Node().
Referenced by VISCOUS_3D::_ViscousBuilder::MakeN2NMap().
      
  | 
  protectedinherited | 
Returns index of a shape.
References SMESH_ProxyMesh::_mesh, SMESH_ProxyMesh::GetMeshDS(), SMESH_Mesh::HasShapeToMesh(), and SMESHDS_Mesh::ShapeToIndex().
Referenced by getFaceSubM(), SMESH_ProxyMesh::GetProxyNode(), SMESH_ProxyMesh::GetProxySubMesh(), SMESH_ProxyMesh::getProxySubMesh(), SMESH_ProxyMesh::GetSubMesh(), and SMESH_ProxyMesh::takeProxySubMesh().
      
  | 
  protectedinherited | 
Stores tmp element residing the _mesh.
References SMESH_ProxyMesh::_elemsInMesh.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute().
      
  | 
  protectedinherited | 
Move proxy sub-mesh from other proxy mesh to this, returns true if sub-mesh found.
References SMESH_ProxyMesh::_mesh, SMESH_ProxyMesh::_subMeshes, SMESH_ProxyMesh::findProxySubMesh(), and SMESH_ProxyMesh::shapeIndex().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute().
      
  | 
  protectedinherited | 
Move tmp elements residing the _mesh from other proxy mesh to this.
References SMESH_ProxyMesh::_elemsInMesh.
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), and SMESH_ProxyMesh::SMESH_ProxyMesh().
      
  | 
  protectedinherited | 
| bool VISCOUS_3D::_MeshOfSolid::_n2nMapComputed | 
Referenced by VISCOUS_3D::_ViscousBuilder::MakeN2NMap().
| SMESH_ComputeErrorPtr VISCOUS_3D::_MeshOfSolid::_warning | 
Referenced by VISCOUS_3D::_ViscousBuilder::inflate().
      
  | 
  inherited | 
if true, it will be deleted by SMESH_subMesh
Referenced by SMESH_subMeshEventListenerData::IsDeletable().
      
  | 
  inherited | 
      
  | 
  inherited | 
to recognize data type
Referenced by SMESH_subMeshEventListenerData::MakeData().