Abstract base class for 3-D level set solver. More...
#include <Core/Solver/LevelSet/LevelSetSolver3.h>
Public Member Functions | |
LevelSetSolver3 () | |
Default constructor. More... | |
virtual | ~LevelSetSolver3 () |
Default destructor. More... | |
virtual void | Reinitialize (const ScalarGrid3 &inputSDF, double maxDistance, ScalarGrid3 *outputSDF)=0 |
virtual void | Extrapolate (const ScalarGrid3 &input, const ScalarField3 &sdf, double maxDistance, ScalarGrid3 *output)=0 |
virtual void | Extrapolate (const CollocatedVectorGrid3 &input, const ScalarField3 &sdf, double maxDistance, CollocatedVectorGrid3 *output)=0 |
virtual void | Extrapolate (const FaceCenteredGrid3 &input, const ScalarField3 &sdf, double maxDistance, FaceCenteredGrid3 *output)=0 |
Detailed Description
Abstract base class for 3-D level set solver.
Constructor & Destructor Documentation
◆ LevelSetSolver3()
CubbyFlow::LevelSetSolver3::LevelSetSolver3 | ( | ) |
Default constructor.
◆ ~LevelSetSolver3()
|
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::IterativeLevelSetSolver3, and CubbyFlow::FMMLevelSetSolver3.
◆ 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::IterativeLevelSetSolver3, and CubbyFlow::FMMLevelSetSolver3.
◆ 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::IterativeLevelSetSolver3, and CubbyFlow::FMMLevelSetSolver3.
◆ 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::IterativeLevelSetSolver3, and CubbyFlow::FMMLevelSetSolver3.
The documentation for this class was generated from the following file:
- Core/Solver/LevelSet/LevelSetSolver3.h