Abstract base class for 2-D level set solver. More...
#include <Core/Solver/LevelSet/LevelSetSolver2.h>
Public Member Functions | |
LevelSetSolver2 () | |
Default constructor. More... | |
virtual | ~LevelSetSolver2 () |
Default destructor. More... | |
virtual void | Reinitialize (const ScalarGrid2 &inputSDF, double maxDistance, ScalarGrid2 *outputSDF)=0 |
virtual void | Extrapolate (const ScalarGrid2 &input, const ScalarField2 &sdf, double maxDistance, ScalarGrid2 *output)=0 |
virtual void | Extrapolate (const CollocatedVectorGrid2 &input, const ScalarField2 &sdf, double maxDistance, CollocatedVectorGrid2 *output)=0 |
virtual void | Extrapolate (const FaceCenteredGrid2 &input, const ScalarField2 &sdf, double maxDistance, FaceCenteredGrid2 *output)=0 |
Detailed Description
Abstract base class for 2-D level set solver.
Constructor & Destructor Documentation
◆ LevelSetSolver2()
CubbyFlow::LevelSetSolver2::LevelSetSolver2 | ( | ) |
Default constructor.
◆ ~LevelSetSolver2()
|
virtual |
Default destructor.
Member Function Documentation
◆ Extrapolate() [1/3]
|
pure virtual |
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.
Implemented in CubbyFlow::IterativeLevelSetSolver2, and CubbyFlow::FMMLevelSetSolver2.
◆ Extrapolate() [2/3]
|
pure virtual |
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.
Implemented in CubbyFlow::IterativeLevelSetSolver2, and CubbyFlow::FMMLevelSetSolver2.
◆ Extrapolate() [3/3]
|
pure virtual |
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.
Implemented in CubbyFlow::IterativeLevelSetSolver2, and CubbyFlow::FMMLevelSetSolver2.
◆ Reinitialize()
|
pure virtual |
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.
Implemented in CubbyFlow::IterativeLevelSetSolver2, and CubbyFlow::FMMLevelSetSolver2.
The documentation for this class was generated from the following file:
- Core/Solver/LevelSet/LevelSetSolver2.h