Jet  v1.3.3
Public Member Functions | List of all members
jet::AnisotropicPointsToImplicit2 Class Referencefinal

2-D points-to-implicit converter using Anisotropic kernels. More...

#include <jet/anisotropic_points_to_implicit2.h>

Inheritance diagram for jet::AnisotropicPointsToImplicit2:
jet::PointsToImplicit2

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 jet::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()

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.

Parameters
kernelRadiusKernel radius for interpolations.
cutOffDensityIso-contour density value.
positionSmoothingFactorPosition smoothing factor.
minNumNeighborsMinimum number of neighbors to enable anisotropic kernel.

Member Function Documentation

◆ convert()

void jet::AnisotropicPointsToImplicit2::convert ( const ConstArrayAccessor1< Vector2D > &  points,
ScalarGrid2 output 
) const
overridevirtual

Converts the given points to implicit surface scalar field.

Implements jet::PointsToImplicit2.


The documentation for this class was generated from the following file: