VISCOUS_3D::_TmpMeshFace Struct Reference

Class of temporary mesh face. We can't use SMDS_FaceOfNodes since it's impossible to set it's ID which is needed because SMESH_ElementSearcher internaly uses set of elements sorted by ID. More...

Public Member Functions

virtual SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType) const
 
virtual SMDSAbs_EntityType GetEntityType () const
 
virtual SMDSAbs_GeometryType GetGeomType () const
 
virtual const SMDS_MeshNodeGetNode (const int ind) const
 Return node by its index. More...
 
virtual SMDSAbs_ElementType GetType () const
 Return the type of the current element. More...
 
virtual vtkIdType GetVtkType () const
 
- Public Member Functions inherited from SMDS_MeshElement
iterator begin_nodes () const
 
SMDS_ElemIteratorPtr edgesIterator () const
 Create an iterator which iterate on edges linked with or owned by the element. More...
 
virtual SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const
 
iterator end_nodes () const
 
SMDS_ElemIteratorPtr facesIterator () const
 Create an iterator which iterate on faces linked with or owned by the element. More...
 
virtual SMDSAbs_EntityType GetEntityType () const =0
 
virtual SMDSAbs_GeometryType GetGeomType () const =0
 
int GetID () const
 
int getIdInShape () const
 
ShortType getMeshId () const
 
virtual const SMDS_MeshNodeGetNode (const int ind) const
 Return node by its index. More...
 
virtual int GetNodeIndex (const SMDS_MeshNode *node) const
 Check if a node belongs to the element. More...
 
const SMDS_MeshNodeGetNodeWrap (const int ind) const
 Return node by its index. More...
 
LongType getshapeId () const
 
virtual SMDSAbs_ElementType GetType () const =0
 Return the type of the current element. More...
 
int getVtkId () const
 
virtual vtkIdType GetVtkType () const =0
 
virtual SMDS_ElemIteratorPtr interlacedNodesElemIterator () const
 
virtual SMDS_NodeIteratorPtr interlacedNodesIterator () const
 virtual, redefined in vtkEdge, vtkFace and vtkVolume classes More...
 
virtual bool IsMediumNode (const SMDS_MeshNode *node) const
 
virtual bool IsPoly () const
 
virtual bool IsQuadratic () const
 
virtual bool IsValidIndex (const int ind) const
 Return true if index of node is valid (0 <= ind < NbNodes()) More...
 
virtual int NbCornerNodes () const
 Return number of nodes excluding medium ones. More...
 
virtual int NbEdges () const
 Return the number of edges owned by or linked with the current element. More...
 
virtual int NbFaces () const
 Return the number of faces owned by or linked with the current element. More...
 
virtual int NbNodes () const
 Return The number of nodes owned by the current element. More...
 
virtual SMDS_NodeIteratorPtr nodeIterator () const
 
SMDS_ElemIteratorPtr nodesIterator () const
 Create an iterator which iterate on nodes owned by the element. More...
 
virtual SMDS_NodeIteratorPtr nodesIteratorToUNV () const
 virtual, redefined in vtkEdge, vtkFace and vtkVolume classes More...
 
int WrappedIndex (const int ind) const
 Return a valid node index, fixing the given one if necessary. More...
 
- Public Member Functions inherited from SMDS_MeshObject
virtual ~SMDS_MeshObject ()
 

Additional Inherited Members

- Public Types inherited from SMDS_MeshElement
typedef SMDS_StdIterator< const SMDS_MeshNode *, SMDS_ElemIteratorPtr > iterator
 
- Protected Member Functions inherited from SMDS_MeshElement
virtual void init (int id=-1, ShortType meshId=-1, LongType shapeId=0)
 
virtual void Print (std::ostream &OS) const
 
void setId (int id)
 
void setIdInShape (int id)
 
void setShapeId (LongType shapeId)
 
void setVtkId (int vtkId)
 
 SMDS_MeshElement (int id, ShortType meshId, LongType shapeId=0)
 
 SMDS_MeshElement (int ID=-1)
 
- Protected Attributes inherited from SMDS_MeshElement
int myID
 Element index in vector SMDS_Mesh::myNodes or SMDS_Mesh::myCells. More...
 
int myIdInShape
 Element index in SMESHDS_SubMesh vector. More...
 
ShortType myMeshId
 SMDS_Mesh identification in SMESH. More...
 
LongType myShapeId
 SubShape and SubMesh identification in SMESHDS. More...
 
vtkIdType myVtkID
 index in vtkUnstructuredGrid More...
 

Detailed Description

Class of temporary mesh face. We can't use SMDS_FaceOfNodes since it's impossible to set it's ID which is needed because SMESH_ElementSearcher internaly uses set of elements sorted by ID.

Member Function Documentation

◆ elementsIterator()

virtual SMDS_ElemIteratorPtr VISCOUS_3D::_TmpMeshFace::elementsIterator ( SMDSAbs_ElementType  ) const
virtual

Reimplemented from SMDS_MeshElement.

◆ GetEntityType()

virtual SMDSAbs_EntityType VISCOUS_3D::_TmpMeshFace::GetEntityType ( ) const
virtual

Implements SMDS_MeshElement.

◆ GetGeomType()

virtual SMDSAbs_GeometryType VISCOUS_3D::_TmpMeshFace::GetGeomType ( ) const
virtual

Implements SMDS_MeshElement.

◆ GetNode()

virtual const SMDS_MeshNode * VISCOUS_3D::_TmpMeshFace::GetNode ( const int  ind) const
virtual

Return node by its index.

Parameters
ind- node index
Return values
constSMDS_MeshNode* - the node

Reimplemented from SMDS_MeshElement.

◆ GetType()

virtual SMDSAbs_ElementType VISCOUS_3D::_TmpMeshFace::GetType ( ) const
virtual

Return the type of the current element.

Implements SMDS_MeshElement.

◆ GetVtkType()

virtual vtkIdType VISCOUS_3D::_TmpMeshFace::GetVtkType ( ) const
virtual

Implements SMDS_MeshElement.


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