CubbyFlow::AnisotropicPointsToImplicit3 Class Referencefinal

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

#include <Core/PointsToImplicit/AnisotropicPointsToImplicit3.h>

Inheritance diagram for CubbyFlow::AnisotropicPointsToImplicit3:
CubbyFlow::PointsToImplicit3

Public Member Functions

 AnisotropicPointsToImplicit3 (double kernelRadius=1.0, double cutOffDensity=0.5, double positionSmoothingFactor=0.5, size_t minNumNeighbors=25, bool isOutputSDF=true)
 Constructs the converter with given parameters. More...
 
void Convert (const ConstArrayAccessor1< Vector3D > &points, ScalarGrid3 *output) const override
 Converts the given points to implicit surface scalar field. More...
 
- Public Member Functions inherited from CubbyFlow::PointsToImplicit3
 PointsToImplicit3 ()
 Default constructor. More...
 
virtual ~PointsToImplicit3 ()
 Default destructor. More...
 

Detailed Description

3-D points-to-implicit converter using Anisotropic kernels.

This class converts 3-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

◆ AnisotropicPointsToImplicit3()

CubbyFlow::AnisotropicPointsToImplicit3::AnisotropicPointsToImplicit3 ( double  kernelRadius = 1.0,
double  cutOffDensity = 0.5,
double  positionSmoothingFactor = 0.5,
size_t  minNumNeighbors = 25,
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 CubbyFlow::AnisotropicPointsToImplicit3::Convert ( const ConstArrayAccessor1< Vector3D > &  points,
ScalarGrid3 output 
) const
overridevirtual

Converts the given points to implicit surface scalar field.

Implements CubbyFlow::PointsToImplicit3.


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