23#ifndef _MxHalfPyramidCell_h
24#define _MxHalfPyramidCell_h
28#pragma warning(disable:4250)
31#include <MeshVizXLM/extractors/MxTetrahedronCellExtract.h>
32#include <MeshVizXLM/mesh/cell/MiVolumeCell.h>
46 void setNodeIds(
size_t nodeId0,
size_t nodeId1,
size_t nodeId2,
size_t nodeId3)
48 m_nodeIds[0] = nodeId0;
49 m_nodeIds[1] = nodeId1;
50 m_nodeIds[2] = nodeId2;
51 m_nodeIds[3] = nodeId3;
54 virtual size_t getNodeIndex(
size_t nod)
const {
return m_nodeIds[nod]; }
56 virtual bool isPointInsideCell(
const MiGeometryI& meshGeometry,
const MbVec3d &point, std::vector<double>& weights)
const
61 void getWeight(
const MiGeometryI& meshGeometry,
const MbVec3d& point, std::vector<double>& weights)
const
66 virtual size_t getNumFacets()
const {
return 4; }
67 virtual size_t getNumEdges()
const {
return 6; }
68 virtual size_t getNumNodes()
const {
return 4; }
69 virtual size_t appendNodesIndexOfFacet (
size_t, std::vector<size_t>&)
const {
return 0; }
70 virtual void getIsosurfTopology(
unsigned char, std::vector< std::pair<size_t,size_t> >& )
const {}
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic geometry interfa...