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

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

#include <jet/zhu_bridson_points_to_implicit3.h>

Inheritance diagram for jet::ZhuBridsonPointsToImplicit3:
jet::PointsToImplicit3

Public Member Functions

 ZhuBridsonPointsToImplicit3 (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< Vector3D > &points, ScalarGrid3 *output) const override
 Converts the given points to implicit surface scalar field. More...
 
- Public Member Functions inherited from jet::PointsToImplicit3
 PointsToImplicit3 ()
 Default constructor. More...
 
virtual ~PointsToImplicit3 ()
 Default destructor. More...
 

Detailed Description

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

◆ ZhuBridsonPointsToImplicit3()

jet::ZhuBridsonPointsToImplicit3::ZhuBridsonPointsToImplicit3 ( 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::ZhuBridsonPointsToImplicit3::convert ( const ConstArrayAccessor1< Vector3D > &  points,
ScalarGrid3 output 
) const
overridevirtual

Converts the given points to implicit surface scalar field.

Implements jet::PointsToImplicit3.


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