CubbyFlow::ZhuBridsonPointsToImplicit2 Class Referencefinal

2-D points-to-implicit converter based on Zhu and Bridson's method. More...

#include <Core/PointsToImplicit/ZhuBridsonPointsToImplicit2.h>

Inheritance diagram for CubbyFlow::ZhuBridsonPointsToImplicit2:
CubbyFlow::PointsToImplicit2

Public Member Functions

 ZhuBridsonPointsToImplicit2 (double kernelRadius=1.0, double cutOffThreshold=0.25, bool isOutputSDF=true)
 Constructs the converter with given kernel radius and cut-off threshold. 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 Zhu and Bridson's method.

See also
Zhu, Yongning, and Robert Bridson. "Animating sand as a fluid." ACM Transactions on Graphics (TOG). Vol. 24. No. 3. ACM, 2005.

Constructor & Destructor Documentation

◆ ZhuBridsonPointsToImplicit2()

CubbyFlow::ZhuBridsonPointsToImplicit2::ZhuBridsonPointsToImplicit2 ( double  kernelRadius = 1.0,
double  cutOffThreshold = 0.25,
bool  isOutputSDF = true 
)

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

Member Function Documentation

◆ Convert()

void CubbyFlow::ZhuBridsonPointsToImplicit2::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: