CubbyFlow::ZhuBridsonPointsToImplicit2 Class Referencefinal

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

#include <Core/PointsToImplicit/ZhuBridsonPointsToImplicit2.hpp>

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