|
CARLA
|
#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, pos, sd, sdf, 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, LerpVertex(), MeshReconstruction::IntersectInfo::signConfig, and SignConfig().
Referenced by MeshReconstruction::MarchCube().
|
private |
|
private |
|
private |
Definition at line 18 of file Cube.h.
Referenced by Cube(), and LerpVertex().
|
private |
Definition at line 19 of file Cube.h.
Referenced by Cube(), LerpVertex(), and SignConfig().