#include <SMDS_PolyhedralVolumeOfNodes.hxx>
Public Member Functions | |
bool ChangeNodes (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) | |
virtual SMDSAbs_EntityType GetEntityType () const | |
const SMDS_MeshNode * GetFaceNode (const int face_ind, const int node_ind) const | |
virtual const SMDS_MeshNode * GetNode (const int ind) const | |
Return node by its index. More... | |
const std::vector< int > & GetQuanities () const | |
virtual SMDSAbs_ElementType GetType () const | |
Return the type of the current element. More... | |
virtual bool IsPoly () const | |
virtual int NbEdges () const | |
Return the number of edges owned by or linked with the current element. More... | |
int NbFaceNodes (const int face_ind) const | |
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... | |
int NbUniqueNodes () const | |
Return nb of unique nodes. More... | |
virtual void Print (std::ostream &OS) const | |
SMDS_PolyhedralVolumeOfNodes (std::vector< const SMDS_MeshNode * > nodes, std::vector< int > quantities) | |
SMDS_ElemIteratorPtr uniqueNodesIterator () const | |
Return iterator on unique nodes. More... | |
![]() | |
bool ChangeNodes (const SMDS_MeshNode *nodes[], const int nbNodes) | |
virtual SMDSAbs_GeometryType GetGeomType () const | |
int NbEdges () const | |
Return the number of edges owned by or linked with the current element. More... | |
int NbFaces () const | |
Return the number of faces owned by or linked with the current element. More... | |
int NbNodes () const | |
Return The number of nodes owned by the current element. More... | |
void Print (std::ostream &OS) const | |
SMDS_VolumeOfNodes (const SMDS_MeshNode *node1, const SMDS_MeshNode *node2, const SMDS_MeshNode *node3, const SMDS_MeshNode *node4) | |
SMDS_VolumeOfNodes (const SMDS_MeshNode *node1, const SMDS_MeshNode *node2, const SMDS_MeshNode *node3, const SMDS_MeshNode *node4, const SMDS_MeshNode *node5) | |
SMDS_VolumeOfNodes (const SMDS_MeshNode *node1, const SMDS_MeshNode *node2, const SMDS_MeshNode *node3, const SMDS_MeshNode *node4, const SMDS_MeshNode *node5, const SMDS_MeshNode *node6) | |
SMDS_VolumeOfNodes (const SMDS_MeshNode *node1, const SMDS_MeshNode *node2, const SMDS_MeshNode *node3, const SMDS_MeshNode *node4, const SMDS_MeshNode *node5, const SMDS_MeshNode *node6, const SMDS_MeshNode *node7, const SMDS_MeshNode *node8) | |
Create an hexahedron. More... | |
~SMDS_VolumeOfNodes () | |
![]() | |
virtual vtkIdType GetVtkType () const | |
![]() | |
SMDS_MeshCell () | |
virtual bool vtkOrder (const SMDS_MeshNode *[], const int) | |
virtual ~SMDS_MeshCell () | |
![]() | |
iterator begin_nodes () const | |
SMDS_ElemIteratorPtr edgesIterator () const | |
Create an iterator which iterate on edges linked with or owned by the element. More... | |
iterator end_nodes () const | |
SMDS_ElemIteratorPtr facesIterator () const | |
Create an iterator which iterate on faces linked with or owned by the element. More... | |
int GetID () const | |
int getIdInShape () const | |
ShortType getMeshId () const | |
virtual int GetNodeIndex (const SMDS_MeshNode *node) const | |
Check if a node belongs to the element. More... | |
const SMDS_MeshNode * GetNodeWrap (const int ind) const | |
Return node by its index. More... | |
LongType getshapeId () const | |
int getVtkId () const | |
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 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 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... | |
![]() | |
virtual ~SMDS_MeshObject () | |
Protected Member Functions | |
SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const | |
Return Iterator of sub elements. More... | |
![]() | |
SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const | |
![]() | |
void exchange (const SMDS_MeshNode *nodes[], int a, int b) | |
![]() | |
virtual void init (int id=-1, ShortType meshId=-1, LongType shapeId=0) | |
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) | |
Additional Inherited Members | |
![]() | |
typedef SMDS_StdIterator< const SMDS_MeshNode *, SMDS_ElemIteratorPtr > iterator | |
![]() | |
template<class VECT > | |
static void applyInterlace (const std::vector< int > &interlace, VECT &data) | |
template<class VECT > | |
static void applyInterlaceRev (const std::vector< int > &interlace, VECT &data) | |
static const std::vector< int > & fromVtkOrder (SMDSAbs_EntityType smdsType) | |
Return indices to transform cell connectivity from VTK to SMDS Usage: smdsIDs[i] = vtkIDs[ indices[ i ]]. More... | |
static const std::vector< int > & fromVtkOrder (VTKCellType vtkType) | |
Return indices to transform cell connectivity from VTK to SMDS Usage: smdsIDs[i] = vtkIDs[ indices[ i ]]. More... | |
static const std::vector< int > & interlacedSmdsOrder (SMDSAbs_EntityType smdsType, const size_t nbNodes=0) | |
Return indices to set nodes of a quadratic 1D or 2D element in interlaced order Usage: interlacedIDs[i] = smdsIDs[ indices[ i ]]. More... | |
static const std::vector< int > & reverseSmdsOrder (SMDSAbs_EntityType smdsType, const size_t nbNodes=0) | |
Return indices to reverse an SMDS cell of given type. nbNodes is useful for polygons Usage: reverseIDs[i] = forwardIDs[ indices[ i ]]. More... | |
static SMDSAbs_ElementType toSmdsType (SMDSAbs_EntityType entityType) | |
Return SMDSAbs_ElementType by SMDSAbs_EntityType. More... | |
static SMDSAbs_ElementType toSmdsType (SMDSAbs_GeometryType geomType) | |
Return SMDSAbs_ElementType by SMDSAbs_GeometryType. More... | |
static SMDSAbs_EntityType toSmdsType (VTKCellType vtkType) | |
Return SMDSAbs_EntityType corresponding to VTKCellType. More... | |
static const std::vector< int > & toVtkOrder (SMDSAbs_EntityType smdsType) | |
Return indices to transform cell connectivity from SMDS to VTK Usage: vtkIDs[i] = smdsIDs[ indices[ i ]]. More... | |
static const std::vector< int > & toVtkOrder (VTKCellType vtkType) | |
Return indices to transform cell connectivity from SMDS to VTK Usage: vtkIDs[i] = smdsIDs[ indices[ i ]]. More... | |
static VTKCellType toVtkType (SMDSAbs_EntityType vtkType) | |
Return VTKCellType corresponding to SMDSAbs_EntityType. More... | |
![]() | |
static int nbCells = 0 | |
![]() | |
int myNbNodes | |
const SMDS_MeshNode ** myNodes | |
![]() | |
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... | |
int myVtkID | |
index in vtkUnstructuredGrid More... | |
Constructor & Destructor Documentation
◆ SMDS_PolyhedralVolumeOfNodes()
SMDS_PolyhedralVolumeOfNodes::SMDS_PolyhedralVolumeOfNodes | ( | std::vector< const SMDS_MeshNode * > | nodes, |
std::vector< int > | quantities | ||
) |
Member Function Documentation
◆ ChangeNodes()
bool SMDS_PolyhedralVolumeOfNodes::ChangeNodes | ( | const std::vector< const SMDS_MeshNode * > & | nodes, |
const std::vector< int > & | quantities | ||
) |
◆ elementsIterator()
|
protectedvirtual |
Return Iterator of sub elements.
Reimplemented from SMDS_MeshElement.
References SMDS_MeshElement::elementsIterator().
◆ GetEntityType()
|
virtual |
Reimplemented from SMDS_VolumeOfNodes.
◆ GetFaceNode()
const SMDS_MeshNode * SMDS_PolyhedralVolumeOfNodes::GetFaceNode | ( | const int | face_ind, |
const int | node_ind | ||
) | const |
◆ GetNode()
|
virtual |
Return node by its index.
Reimplemented from SMDS_VolumeOfNodes.
◆ GetQuanities()
const std::vector<int>& SMDS_PolyhedralVolumeOfNodes::GetQuanities | ( | ) | const |
◆ GetType()
|
virtual |
Return the type of the current element.
Reimplemented from SMDS_VolumeOfNodes.
◆ IsPoly()
|
virtual |
Reimplemented from SMDS_MeshElement.
◆ NbEdges()
|
virtual |
Return the number of edges owned by or linked with the current element.
Reimplemented from SMDS_MeshElement.
◆ NbFaceNodes()
int SMDS_PolyhedralVolumeOfNodes::NbFaceNodes | ( | const int | face_ind | ) | const |
◆ NbFaces()
|
virtual |
Return the number of faces owned by or linked with the current element.
Reimplemented from SMDS_MeshElement.
◆ NbNodes()
|
virtual |
Return The number of nodes owned by the current element.
Reimplemented from SMDS_MeshElement.
◆ NbUniqueNodes()
int SMDS_PolyhedralVolumeOfNodes::NbUniqueNodes | ( | ) | const |
Return nb of unique nodes.
References SMDS_VolumeOfNodes::myNbNodes.
◆ Print()
|
virtual |
Reimplemented from SMDS_MeshElement.
◆ uniqueNodesIterator()
SMDS_ElemIteratorPtr SMDS_PolyhedralVolumeOfNodes::uniqueNodesIterator | ( | ) | const |
Return iterator on unique nodes.
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/SMDS_PolyhedralVolumeOfNodes.hxx
- src/3rdParty/salomesmesh/src/SMDS/SMDS_PolyhedralVolumeOfNodes.cpp