#include <Cube.h>
Public Member Functions | |
Cube (Rect3 const &space, Fun3s const &sdf) | |
IntersectInfo | Intersect (double isoLevel=0) const |
Private Member Functions | |
Vec3 | LerpVertex (double isoLevel, int i1, int i2) const |
int | SignConfig (double isoLevel) const |
Private Attributes | |
Vec3 | pos [8] |
double | sdf [8] |
Definition at line 113 of file Cube.h.
References MeshReconstruction::Rect3::min, sd, MeshReconstruction::Rect3::size, MeshReconstruction::Vec3::x, MeshReconstruction::Vec3::y, and MeshReconstruction::Vec3::z.
IntersectInfo MeshReconstruction::Cube::Intersect | ( | double | isoLevel = 0 | ) | const |
Definition at line 156 of file Cube.h.
References MeshReconstruction::IntersectInfo::edgeVertIndices, and MeshReconstruction::IntersectInfo::signConfig.
Referenced by MeshReconstruction::MarchCube().
|
private |
|
private |