CubbyFlow::CustomImplicitSurface< N >::Builder Class Referencefinal

Front-end to create CustomImplicitSurface objects step by step. More...

#include <Core/Geometry/CustomImplicitSurface.hpp>

Inheritance diagram for CubbyFlow::CustomImplicitSurface< N >::Builder:
CubbyFlow::SurfaceBuilderBase< N, CustomImplicitSurface< N >::Builder >

Public Member Functions

BuilderWithSignedDistanceFunction (const std::function< double(const Vector< double, N > &)> &func)
 Returns builder with custom signed-distance function. More...
 
BuilderWithDomain (const BoundingBox< double, N > &domain)
 Returns builder with domain. More...
 
BuilderWithResolution (double resolution)
 Returns builder with finite differencing resolution. More...
 
BuilderWithRayMarchingResolution (double rayMarchingResolution)
 
BuilderWithMaxNumberOfIterations (unsigned int numIter)
 
CustomImplicitSurface< N > Build () const
 Builds CustomImplicitSurface. More...
 
std::shared_ptr< CustomImplicitSurface< N > > MakeShared () const
 Builds shared pointer of CustomImplicitSurface instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, CustomImplicitSurface< N >::Builder >
CustomImplicitSurface< N >::Builder & WithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
CustomImplicitSurface< N >::Builder & WithTranslation (const Vector< double, N > &translation)
 Returns builder with translation. More...
 
CustomImplicitSurface< N >::Builder & WithOrientation (const Orientation< N > &orientation)
 Returns builder with orientation. More...
 
CustomImplicitSurface< N >::Builder & WithTransform (const Transform< N > &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, CustomImplicitSurface< N >::Builder >
bool m_isNormalFlipped
 
Transform< N > m_transform
 

Detailed Description

template<size_t N>
class CubbyFlow::CustomImplicitSurface< N >::Builder

Front-end to create CustomImplicitSurface objects step by step.

Member Function Documentation

◆ Build()

template<size_t N>
CustomImplicitSurface<N> CubbyFlow::CustomImplicitSurface< N >::Builder::Build ( ) const

◆ MakeShared()

template<size_t N>
std::shared_ptr<CustomImplicitSurface<N> > CubbyFlow::CustomImplicitSurface< N >::Builder::MakeShared ( ) const

Builds shared pointer of CustomImplicitSurface instance.

◆ WithDomain()

template<size_t N>
Builder& CubbyFlow::CustomImplicitSurface< N >::Builder::WithDomain ( const BoundingBox< double, N > &  domain)

Returns builder with domain.

◆ WithMaxNumberOfIterations()

template<size_t N>
Builder& CubbyFlow::CustomImplicitSurface< N >::Builder::WithMaxNumberOfIterations ( unsigned int  numIter)

Returns builder with number of iterations for closest point/normal searches.

◆ WithRayMarchingResolution()

template<size_t N>
Builder& CubbyFlow::CustomImplicitSurface< N >::Builder::WithRayMarchingResolution ( double  rayMarchingResolution)

Returns builder with ray marching resolution which determines the ray intersection quality.

◆ WithResolution()

template<size_t N>
Builder& CubbyFlow::CustomImplicitSurface< N >::Builder::WithResolution ( double  resolution)

Returns builder with finite differencing resolution.

◆ WithSignedDistanceFunction()

template<size_t N>
Builder& CubbyFlow::CustomImplicitSurface< N >::Builder::WithSignedDistanceFunction ( const std::function< double(const Vector< double, N > &)> &  func)

Returns builder with custom signed-distance function.


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