CubbyFlow::SPHPointsToImplicit3 Class Referencefinal

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

#include <Core/PointsToImplicit/SPHPointsToImplicit3.hpp>

Inheritance diagram for CubbyFlow::SPHPointsToImplicit3:
CubbyFlow::PointsToImplicit3

Public Member Functions

 SPHPointsToImplicit3 (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< 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
 Default constructor. More...
 
 PointsToImplicit3 (const PointsToImplicit3 &)=default
 Default copy constructor. More...
 
 PointsToImplicit3 (PointsToImplicit3 &&) noexcept=default
 Default move constructor. More...
 
virtual ~PointsToImplicit3 ()=default
 Default virtual destructor. More...
 
PointsToImplicit3operator= (const PointsToImplicit3 &)=default
 Default copy assignment operator. More...
 
PointsToImplicit3operator= (PointsToImplicit3 &&) noexcept=default
 Default move assignment operator. More...
 

Detailed Description

3-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

◆ SPHPointsToImplicit3()

CubbyFlow::SPHPointsToImplicit3::SPHPointsToImplicit3 ( 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::SPHPointsToImplicit3::Convert ( const ConstArrayView1< 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: