Loading...
Searching...
No Matches
CubbyFlow::CustomImplicitSurface< N > Class Template Referencefinal
Custom N-D implicit surface using arbitrary function. More...
#include <Core/Geometry/CustomImplicitSurface.hpp>
Inheritance diagram for CubbyFlow::CustomImplicitSurface< N >:
Classes | |
| class | Builder |
| Front-end to create CustomImplicitSurface objects step by step. More... | |
Static Public Member Functions | |
| static Builder | GetBuilder () |
| Returns builder for CustomImplicitSurface. | |
Additional Inherited Members | |
Public Attributes inherited from CubbyFlow::Surface< N > | |
| Transform< N > | transform |
| Local-to-world transform. | |
| bool | isNormalFlipped = false |
| Flips normal. | |
Protected Member Functions inherited from CubbyFlow::Surface< N > | |
| virtual bool | IsInsideLocal (const Vector< double, N > &otherPoint) const |
Detailed Description
template<size_t N>
class CubbyFlow::CustomImplicitSurface< N >
class CubbyFlow::CustomImplicitSurface< N >
Custom N-D implicit surface using arbitrary function.
Constructor & Destructor Documentation
◆ CustomImplicitSurface() [1/3]
template<size_t N>
| CubbyFlow::CustomImplicitSurface< N >::CustomImplicitSurface | ( | std::function< double(const Vector< double, N > &)> | func, |
| const BoundingBox< double, N > & | domain = BoundingBox< double, N >{}, |
||
| double | resolution = 1e-3, |
||
| double | rayMarchingResolution = 1e-6, |
||
| unsigned int | maxNumOfIterations = 5, |
||
| const Transform< N > & | _transform = Transform< N >{}, |
||
| bool | _isNormalFlipped = false |
||
| ) |
Constructs an implicit surface using the given signed-distance function.
- Parameters
-
func Custom SDF function object. domain Bounding box of the SDF if exists. resolution Finite differencing resolution for derivatives. rayMarchingResolution Ray marching resolution for ray tests. maxNumOfIterations Number of iterations for closest point search. _transform Local-to-world transform. _isNormalFlipped True if normal is flipped.
◆ ~CustomImplicitSurface()
template<size_t N>
|
overridedefault |
Default virtual destructor.
◆ CustomImplicitSurface() [2/3]
template<size_t N>
|
default |
Default copy constructor.
◆ CustomImplicitSurface() [3/3]
template<size_t N>
|
defaultnoexcept |
Default move constructor.
Member Function Documentation
◆ GetBuilder()
template<size_t N>
|
static |
Returns builder for CustomImplicitSurface.
◆ operator=() [1/2]
template<size_t N>
|
default |
Default copy assignment operator.
◆ operator=() [2/2]
template<size_t N>
|
defaultnoexcept |
Default move assignment operator.
The documentation for this class was generated from the following file:
- Core/Geometry/CustomImplicitSurface.hpp
Public Member Functions inherited from
1.9.8