CubbyFlow::SPHPointsToImplicit2 Class Referencefinal

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

#include <Core/PointsToImplicit/SPHPointsToImplicit2.hpp>

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 ConstArrayView1< 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
 Default constructor. More...
 
 PointsToImplicit2 (const PointsToImplicit2 &)=default
 Default copy constructor. More...
 
 PointsToImplicit2 (PointsToImplicit2 &&) noexcept=default
 Default move constructor. More...
 
virtual ~PointsToImplicit2 ()=default
 Default virtual destructor. More...
 
PointsToImplicit2operator= (const PointsToImplicit2 &)=default
 Default copy assignment operator. More...
 
PointsToImplicit2operator= (PointsToImplicit2 &&) noexcept=default
 Default move assignment operator. 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 ConstArrayView1< 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: