Jet
v1.3.3
|
2-D points-to-implicit converter using Anisotropic kernels. More...
#include <jet/anisotropic_points_to_implicit2.h>
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... | |
![]() | |
PointsToImplicit2 () | |
Default constructor. More... | |
virtual | ~PointsToImplicit2 () |
Default destructor. More... | |
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.
jet::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.
kernelRadius | Kernel radius for interpolations. |
cutOffDensity | Iso-contour density value. |
positionSmoothingFactor | Position smoothing factor. |
minNumNeighbors | Minimum number of neighbors to enable anisotropic kernel. |
|
overridevirtual |
Converts the given points to implicit surface scalar field.
Implements jet::PointsToImplicit2.