Two-dimensional fast marching method (FMM) implementation.
More...
#include <jet/fmm_level_set_solver2.h>
|
| FmmLevelSetSolver2 () |
| Default constructor. More...
|
|
void | reinitialize (const ScalarGrid2 &inputSdf, double maxDistance, ScalarGrid2 *outputSdf) override |
|
void | extrapolate (const ScalarGrid2 &input, const ScalarField2 &sdf, double maxDistance, ScalarGrid2 *output) override |
|
void | extrapolate (const CollocatedVectorGrid2 &input, const ScalarField2 &sdf, double maxDistance, CollocatedVectorGrid2 *output) override |
|
void | extrapolate (const FaceCenteredGrid2 &input, const ScalarField2 &sdf, double maxDistance, FaceCenteredGrid2 *output) override |
|
| LevelSetSolver2 () |
| Default constructor. More...
|
|
virtual | ~LevelSetSolver2 () |
| Default destructor. More...
|
|
Two-dimensional fast marching method (FMM) implementation.
This class implements 2-D FMM. First-order upwind-style differencing is used to solve the PDE.
- See also
- https://math.berkeley.edu/~sethian/2006/Explanations/fast_marching_explain.html
-
Sethian, James A. "A fast marching level set method for monotonically
advancing fronts." Proceedings of the National Academy of Sciences 93.4 (1996): 1591-1595.
◆ FmmLevelSetSolver2()
jet::FmmLevelSetSolver2::FmmLevelSetSolver2 |
( |
| ) |
|
◆ extrapolate() [1/3]
Extrapolates given collocated vector field from negative to positive SDF region.
- Parameters
-
input | Input collocated vector field to be extrapolated. |
sdf | Reference signed-distance field. |
maxDistance | Max range of extrapolation. |
output | Output collocated vector field. |
Implements jet::LevelSetSolver2.
◆ extrapolate() [2/3]
Extrapolates given face-centered vector field from negative to positive SDF region.
- Parameters
-
input | Input face-centered field to be extrapolated. |
sdf | Reference signed-distance field. |
maxDistance | Max range of extrapolation. |
output | Output face-centered vector field. |
Implements jet::LevelSetSolver2.
◆ extrapolate() [3/3]
Extrapolates given scalar field from negative to positive SDF region.
- Parameters
-
input | Input scalar field to be extrapolated. |
sdf | Reference signed-distance field. |
maxDistance | Max range of extrapolation. |
output | Output scalar field. |
Implements jet::LevelSetSolver2.
◆ reinitialize()
void jet::FmmLevelSetSolver2::reinitialize |
( |
const ScalarGrid2 & |
inputSdf, |
|
|
double |
maxDistance, |
|
|
ScalarGrid2 * |
outputSdf |
|
) |
| |
|
overridevirtual |
Reinitializes given scalar field to signed-distance field.
- Parameters
-
inputSdf | Input signed-distance field which can be distorted. |
maxDistance | Max range of reinitialization. |
outputSdf | Output signed-distance field. |
Implements jet::LevelSetSolver2.
The documentation for this class was generated from the following file: