SMDS_DownPyramid Class Reference
#include <SMDS_Downward.hxx>
Public Member Functions | |
virtual void getOrderedNodesOfFace (int cellId, std::vector< vtkIdType > &orderedNodes) | |
![]() | |
virtual void getNodeIds (int cellId, std::set< int > &nodeSet) | |
virtual int getNumberOfUpCells (int cellId) | |
virtual const int * getUpCells (int cellId) | |
virtual const unsigned char * getUpTypes (int cellId) | |
![]() | |
virtual const int * getDownCells (int cellId) | |
virtual const unsigned char * getDownTypes (int cellId) | |
int getMaxId () | |
virtual int getNodes (int cellId, int *nodevec) | |
virtual int getNumberOfDownCells (int cellId) | |
int getVtkCellId (int cellId) | |
Protected Member Functions | |
virtual void addDownCell (int cellId, int lowCellId, unsigned char aType) | |
Id's are downward connectivity id's. More... | |
virtual void computeFacesWithNodes (int cellId, ListElemByNodesType &facesWithNodes) | |
SMDS_DownPyramid (SMDS_UnstructuredGrid *grid) | |
~SMDS_DownPyramid () | |
![]() | |
virtual void allocate (int nbElems) | |
virtual void compactStorage () | |
int FindFaceByNodes (int cellId, ElemByNodesType &faceByNodes) | |
SMDS_Down3D (SMDS_UnstructuredGrid *grid, int nbDownCells) | |
~SMDS_Down3D () | |
![]() | |
int addCell (int vtkId=-1) | |
virtual void addUpCell (int cellId, int upCellId, unsigned char aType) | |
Id's are downward connectivity id's. More... | |
virtual int getNodeSet (int cellId, int *nodeSet) | |
virtual void initCell (int cellId) | |
SMDS_Downward (SMDS_UnstructuredGrid *grid, int nbDownCells) | |
virtual ~SMDS_Downward () | |
Friends | |
class SMDS_UnstructuredGrid | |
Additional Inherited Members | |
![]() | |
static int getCellDimension (unsigned char cellType) | |
Constructor & Destructor Documentation
◆ SMDS_DownPyramid()
|
protected |
◆ ~SMDS_DownPyramid()
|
protected |
Member Function Documentation
◆ addDownCell()
|
protectedvirtual |
Id's are downward connectivity id's.
add a downward entity of dimension n-1 (cell or node) to a given cell. Actual implementation is done in derived methods.
- Parameters
-
cellId index of the parent cell (dimension n) in the downward structure relative to a vtk cell type. lowCellId index of the children cell to add (dimension n-1) aType vtk cell type of the cell to add (needed to find the SMDS_Downward structure containing the cell to add).
Reimplemented from SMDS_Downward.
◆ computeFacesWithNodes()
|
protectedvirtual |
Create a list of faces described by a vtk Type and an ordered set of Node Id's The pyramid is defined by the five points (0-4) where (0,1,2,3) is the base of the pyramid which, using the right hand rule, forms a quadrilateral whose normal points in the direction of the pyramid apex at vertex #4.
- See also
- vtkPyramid.h in Filtering.
- Parameters
-
cellId volumeId in vtkUnstructuredGrid facesWithNodes vector of face descriptors to be filled
Implements SMDS_Down3D.
References ListElemByNodesType::elems, ListElemByNodesType::nbElems, ElemByNodesType::nbNodes, ElemByNodesType::nodeIds, and ElemByNodesType::vtkType.
◆ getOrderedNodesOfFace()
|
virtual |
Reimplemented from SMDS_Downward.
Friends And Related Function Documentation
◆ SMDS_UnstructuredGrid
|
friend |
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/SMDS_Downward.hxx
- src/3rdParty/salomesmesh/src/SMDS/SMDS_Downward.cpp