Jet  v1.3.3
anisotropic_points_to_implicit3.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Doyub Kim
2 //
3 // I am making my contributions/submissions to this project solely in my
4 // personal capacity and am not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef INCLUDE_JET_ANISOTROPIC_POINTS_TO_IMPLICIT3_H_
8 #define INCLUDE_JET_ANISOTROPIC_POINTS_TO_IMPLICIT3_H_
9 
11 
12 namespace jet {
13 
27  public:
37  AnisotropicPointsToImplicit3(double kernelRadius = 1.0,
38  double cutOffDensity = 0.5,
39  double positionSmoothingFactor = 0.5,
40  size_t minNumNeighbors = 25,
41  bool isOutputSdf = true);
42 
45  ScalarGrid3* output) const override;
46 
47  private:
48  double _kernelRadius = 1.0;
49  double _cutOffDensity = 0.5;
50  double _positionSmoothingFactor = 0.0;
51  size_t _minNumNeighbors = 25;
52  bool _isOutputSdf = true;
53 };
54 
56 typedef std::shared_ptr<AnisotropicPointsToImplicit3>
58 
59 } // namespace jet
60 
61 #endif // INCLUDE_JET_ANISOTROPIC_POINTS_TO_IMPLICIT3_H_
jet::PointsToImplicit3
Abstract base class for 3-D points-to-implicit converters.
Definition: points_to_implicit3.h:19
jet::ConstArrayAccessor< T, 1 >
1-D read-only array accessor class.
Definition: array_accessor1.h:184
jet::AnisotropicPointsToImplicit3::convert
void convert(const ConstArrayAccessor1< Vector3D > &points, ScalarGrid3 *output) const override
Converts the given points to implicit surface scalar field.
jet::AnisotropicPointsToImplicit3::AnisotropicPointsToImplicit3
AnisotropicPointsToImplicit3(double kernelRadius=1.0, double cutOffDensity=0.5, double positionSmoothingFactor=0.5, size_t minNumNeighbors=25, bool isOutputSdf=true)
Constructs the converter with given parameters.
points_to_implicit3.h
jet
Definition: advection_solver2.h:18
jet::AnisotropicPointsToImplicit3
3-D points-to-implicit converter using Anisotropic kernels.
Definition: anisotropic_points_to_implicit3.h:26
jet::AnisotropicPointsToImplicit3Ptr
std::shared_ptr< AnisotropicPointsToImplicit3 > AnisotropicPointsToImplicit3Ptr
Shared pointer for the AnisotropicPointsToImplicit3 type.
Definition: anisotropic_points_to_implicit3.h:57
jet::ScalarGrid3
Abstract base class for 3-D scalar grid structure.
Definition: scalar_grid3.h:21