Jet  v1.3.3
Public Member Functions | List of all members
jet::ZhuBridsonPointsToImplicit2 Class Referencefinal

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

#include <jet/zhu_bridson_points_to_implicit2.h>

Inheritance diagram for jet::ZhuBridsonPointsToImplicit2:
jet::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 jet::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()

jet::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 jet::ZhuBridsonPointsToImplicit2::convert ( const ConstArrayAccessor1< Vector2D > &  points,
ScalarGrid2 output 
) const
overridevirtual

Converts the given points to implicit surface scalar field.

Implements jet::PointsToImplicit2.


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