CubbyFlow::SPHPointsToImplicit2 Class Referencefinal

2-D points-to-implicit converter based on standard SPH kernel. More...

#include <Core/PointsToImplicit/SPHPointsToImplicit2.h>

Inheritance diagram for CubbyFlow::SPHPointsToImplicit2:
CubbyFlow::PointsToImplicit2

Public Member Functions

 SPHPointsToImplicit2 (double kernelRadius=1.0, double cutOffDensity=0.5, bool isOutputSDF=true)
 Constructs the converter with given kernel radius and cut-off density. 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 based on standard SPH kernel.

See also
Müller, Matthias, David Charypar, and Markus Gross. "Particle-based fluid simulation for interactive applications." Proceedings of the 2003 ACM SIGGRAPH/Eurographics symposium on Computer animation. Eurographics Association, 2003.

Constructor & Destructor Documentation

◆ SPHPointsToImplicit2()

CubbyFlow::SPHPointsToImplicit2::SPHPointsToImplicit2 ( double  kernelRadius = 1.0,
double  cutOffDensity = 0.5,
bool  isOutputSDF = true 
)

Constructs the converter with given kernel radius and cut-off density.

Member Function Documentation

◆ Convert()

void CubbyFlow::SPHPointsToImplicit2::Convert ( const ConstArrayAccessor1< Vector2D > &  points,
ScalarGrid2 output 
) const
overridevirtual

Converts the given points to implicit surface scalar field.

Implements CubbyFlow::PointsToImplicit2.


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