TetGenProcess
The GeMA wrapper plugin to the TetGen mesh generator
Loading...
Searching...
No Matches
gmpTetGenBuildMesh.h
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
24#ifndef _GEMA_PLUGIN_TETGEN_BUILDMESH_H_
25#define _GEMA_PLUGIN_TETGEN_BUILDMESH_H_
26
27#include <QVector>
28
29bool buildMesh(const QVector<double>& points, const QVector<int>& triangles, const QVector<int>& triMarker,
30 QVector<double>& outPoints, QVector<int>& outTet, QVector<int>& outInt, QVector<int>& outTriMarker, double maxVol);
31
32bool refineMesh(QVector<double>& points, QVector<int>& tetra, QVector<double>& tetraAttrib,
33 QVector<int>& intFace, QVector<int>& triMarker,
34 const QVector<double>& refineVol, const QVector<double> refineTriMarker, const QVector<double>& addPoints);
35#endif
36