CubbyFlow::AnisotropicPointsToImplicit2 Class Referencefinal
2-D points-to-implicit converter using Anisotropic kernels. More...
#include <Core/PointsToImplicit/AnisotropicPointsToImplicit2.h>
Inheritance diagram for CubbyFlow::AnisotropicPointsToImplicit2:
Public Member Functions | |
AnisotropicPointsToImplicit2 (double kernelRadius=1.0, double cutOffDensity=0.5, double positionSmoothingFactor=0.5, size_t minNumNeighbors=8, bool isOutputSDF=true) | |
Constructs the converter with given parameters. More... | |
void | Convert (const ConstArrayAccessor1< Vector2D > &points, ScalarGrid2 *output) const override |
Converts the given points to implicit surface scalar field. More... | |
Public Member Functions inherited from CubbyFlow::PointsToImplicit2 | |
PointsToImplicit2 () | |
Default constructor. More... | |
virtual | ~PointsToImplicit2 () |
Default destructor. More... | |
Detailed Description
2-D points-to-implicit converter using Anisotropic kernels.
This class converts 2-D points to implicit surface using anisotropic kernels so that the kernels are oriented and stretched to reflect the point distribution more naturally (thus less bumps). The implementation is based on Yu and Turk's 2013 paper with some modifications.
- See also
- Yu, Jihun, and Greg Turk. "Reconstructing surfaces of particle-based fluids using anisotropic kernels." ACM Transactions on Graphics (TOG) 32.1 (2013): 5.
Constructor & Destructor Documentation
◆ AnisotropicPointsToImplicit2()
CubbyFlow::AnisotropicPointsToImplicit2::AnisotropicPointsToImplicit2 | ( | double | kernelRadius = 1.0 , |
double | cutOffDensity = 0.5 , |
||
double | positionSmoothingFactor = 0.5 , |
||
size_t | minNumNeighbors = 8 , |
||
bool | isOutputSDF = true |
||
) |
Constructs the converter with given parameters.
- Parameters
-
kernelRadius Kernel radius for interpolations. cutOffDensity Iso-contour density value. positionSmoothingFactor Position smoothing factor. minNumNeighbors Minimum number of neighbors to enable anisotropic kernel.
Member Function Documentation
◆ Convert()
|
overridevirtual |
Converts the given points to implicit surface scalar field.
Implements CubbyFlow::PointsToImplicit2.
The documentation for this class was generated from the following file:
- Core/PointsToImplicit/AnisotropicPointsToImplicit2.h