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:
Public Member Functions | |
Builder & | WithSignedDistanceFunction (const std::function< double(const Vector2D &)> &func) |
Returns builder with custom signed-distance function. More... | |
Builder & | WithDomain (const BoundingBox2D &domain) |
Returns builder with domain. More... | |
Builder & | WithResolution (double resolution) |
Returns builder with finite differencing resolution. More... | |
Builder & | WithRayMarchingResolution (double rayMarchingResolution) |
Builder & | WithMaxNumberOfIterations (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::Builder & | WithIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
CustomImplicitSurface2::Builder & | WithTranslation (const Vector2D &translation) |
Returns builder with translation. More... | |
CustomImplicitSurface2::Builder & | WithOrientation (double orientation) |
Returns builder with orientation. More... | |
CustomImplicitSurface2::Builder & | WithTransform (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 |
Builds CustomImplicitSurface2.
◆ 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:
- Core/Surface/CustomImplicitSurface2.h