Woolz Image Processing Version 1.4.0
|
A single 3D tetrahedral mesh element. Typedef: WlzCMeshElm3D. More...
Data Fields | |
int | idx |
unsigned int | flags |
struct _WlzCMeshFace | face [4] |
struct _WlzCMeshCellElm3D * | cElm |
void * | prop |
A single 3D tetrahedral mesh element. Typedef: WlzCMeshElm3D.
The following diagram depicts a mesh element, viewed from above with the apex (node n0) pointing towards the viewer. From this view, face f3 is at the rear of the tetrahedron.
O n1 /|\ / | \ / | \ / | \ / | \ f3 / | \ / / | \/ / | .\ / | . \ / | . \ / | . \ / O \ / f1 / \ f0 \ / / n0 \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / f2 \ \ / / \ \ / / \ \ / / \ \ n3 O-----------------------------------------------O n2
The relationship between nodes and faces depicted in this diagrap is used in constructing new mesh elements.
The tetrahedron can be opened a net and viewed looking at the directed edges uses associated with the faces from *outside* the element surface as shown below:
n1 n0 O-----------------------------O-----------------------------0 n0 \ ---------------------> / \ --------------------> / \ % e0 / % \ % e1 / \ \ / / / \ \ / / \ \ / / / \ \ \ / / \ \ / / / \ \ \ / / \ \ f0 / / / \ \ \ f1 / / \ \ e2 e1 / / / \ \ \ e1 e0 / / \ \ / / / \ \ \ / / \ \ / / / f3 \ \ \ / / \ \ / / / e0 e1 \ \ \ / / \ \ / / / \ \ / / \ / / / \ \ % / \ % / e2 % \ / \ / <-------------------- \ / O-----------------------------O n2 \ % --------------------> / n3 \ \ e1 / \ \ / / \ \ / / \ \ / / \ \ f2 / / \ \ / / \ \ e0 e2 / / \ \ / / \ \ / / \ \ / / \ / / \ % / \ / O n0
Each mesh element has four faces and each face has three directed edges, with the edges directed counter clockwise (when viewed from outside the mesh element) away from their nodes.
The element index.
Referenced by WlzBasisFnSetCMesh3D(), WlzCMeshAllocElm3D(), WlzCMeshBoundConform3D(), WlzCMeshClearElmFlags3D(), WlzCMeshCmpElmFeat3D(), WlzCMeshCopy3D(), WlzCMeshDbgOutVTK3D(), WlzCMeshElmClosestPosIn3D(), WlzCMeshElmFree3D(), WlzCMeshElmMinEdgLnSq3D(), WlzCMeshElmRingElmIndices3D(), WlzCMeshFixNegativeElms3D(), WlzCMeshNextElm3D(), WlzCMeshReassignGridCells3D(), WlzCMeshSetBoundElmFlags3D(), WlzCMeshSetElmIdxTbl3D(), WlzCMeshUpdateMaxSqEdgLen3D(), WlzCMeshVerify3D(), WlzEffWriteObjEMT(), WlzEffWriteObjMesh(), WlzEffWriteObjNodeEle(), WlzEffWriteObjVMesh(), and WlzIndexedValuesSet().
unsigned int _WlzCMeshElm3D::flags |
Element flags.
Referenced by WlzCMeshBoundConform3D(), WlzCMeshClearElmFlags3D(), WlzCMeshSetBoundElmFlags3D(), and WlzEffReadObjMesh().
struct _WlzCMeshFace _WlzCMeshElm3D::face[4] |
Faces of the mesh element.
Referenced by WlzCMeshDbgOutVTK3D(), WlzCMeshDelElm3D(), WlzCMeshElmBBox3D(), WlzCMeshElmIsBoundary3D(), WlzCMeshElmRingElmIndices3D(), WlzCMeshFixNegativeElms3D(), WlzCMeshSetElm3D(), WlzCMeshVerify3D(), WlzEffWriteObjEMT(), and WlzEffWriteObjVMesh().
First cell element from which all other cell elements can be reached using the next pointer.
void* _WlzCMeshElm3D::prop |
Element properties.