SPH
|
#include "post/MarchingCubes.h"
#include "objects/finders/NeighbourFinder.h"
#include "post/Analysis.h"
#include "quantities/Storage.h"
#include "sph/kernel/Kernel.h"
#include "system/Factory.h"
#include "system/Profiler.h"
#include "system/Settings.h"
#include "thread/ThreadLocal.h"
Go to the source code of this file.
Functions | |
INLINE Float | weight (const Vector &r1, const Vector &r2) |
Array< Triangle > | getSurfaceMesh (IScheduler &scheduler, const Storage &storage, const McConfig &config) |
Returns the triangle mesh of the body surface (or surfaces of bodies). More... | |
Variables | |
NAMESPACE_SPH_BEGIN const int | MC_EDGES [256] |
const int | MC_TRIANGLES [256][16] |
const Size | IDXS1 [12] = { 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3 } |
const Size | IDXS2 [12] = { 1, 2, 3, 0, 5, 6, 7, 4, 4, 5, 6, 7 } |
Array<Triangle> getSurfaceMesh | ( | IScheduler & | scheduler, |
const Storage & | storage, | ||
const McConfig & | config | ||
) |
Returns the triangle mesh of the body surface (or surfaces of bodies).
scheduler | Scheduler used for parallelization. |
storage | Particle storage; must contain particle positions. |
Definition at line 597 of file MarchingCubes.cpp.
Definition at line 587 of file MarchingCubes.cpp.
const Size IDXS1[12] = { 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3 } |
Definition at line 297 of file MarchingCubes.cpp.
const Size IDXS2[12] = { 1, 2, 3, 0, 5, 6, 7, 4, 4, 5, 6, 7 } |
Definition at line 298 of file MarchingCubes.cpp.
NAMESPACE_SPH_BEGIN const int MC_EDGES[256] |
Cached edge data and triangle indices see http://paulbourke.net/geometry/polygonise/
Definition at line 17 of file MarchingCubes.cpp.
const int MC_TRIANGLES[256][16] |
Definition at line 36 of file MarchingCubes.cpp.