Back to index

salome-smesh  6.5.0
Public Member Functions | Private Attributes | Friends
SMESH_EXPORT::SubMesh Class Reference

Proxy sub-mesh. More...

#include <SMESH_ProxyMesh.hxx>

Collaboration diagram for SMESH_EXPORT::SubMesh:
Collaboration graph

List of all members.

Public Member Functions

const TN2NMapGetNodeNodeMap () const
const SMDS_MeshNode * GetProxyNode (const SMDS_MeshNode *n) const
virtual void AddElement (const SMDS_MeshElement *e)
virtual int NbElements () const
virtual SMDS_ElemIteratorPtr GetElements () const
virtual void Clear ()
virtual bool Contains (const SMDS_MeshElement *ME) const
template<class ITERATOR >
void ChangeElements (ITERATOR it, ITERATOR end)
 SubMesh (int index=0)
 ~SubMesh ()

Private Attributes

std::vector< const
SMDS_MeshElement * > 


class SMESH_ProxyMesh

Detailed Description

Proxy sub-mesh.

Definition at line 57 of file SMESH_ProxyMesh.hxx.

Constructor & Destructor Documentation

SMESH_EXPORT::SubMesh::SubMesh ( int  index = 0) [inline]

Definition at line 77 of file SMESH_ProxyMesh.hxx.

:SMESHDS_SubMesh(0,index),_n2n(0) {}

Definition at line 78 of file SMESH_ProxyMesh.hxx.

{ Clear(); }

Here is the call graph for this function:

Member Function Documentation

virtual void SMESH_EXPORT::SubMesh::AddElement ( const SMDS_MeshElement *  e) [virtual]
template<class ITERATOR >
void SMESH_EXPORT::SubMesh::ChangeElements ( ITERATOR  it,
) [inline]

Definition at line 70 of file SMESH_ProxyMesh.hxx.

      // change SubMesh contents without deleting tmp faces
      // for which the caller is responsible
      while ( it != end ) _elements.push_back( *it++ );
virtual void SMESH_EXPORT::SubMesh::Clear ( ) [virtual]

Here is the caller graph for this function:

virtual bool SMESH_EXPORT::SubMesh::Contains ( const SMDS_MeshElement *  ME) const [virtual]

Definition at line 61 of file SMESH_ProxyMesh.hxx.

{ return _n2n; }
const SMDS_MeshNode* SMESH_EXPORT::SubMesh::GetProxyNode ( const SMDS_MeshNode *  n) const
virtual int SMESH_EXPORT::SubMesh::NbElements ( ) const [virtual]

Friends And Related Function Documentation

friend class SMESH_ProxyMesh [friend]

Definition at line 83 of file SMESH_ProxyMesh.hxx.

Member Data Documentation

std::vector<const SMDS_MeshElement *> SMESH_EXPORT::SubMesh::_elements [private]

Definition at line 81 of file SMESH_ProxyMesh.hxx.

Definition at line 82 of file SMESH_ProxyMesh.hxx.

The documentation for this class was generated from the following file: