Version: 9.12.0
SMDS_MeshVolume Class Referenceabstract

Mesh volume. More...

#include <SMDS_MeshVolume.hxx>

Inheritance diagram for SMDS_MeshVolume:

Public Types

typedef SMDS_StdIterator< const SMDS_MeshNode *, SMDS_NodeIteratorPtriterator
 

Public Member Functions

virtual SMDSAbs_ElementType GetType () const
 
virtual const SMDS_MeshNodeGetNode (const int ind) const
 Return node by its index. More...
 
virtual int NbNodes () const
 Return The number of nodes owned by the current element. More...
 
virtual int NbFaces () const
 
virtual int NbEdges () const
 
virtual int GetNodeIndex (const SMDS_MeshNode *node) const
 Check if a node belongs to the element. More...
 
virtual bool ChangeNodes (const SMDS_MeshNode *nodes[], const int nbNodes)
 
virtual bool IsMediumNode (const SMDS_MeshNode *node) const
 Check if a node is a medium node of a quadratic cell. More...
 
virtual int NbCornerNodes () const
 
virtual SMDS_ElemIteratorPtr nodesIterator () const =0
 Create an iterator which iterate on nodes owned by the element. More...
 
virtual SMDS_NodeIteratorPtr nodeIterator () const =0
 Create an iterator which iterate on nodes owned by the element. More...
 
bool ChangeNodes (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &quantities) const
 
int NbFaceNodes (const int face_ind) const
 
const SMDS_MeshNodeGetFaceNode (const int face_ind, const int node_ind) const
 
std::vector< int > GetQuantities () const
 
virtual SMDSAbs_EntityType GetEntityType () const
 
virtual SMDSAbs_GeometryType GetGeomType () const
 
virtual VTKCellType GetVtkType () const
 
virtual bool IsPoly () const
 
virtual bool IsQuadratic () const
 
virtual SMDS_NodeIteratorPtr interlacedNodesIterator () const
 
virtual SMDS_NodeIteratorPtr nodesIteratorToUNV () const
 
iterator begin_nodes () const
 
iterator end_nodes () const
 
const SMDS_MeshNodeGetNodeWrap (const int ind) const
 Return node by its index. More...
 
virtual bool IsValidIndex (const int ind) const
 Return true if index of node is valid (0 <= ind < NbNodes()) More...
 
int WrappedIndex (const int ind) const
 Return a valid corner node index, fixing the given one if necessary. More...
 
virtual smIdType GetID () const
 Return ID of an element. More...
 
virtual vtkIdType GetVtkID () const
 Return VTK ID of this element. More...
 
virtual int getshapeId () const
 
virtual int GetShapeID () const
 Return ID of a shape this element was generated on. More...
 
virtual void setIsMarked (bool is) const
 Mark this element. More...
 
virtual bool isMarked () const
 Check if this element is marked. More...
 
bool IsNull () const
 
SMDS_MeshGetMesh () const
 Return the mesh this element belongs to. More...
 
void Print (std::ostream &OS) const
 Print self. More...
 

Static Public Member Functions

static SMDSAbs_ElementType Type ()
 
static int NbEdges (SMDSAbs_EntityType entityType)
 
static int NbFaces (SMDSAbs_EntityType entityType)
 
static int NbNodes (SMDSAbs_EntityType entityType)
 
static int NbCornerNodes (SMDSAbs_EntityType entityType)
 
static bool IsPoly (SMDSAbs_EntityType entityType)
 
static bool IsQuadratic (SMDSAbs_EntityType entityType)
 
static void InitStaticMembers ()
 
static VTKCellType toVtkType (SMDSAbs_EntityType entityType)
 Return VTKCellType corresponding to SMDSAbs_EntityType. More...
 
static SMDSAbs_EntityType toSmdsType (VTKCellType vtkType)
 Return SMDSAbs_EntityType corresponding to VTKCellType. More...
 
static SMDSAbs_ElementType ElemType (SMDSAbs_GeometryType geomType)
 Return SMDSAbs_ElementType by SMDSAbs_GeometryType. More...
 
static SMDSAbs_ElementType ElemType (SMDSAbs_EntityType entityType)
 Return SMDSAbs_ElementType by SMDSAbs_EntityType. More...
 
static SMDSAbs_GeometryType GeomType (SMDSAbs_EntityType entityType)
 
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 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 > & 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 > & 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 > & reverseSmdsOrder (SMDSAbs_EntityType smdsType, const size_t nbNodes=0)
 Return indices to reverse an SMDS cell of given type. 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...
 
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)
 

Protected Member Functions

void init (SMDSAbs_EntityType entityType, int nbNodes,...)
 
void init (SMDSAbs_EntityType entityType, const std::vector< const SMDS_MeshNode * > &nodes)
 
void init (SMDSAbs_EntityType entityType, const std::vector< vtkIdType > &vtkNodeIds)
 
void setVtkID (const vtkIdType vtkID)
 Store VTK ID. More...
 
virtual void setShapeID (const int shapeID) const
 Set ID of a shape this element was generated on. More...
 
SMDS_UnstructuredGridgetGrid () const
 Return a SMDS_UnstructuredGrid. More...
 

Protected Attributes

SMDS_ElementChunkmyHolder
 

Private Member Functions

void init (const std::vector< const SMDS_MeshNode * > &nodes, const std::vector< int > &nbNodesPerFace)
 
void init (const std::vector< vtkIdType > &vtkNodeIds)
 

Friends

class SMDS_Mesh
 

Detailed Description

Mesh volume.

This type is not allocated. It is only used as function argument type to provide more clear semantic and to provide API specific to polyherdal volume

Member Typedef Documentation

◆ iterator

Member Function Documentation

◆ applyInterlace()

◆ applyInterlaceRev()

template<class VECT >
static void SMDS_MeshCell::applyInterlaceRev ( const std::vector< int > &  interlace,
VECT &  data 
)
staticinherited

◆ begin_nodes()

◆ ChangeNodes() [1/2]

bool SMDS_MeshVolume::ChangeNodes ( const SMDS_MeshNode nodes[],
const int  nbNodes 
)
virtual

Reimplemented from SMDS_MeshCell.

◆ ChangeNodes() [2/2]

bool SMDS_MeshVolume::ChangeNodes ( const std::vector< const SMDS_MeshNode * > &  nodes,
const std::vector< int > &  quantities 
) const

◆ ElemType() [1/2]

SMDSAbs_ElementType SMDS_MeshCell::ElemType ( SMDSAbs_EntityType  entityType)
staticinherited

Return SMDSAbs_ElementType by SMDSAbs_EntityType.

◆ ElemType() [2/2]

◆ end_nodes()

◆ fromVtkOrder() [1/2]

const std::vector< int > & SMDS_MeshCell::fromVtkOrder ( SMDSAbs_EntityType  smdsType)
staticinherited

Return indices to transform cell connectivity from VTK to SMDS Usage: smdsIDs[i] = vtkIDs[ indices[ i ]].

◆ fromVtkOrder() [2/2]

const std::vector< int > & SMDS_MeshCell::fromVtkOrder ( VTKCellType  vtkType)
staticinherited

Return indices to transform cell connectivity from VTK to SMDS Usage: smdsIDs[i] = vtkIDs[ indices[ i ]].

References SMDS_MeshCell::toSmdsType().

Referenced by _GetVtkNodes::_GetVtkNodes(), and SMDS_MeshCell::GetNode().

◆ GeomType()

SMDSAbs_GeometryType SMDS_MeshCell::GeomType ( SMDSAbs_EntityType  entityType)
staticinherited

◆ GetEntityType()

◆ GetFaceNode()

const SMDS_MeshNode * SMDS_MeshVolume::GetFaceNode ( const int  face_ind,
const int  node_ind 
) const

◆ GetGeomType()

SMDSAbs_GeometryType SMDS_MeshCell::GetGeomType ( ) const
virtualinherited

Implements SMDS_MeshElement.

Reimplemented in SMDS_MeshEdge.

References SMDS_MeshCell::GetVtkType().

◆ getGrid()

◆ GetID()

