Loading...
Searching...
No Matches
CustomImplicitSurface.hpp
Go to the documentation of this file.
Front-end to create CustomImplicitSurface objects step by step.
Definition CustomImplicitSurface.hpp:110
Builder & WithSignedDistanceFunction(const std::function< double(const Vector< double, N > &)> &func)
Returns builder with custom signed-distance function.
std::shared_ptr< CustomImplicitSurface< N > > MakeShared() const
Builds shared pointer of CustomImplicitSurface instance.
Builder & WithDomain(const BoundingBox< double, N > &domain)
Returns builder with domain.
Builder & WithResolution(double resolution)
Returns builder with finite differencing resolution.
Builder & WithMaxNumberOfIterations(unsigned int numIter)
Builder & WithRayMarchingResolution(double rayMarchingResolution)
CustomImplicitSurface< N > Build() const
Builds CustomImplicitSurface.
Custom N-D implicit surface using arbitrary function.
Definition CustomImplicitSurface.hpp:21
CustomImplicitSurface & operator=(const CustomImplicitSurface &other)=default
Default copy assignment operator.
CustomImplicitSurface(CustomImplicitSurface &&other) noexcept=default
Default move constructor.
static Builder GetBuilder()
Returns builder for CustomImplicitSurface.
CustomImplicitSurface & operator=(CustomImplicitSurface &&other) noexcept=default
Default move assignment operator.
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)
~CustomImplicitSurface() override=default
Default virtual destructor.
CustomImplicitSurface(const CustomImplicitSurface &other)=default
Default copy constructor.
Abstract base class for N-D implicit surface.
Definition ImplicitSurface.hpp:21
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< CustomImplicitSurface2 > CustomImplicitSurface2Ptr
Shared pointer type for the CustomImplicitSurface2.
Definition CustomImplicitSurface.hpp:99
std::shared_ptr< CustomImplicitSurface3 > CustomImplicitSurface3Ptr
Shared pointer type for the CustomImplicitSurface3.
Definition CustomImplicitSurface.hpp:102
1.9.8