Go to the source code of this file.
|
| #define | API |
| |
| #define | ABS(x) (x < 0 ? -(x) : (x)) |
| |
|
| int | PolygoniseCube (GRIDCELL, float, TRIANGLE *) |
| |
| float3 | VertexInterp (float, int3, int3, float, float) |
| |
| TRIANGLE * | marchingCubes (const float *data, const int3 gridDim, int *nbTri) |
| |
| API void | ComputeMesh (const float *gridVal, const int sizeX, const int sizeY, const int sizeZ, const float isoValue, int *vertnumber, int *facenumber) |
| |
| API float * | getVertices () |
| |
| API int * | getTriangles () |
| |
| API void | freeMeshData () |
| |
◆ ABS
| #define ABS |
( |
|
x | ) |
(x < 0 ? -(x) : (x)) |
◆ API
◆ ComputeMesh()
| API void ComputeMesh |
( |
const float * |
gridVal, |
|
|
const int |
sizeX, |
|
|
const int |
sizeY, |
|
|
const int |
sizeZ, |
|
|
const float |
isoValue, |
|
|
int * |
vertnumber, |
|
|
int * |
facenumber |
|
) |
| |
◆ freeMeshData()
| API void freeMeshData |
( |
| ) |
|
◆ getTriangles()
| API int* getTriangles |
( |
| ) |
|
◆ getVertices()
| API float* getVertices |
( |
| ) |
|
◆ marchingCubes()
| TRIANGLE* marchingCubes |
( |
const float * |
data, |
|
|
const int3 |
gridDim, |
|
|
int * |
nbTri |
|
) |
| |
◆ PolygoniseCube()
◆ VertexInterp()