CubbyFlow::CustomImplicitSurface2::Builder Class Referencefinal

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

#include <Core/Surface/CustomImplicitSurface2.h>

Inheritance diagram for CubbyFlow::CustomImplicitSurface2::Builder:
CubbyFlow::SurfaceBuilderBase2< CustomImplicitSurface2::Builder >

Public Member Functions

BuilderWithSignedDistanceFunction (const std::function< double(const Vector2D &)> &func)
 Returns builder with custom signed-distance function. More...
 
BuilderWithDomain (const BoundingBox2D &domain)
 Returns builder with domain. More...
 
BuilderWithResolution (double resolution)
 Returns builder with finite differencing resolution. More...
 
BuilderWithRayMarchingResolution (double rayMarchingResolution)
 
BuilderWithMaxNumberOfIterations (unsigned int numIter)
 Returns builder with number of iterations for closest point/normal searches. More...
 
CustomImplicitSurface2 Build () const
 Builds CustomImplicitSurface2. More...
 
CustomImplicitSurface2Ptr MakeShared () const
 Builds shared pointer of CustomImplicitSurface2 instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase2< CustomImplicitSurface2::Builder >
CustomImplicitSurface2::BuilderWithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
CustomImplicitSurface2::BuilderWithTranslation (const Vector2D &translation)
 Returns builder with translation. More...
 
CustomImplicitSurface2::BuilderWithOrientation (double orientation)
 Returns builder with orientation. More...
 
CustomImplicitSurface2::BuilderWithTransform (const Transform2 &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase2< CustomImplicitSurface2::Builder >
bool m_isNormalFlipped
 
Transform2 m_transform
 

Detailed Description

Front-end to create CustomImplicitSurface2 objects step by step.

Member Function Documentation

◆ Build()

CustomImplicitSurface2 CubbyFlow::CustomImplicitSurface2::Builder::Build ( ) const

◆ MakeShared()

CustomImplicitSurface2Ptr CubbyFlow::CustomImplicitSurface2::Builder::MakeShared ( ) const

Builds shared pointer of CustomImplicitSurface2 instance.

◆ WithDomain()

Builder& CubbyFlow::CustomImplicitSurface2::Builder::WithDomain ( const BoundingBox2D domain)

Returns builder with domain.

◆ WithMaxNumberOfIterations()

Builder& CubbyFlow::CustomImplicitSurface2::Builder::WithMaxNumberOfIterations ( unsigned int  numIter)

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

◆ WithRayMarchingResolution()

Builder& CubbyFlow::CustomImplicitSurface2::Builder::WithRayMarchingResolution ( double  rayMarchingResolution)

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

◆ WithResolution()

Builder& CubbyFlow::CustomImplicitSurface2::Builder::WithResolution ( double  resolution)

Returns builder with finite differencing resolution.

◆ WithSignedDistanceFunction()

Builder& CubbyFlow::CustomImplicitSurface2::Builder::WithSignedDistanceFunction ( const std::function< double(const Vector2D &)> &  func)

Returns builder with custom signed-distance function.


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