smIdType SMDS_MeshElement::GetID ( ) const
virtualinherited

Return ID of an element.

Reimplemented in SMDS_CellOfNodes.

References SMDS_ElementChunk::GetID(), and SMDS_MeshElement::myHolder.

Referenced by SMESH_Gen_i::_GetInside(), SMESHDS_SubMesh::add(), SMESHDS_Mesh::Add0DElement(), SMESH_MeshEditor_i::Add0DElement(), SMESHDS_Mesh::Add0DElementWithID(), SMESHDS_Mesh::AddBall(), SMESH_MeshEditor_i::AddBall(), SMESHDS_Mesh::AddBallWithID(), SMESHDS_Mesh::AddEdge(), SMESH_MeshEditor_i::AddEdge(), SMESHDS_Mesh::AddEdgeWithID(), SMESHDS_Mesh::AddFace(), SMESH_MeshEditor_i::AddFace(), SMESHDS_Mesh::AddFaceWithID(), SMESH_MeshEditor_i::AddNode(), SMESHDS_Mesh::AddNode(), SMESHDS_Mesh::AddNodeWithID(), SMESH_MeshEditor_i::AddPolygonalFace(), SMESHDS_Mesh::AddPolygonalFace(), SMESH_MeshEditor_i::AddPolyhedralVolume(), SMESHDS_Mesh::AddPolyhedralVolume(), SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces(), SMESH_MeshEditor_i::AddQuadPolygonalFace(), SMESHDS_Mesh::AddQuadPolygonalFace(), SMESHDS_Mesh::AddVolume(), SMESH_MeshEditor_i::AddVolume(), SMESHDS_Mesh::AddVolumeWithID(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_VisualObjDef::buildElemPrs(), SMESHDS_Mesh::ChangeElementNodes(), SMESHDS_Mesh::ChangePolyhedronNodes(), SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESH_MesherHelper::CheckNodeU(), VISCOUS_3D::_ConvexFace::CheckPrisms(), SMDS_NodeFactory::Compact(), StdMeshers_Prism_3D::compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_RadialPrism_3D::Compute(), VISCOUS_3D::_ViscousBuilder::computeGeomSize(), StdMeshers_Sweeper::ComputeNodesOnStraight(), SMESH_Gen_i::ConcatenateCommon(), SMESHDS_GroupBase::Contains(), SMESHDS_GroupOnFilter::Contains(), SMDS_Mesh::Contains(), SMESH_MeshEditor::convertElemToQuadratic(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_VisualObjDef::createPoints(), SMESH_MeshAlgos::Intersector::Algo::Cut(), SMESH_MeshAlgos::Intersector::CutByPlanes(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), StdMeshers_PrismAsBlock::THorizontalEdgeAdaptor::dumpNodes(), SMESH::SelectionProxy::elementConnectivity(), enlargeBoundingBox(), SMESH_MeshEditor::ExtrusionSweep(), VISCOUS_3D::_ViscousBuilder::findCollisionEdges(), SMESH::Controls::ManifoldPart::findConnected(), StdMeshers_Sweeper::findDelaunayTriangles(), SMESH_Mesh_i::FindElementByNodes(), SMESH_MeshEditor::FindEqualElements(), SMESH_MeshEditor::FindFreeBorder(), SMESH_MeshEditor::FindMatchingNodes(), SMESH_MeshEditor::FindShape(), SMESH_MeshEditor_i::FindSharpEdges(), findTriangles(), SMDS_ElementFactory::Free(), SMESH::Controls::FreeEdges::GetBoreders(), VISCOUS_3D::getDistFromEdge(), SMESH_VisualObjDef::GetEdgeNodes(), SMESHGUI_PreVisualObj::GetEdgeNodes(), SMESHDS_GroupOnFilter::getElementIds(), MeshEditor_I::getElementsAround(), SMESH_subMesh_i::GetElementsByType(), SMESH::Controls::Filter::GetElementsId(), SMESH_Mesh_i::GetElemNode(), LinkID_Gen::GetLinkID(), SMESH::Filter_i::GetMeshInfo(), SMESH::Filter_i::GetNbElementsByType(), getNodeElemDistance(), SMESH_Mesh_i::GetNodeInverseElements(), SMESH::Controls::ElementsOnShape::getNodeIsOut(), getNodeNodeDistance(), SMESH_VisualObjDef::GetNodeObjId(), SMESHGUI_PreVisualObj::GetNodeObjId(), SMESHGUI_PreVisualObj::GetNodeVTKId(), VISCOUS_3D::_EdgesOnShape::GetNormal(), SMESH_MeshEditor_i::GetPreviewData(), SMDS_ElementFactory::GetShapeIterator(), SMESH_Mesh_i::GetSubMeshNodesId(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH::Controls::MultiConnection2D::GetValues(), SMESH::Controls::Length2D::GetValues(), SMDS_ElementChunk::GetVtkID(), SMESH_Hasher::HashCode(), SMESH_TLink::HashCode(), SMDS_VolumeTool::ID(), VISCOUS_3D::_ViscousBuilder::invalidateBadSmooth(), SMESH::Controls::FreeEdges::IsFreeEdge(), SMESH::Controls::ManifoldPart::isInPlane(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH_ProxyMesh::IsTemporary(), VISCOUS_3D::_ViscousBuilder::makeGroupOfLE(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), SMESH_MeshAlgos::Intersector::Algo::MakeNewFaces(), StdMeshers_Penta_3D::MakeNodes(), SMESH_MeshAlgos::MakeOffset(), StdMeshers_Penta_3D::MakeVolumeMesh(), SMESH_MeshEditor::MergeNodes(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESHDS_Mesh::MoveNode(), SMESH::Predicate_i::NbSatisfying(), SMESH::SelectionProxy::nodeConnectivity(), SMESH_MeshEditor::Offset(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_SingleEditDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), TIDTypeCompare::operator()(), TIDCompare::operator()(), Prism_3D::TNode::operator<(), operator<<(), SMESH::SelectionProxy::perFaceConnectivity(), DriverCGNS_Write::Perform(), DriverDAT_W_SMDS_Mesh::Perform(), DriverUNV_W_SMDS_Mesh::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), StdMeshers_Sweeper::prepareTopBotDelaunay(), SMDS_MeshNode::Print(), SMESH::Controls::ManifoldPart::process(), SMESH::Controls::ElementsOnSurface::process(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor_i::ProjectPoint(), SMESHDS_Mesh::RemoveElement(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), SMESHDS_Mesh::RemoveNode(), SMESH_MeshEditor::RemoveNodeWithReconnection(), SMESH_MeshEditor::removeQuadElem(), SMESH_ProxyMesh::removeTmpElement(), SMESH_MeshAlgos::Intersector::Algo::replaceIntNode(), SMESH_Mesh_i::ReplaceShape(), SMESH_Gen_i::Save(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH::Controls::ElementsOnShape::setNodeIsOut(), StdMeshers_MaxElementVolume::SetParametersByMesh(), SMDS_ElementChunk::SetVTKID(), SMESH_MeshEditor::SewSideElements(), VISCOUS_2D::_ViscousBuilder2D::shrink(), SMESH_TLink::SMESH_TLink(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), SMESH_MeshEditor::SplitEdge(), SMESH_MeshEditor::SplitFace(), and SMESH_MeshEditor::sweepElement().

◆ GetMesh()

◆ GetNode()

const SMDS_MeshNode * SMDS_MeshVolume::GetNode ( const int  ind) const
virtual

Return node by its index.

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

Reimplemented from SMDS_MeshCell.

References SMDS_Mesh::FindNodeVtk(), SMDS_MeshElement::getGrid(), SMDS_MeshElement::GetMesh(), SMDS_MeshCell::GetNode(), SMDS_MeshElement::GetVtkID(), and SMDS_MeshCell::IsPoly().

Referenced by SMDS_MeshCell::GetNode().

◆ GetNodeIndex()

int SMDS_MeshVolume::GetNodeIndex ( const SMDS_MeshNode node) const
virtual

Check if a node belongs to the element.

Parameters
node- the node to check
Return values
int- node index within the element, -1 if not found

Reimplemented from SMDS_MeshCell.

References SMDS_MeshElement::getGrid(), SMDS_MeshCell::GetNodeIndex(), SMDS_MeshElement::GetVtkID(), and SMDS_MeshCell::IsPoly().

Referenced by SMDS_MeshCell::GetNodeIndex().

◆ GetNodeWrap()

const SMDS_MeshNode* SMDS_MeshElement::GetNodeWrap ( const int  ind) const
inherited

Return node by its index.

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

Index is wrapped if it is out of a valid range of corner nodes

Referenced by SMESH_MeshAlgos::Intersector::Algo::Cut(), SMESH_MeshEditor::GetLinkedNodes(), and SMESH_MeshEditor::makeWalls().

◆ GetQuantities()

◆ getshapeId()

virtual int SMDS_MeshElement::getshapeId ( ) const
virtualinherited

Referenced by SMESH_Delaunay::addCloseNodes(), SMESHDS_SubMesh::AddNode(), areNodesBound(), StdMeshers_Quadrangle_2D::check(), SMESH_MesherHelper::CheckNodeU(), SMESH_MesherHelper::CheckNodeUV(), StdMeshers_Import_1D2D::Compute(), VISCOUS_3D::_ViscousBuilder::computeGeomSize(), SMESHDS_SubMesh::Contains(), SMESH_MeshEditor::convertElemToQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshEditor::copyPosition(), SMESH_Pattern::createElements(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DeleteDiag(), SMESH_Mesh_i::exportMEDFields(), VISCOUS_3D::_ViscousBuilder::findEdgesToUpdateNormalNearConvexFace(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_MesherHelper::GetCentralNode(), VISCOUS_3D::_ViscousBuilder::getFaceNormal(), SMESH_MesherHelper::GetMediumNode(), SMESH_MesherHelper::getMediumNodeOnComposedWire(), SMESH_MesherHelper::GetMediumPos(), StdMeshers_PrismAsBlock::GetNodeColumn(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetNodeUV(), VISCOUS_3D::_EdgesOnShape::GetNormal(), StdMeshers_FaceSide::GetOrderedNodes(), SMESH_ProxyMesh::GetProxyNode(), SMESH_Mesh_i::GetShapeID(), VISCOUS_3D::_Simplex::GetSimplices(), SMESH_MesherHelper::GetSubShapeByNode(), StdMeshers_FaceSide::GetUVPtStruct(), SMESH::Controls::Deflection2D::GetValue(), StdMeshers_PrismAsBlock::HasNodeColumn(), StdMeshers_PrismAsBlock::Init(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::InverseDiag(), SMESH_MesherHelper::IsCornerOfStructure(), SMESH::Controls::BelongToGeom::IsSatisfy(), SMESH::Controls::LyingOnGeom::IsSatisfy(), SMESH_Pattern::Load(), VISCOUS_3D::_ViscousBuilder::makeLayer(), SMESH_MeshEditor::MergeNodes(), StdMeshers_QuadToTriaAdaptor::MergePiramids(), DriverGMF_Write::Perform(), SMESH_MeshEditor::QuadTo4Tri(), SMESH_MeshEditor::Remove(), SMESHDS_Mesh::RemoveElement(), SMESHDS_SubMesh::RemoveElement(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), SMESHDS_Mesh::RemoveNode(), SMESHDS_SubMesh::RemoveNode(), SMESH_MeshEditor::removeQuadElem(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH_MeshEditor::SewSideElements(), VISCOUS_2D::_ViscousBuilder2D::shrink(), StdMeshers_Quadrangle_2D::smooth(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), SMESH_MeshEditor::SplitBiQuadraticIntoLinear(), StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::TPCurveOnHorFaceAdaptor(), SMESH_MeshEditor::TriToQuad(), SMESHDS_Mesh::UnSetElementOnShape(), SMESHDS_Mesh::UnSetNodeOnShape(), SMESH_MeshEditor::UpdateVolumes(), StdMeshers_PrismAsBlock::TSideFace::Value(), and SMESH_Algo::VertexNode().

◆ GetShapeID()

◆ GetType()

virtual SMDSAbs_ElementType SMDS_MeshVolume::GetType ( ) const
virtual

Reimplemented from SMDS_MeshCell.

References SMDSAbs_Volume.

◆ GetVtkID()

◆ GetVtkType()

◆ init() [1/5]

void SMDS_MeshVolume::init ( const std::vector< const SMDS_MeshNode * > &  nodes,
const std::vector< int > &  nbNodesPerFace 
)
private

◆ init() [2/5]

◆ init() [3/5]

void SMDS_MeshCell::init ( SMDSAbs_EntityType  entityType,
const std::vector< const SMDS_MeshNode * > &  nodes 
)
protectedinherited

◆ init() [4/5]

void SMDS_MeshCell::init ( SMDSAbs_EntityType  entityType,
const std::vector< vtkIdType > &  vtkNodeIds 
)
protectedinherited

◆ init() [5/5]

◆ InitStaticMembers()

void SMDS_MeshCell::InitStaticMembers ( )
staticinherited

Referenced by SMDS_Mesh::SMDS_Mesh().

◆ interlacedNodesIterator()

◆ interlacedSmdsOrder()

const std::vector< int > & SMDS_MeshCell::interlacedSmdsOrder ( SMDSAbs_EntityType  smdsType,
const size_t  nbNodes = 0 
)
staticinherited

Return indices to set nodes of a quadratic 1D or 2D element in interlaced order Usage: interlacedIDs[i] = smdsIDs[ indices[ i ]].

References SMDSEntity_Quad_Polygon.

Referenced by _GetVtkNodesToUNV::_GetVtkNodesToUNV(), SMESH_MeshEditor::applyMerge(), SMESH_MeshAlgos::DeMerge(), SMESH_MeshEditor::makeWalls(), DriverCGNS_Write::Perform(), and SMESH_MeshEditor::sweepElement().

◆ isMarked()

◆ IsMediumNode()

bool SMDS_MeshVolume::IsMediumNode ( const SMDS_MeshNode node) const
virtual

Check if a node is a medium node of a quadratic cell.

Reimplemented from SMDS_MeshElement.

References SMDS_MeshElement::IsMediumNode(), and SMDS_MeshCell::IsPoly().

◆ IsNull()

◆ IsPoly() [1/2]

◆ IsPoly() [2/2]

bool SMDS_MeshCell::IsPoly ( SMDSAbs_EntityType  entityType)
staticinherited

◆ IsQuadratic() [1/2]

◆ IsQuadratic() [2/2]

bool SMDS_MeshCell::IsQuadratic ( SMDSAbs_EntityType  entityType)
staticinherited

◆ IsValidIndex()

bool SMDS_MeshElement::IsValidIndex ( const int  ind) const
virtualinherited

Return true if index of node is valid (0 <= ind < NbNodes())

Parameters
ind- node index
Return values
bool- index check result

References SMDS_MeshElement::NbNodes().

◆ NbCornerNodes() [1/2]

int SMDS_MeshVolume::NbCornerNodes ( ) const
virtual

◆ NbCornerNodes() [2/2]

int SMDS_MeshCell::NbCornerNodes ( SMDSAbs_EntityType  entityType)
staticinherited

◆ NbEdges() [1/2]

int SMDS_MeshVolume::NbEdges ( ) const
virtual

◆ NbEdges() [2/2]

int SMDS_MeshCell::NbEdges ( SMDSAbs_EntityType  entityType)
staticinherited

◆ NbFaceNodes()

◆ NbFaces() [1/2]

◆ NbFaces() [2/2]

int SMDS_MeshCell::NbFaces ( SMDSAbs_EntityType  entityType)
staticinherited

◆ NbNodes() [1/2]

int SMDS_MeshVolume::NbNodes ( ) const
virtual

Return The number of nodes owned by the current element.

Reimplemented from SMDS_MeshCell.

References SMDS_MeshElement::getGrid(), SMDS_MeshElement::GetVtkID(), SMDS_MeshCell::IsPoly(), and SMDS_MeshCell::NbNodes().

Referenced by NbCornerNodes(), SMDS_MeshCell::NbNodes(), and DriverUNV_W_SMDS_Mesh::Perform().

◆ NbNodes() [2/2]

int SMDS_MeshCell::NbNodes ( SMDSAbs_EntityType  entityType)
staticinherited

◆ nodeIterator()

SMDS_NodeIteratorPtr SMDS_MeshVolume::nodeIterator ( ) const
pure virtual

Create an iterator which iterate on nodes owned by the element.

Reimplemented from SMDS_MeshCell.

References SMDS_MeshCell::GetEntityType(), SMDS_MeshElement::GetMesh(), SMDS_MeshElement::GetVtkID(), SMDS_MeshCell::IsPoly(), and SMDS_MeshCell::nodeIterator().

Referenced by SMDS_MeshCell::nodeIterator().

◆ nodesIterator()

SMDS_ElemIteratorPtr SMDS_MeshVolume::nodesIterator ( ) const
pure virtual

Create an iterator which iterate on nodes owned by the element.

Reimplemented from SMDS_MeshCell.

References SMDS_MeshCell::GetEntityType(), SMDS_MeshElement::GetMesh(), SMDS_MeshElement::GetVtkID(), SMDS_MeshCell::IsPoly(), and SMDS_MeshCell::nodesIterator().

Referenced by SMDS_MeshCell::nodesIterator().

◆ nodesIteratorToUNV()

◆ Print()

void SMDS_MeshElement::Print ( std::ostream &  OS) const
inherited

Print self.

Referenced by operator<<().

◆ reverseSmdsOrder()

const std::vector< int > & SMDS_MeshCell::reverseSmdsOrder ( SMDSAbs_EntityType  smdsType,
const size_t  nbNodes = 0 
)
staticinherited

◆ setIsMarked()

◆ setShapeID()

void SMDS_MeshElement::setShapeID ( const int  shapeID) const
protectedvirtualinherited

◆ setVtkID()

void SMDS_MeshElement::setVtkID ( const vtkIdType  vtkID)
protectedinherited

◆ toSmdsType()

SMDSAbs_EntityType SMDS_MeshCell::toSmdsType ( VTKCellType  vtkType)
staticinherited

Return SMDSAbs_EntityType corresponding to VTKCellType.

Referenced by SMDS_MeshCell::fromVtkOrder(), SMDS_MeshCell::GetEntityType(), and SMDS_MeshCell::toVtkOrder().

◆ toVtkOrder() [1/2]

const std::vector< int > & SMDS_MeshCell::toVtkOrder ( SMDSAbs_EntityType  smdsType)
staticinherited

Return indices to transform cell connectivity from SMDS to VTK Usage: vtkIDs[i] = smdsIDs[ indices[ i ]].

◆ toVtkOrder() [2/2]

const std::vector< int > & SMDS_MeshCell::toVtkOrder ( VTKCellType  vtkType)
staticinherited

Return indices to transform cell connectivity from SMDS to VTK Usage: vtkIDs[i] = smdsIDs[ indices[ i ]].

References SMDS_MeshCell::toSmdsType().

Referenced by SMESH_VisualObjDef::buildElemPrs(), SMDS_MeshCell::ChangeNodes(), SMDS_MeshCell::GetNodeIndex(), SMDS_MeshCell::init(), and SMESH::TElementSimulation::SetPosition().

◆ toVtkType()

VTKCellType SMDS_MeshCell::toVtkType ( SMDSAbs_EntityType  entityType)
staticinherited

◆ Type()

static SMDSAbs_ElementType SMDS_MeshVolume::Type ( )
static

References SMDSAbs_Volume.

◆ WrappedIndex()

int SMDS_MeshElement::WrappedIndex ( const int  ind) const
inherited

Return a valid corner node index, fixing the given one if necessary.

Parameters
ind- node index
Return values
int- valid node index

References SMDS_MeshElement::NbCornerNodes().

Referenced by SMDS_PolygonalFaceOfNodes::GetNode().

Friends And Related Function Documentation

◆ SMDS_Mesh

friend class SMDS_Mesh
friend

Field Documentation

◆ myHolder