27#ifndef _SMDS_MeshVolume_HeaderFile
28#define _SMDS_MeshVolume_HeaderFile
41 void init(
const std::vector<const SMDS_MeshNode*>& nodes,
42 const std::vector<int>& nbNodesPerFace );
44 void init(
const std::vector<vtkIdType>& vtkNodeIds );
62 bool ChangeNodes(
const std::vector<const SMDS_MeshNode*>& nodes,
63 const std::vector<int>& quantities)
const;
66 int NbFaceNodes (
const int face_ind)
const;
70 const SMDS_MeshNode* GetFaceNode (
const int face_ind,
const int node_ind)
const;
72 std::vector<int> GetQuantities()
const;
SMDSAbs_ElementType
Type (node, edge, face or volume) of elements.
Definition: SMDSAbs_ElementType.hxx:34
@ SMDSAbs_Volume
Definition: SMDSAbs_ElementType.hxx:39
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshElement * > > SMDS_ElemIteratorPtr
Definition: SMDS_ElemIterator.hxx:43
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshNode * > > SMDS_NodeIteratorPtr
Definition: SMDS_ElemIterator.hxx:46
#define SMDS_EXPORT
Definition: SMESH_SMDS.hxx:37
Base class for all cells.
Definition: SMDS_MeshCell.hxx:32
virtual bool ChangeNodes(const SMDS_MeshNode *nodes[], const int nbNodes)
Definition: SMDS_MeshCell.cxx:490
virtual int NbCornerNodes() const
Definition: SMDS_MeshCell.cxx:550
virtual SMDS_NodeIteratorPtr nodeIterator() const
Create an iterator which iterate on nodes owned by the element.
Definition: SMDS_MeshCell.cxx:579
virtual int GetNodeIndex(const SMDS_MeshNode *node) const
Check if a node belongs to the element.
Definition: SMDS_MeshCell.cxx:642
virtual const SMDS_MeshNode * GetNode(const int ind) const
Return node by its index.
Definition: SMDS_MeshCell.cxx:630
virtual int NbFaces() const
Definition: SMDS_MeshCell.cxx:528
virtual SMDS_ElemIteratorPtr nodesIterator() const
Create an iterator which iterate on nodes owned by the element.
Definition: SMDS_MeshCell.cxx:568
virtual int NbNodes() const
Return The number of nodes owned by the current element.
Definition: SMDS_MeshCell.cxx:520
void init(SMDSAbs_EntityType entityType, int nbNodes,...)
Definition: SMDS_MeshCell.cxx:436
virtual int NbEdges() const
Definition: SMDS_MeshCell.cxx:535
virtual bool IsMediumNode(const SMDS_MeshNode *node) const
Check if a node is a medium node of a quadratic cell.
Definition: SMDS_MeshElement.cxx:52
Definition: SMDS_MeshNode.hxx:36
Mesh volume.
Definition: SMDS_MeshVolume.hxx:40
virtual SMDSAbs_ElementType GetType() const
Definition: SMDS_MeshVolume.hxx:49
static SMDSAbs_ElementType Type()
Definition: SMDS_MeshVolume.hxx:74
Definition: SMDS_Mesh.hxx:53