CubbyFlow::ImplicitTriangleMesh3::Builder Class Referencefinal

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

#include <Core/Geometry/ImplicitTriangleMesh3.hpp>

Inheritance diagram for CubbyFlow::ImplicitTriangleMesh3::Builder:
CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >

Public Member Functions

BuilderWithTriangleMesh (const TriangleMesh3Ptr &mesh)
 Returns builder with triangle mesh. More...
 
BuilderWithResolutionX (size_t resolutionX)
 Returns builder with resolution in x axis. More...
 
BuilderWithMargin (double margin)
 Returns builder with margin around the mesh. More...
 
ImplicitTriangleMesh3 Build () const
 Builds ImplicitTriangleMesh3. More...
 
ImplicitTriangleMesh3Ptr MakeShared () const
 Builds shared pointer of ImplicitTriangleMesh3 instance. More...
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >
DerivedBuilder & WithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag. More...
 
DerivedBuilder & WithTranslation (const Vector< double, N > &translation)
 Returns builder with translation. More...
 
DerivedBuilder & WithOrientation (const Orientation< N > &orientation)
 Returns builder with orientation. More...
 
DerivedBuilder & WithTransform (const Transform< N > &transform)
 Returns builder with transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >
bool m_isNormalFlipped = false
 
Transform< N > m_transform
 

Detailed Description

Front-end to create ImplicitTriangleMesh3 objects step by step.

Member Function Documentation

◆ Build()

ImplicitTriangleMesh3 CubbyFlow::ImplicitTriangleMesh3::Builder::Build ( ) const

◆ MakeShared()

ImplicitTriangleMesh3Ptr CubbyFlow::ImplicitTriangleMesh3::Builder::MakeShared ( ) const

Builds shared pointer of ImplicitTriangleMesh3 instance.

◆ WithMargin()

Builder& CubbyFlow::ImplicitTriangleMesh3::Builder::WithMargin ( double  margin)

Returns builder with margin around the mesh.

◆ WithResolutionX()

Builder& CubbyFlow::ImplicitTriangleMesh3::Builder::WithResolutionX ( size_t  resolutionX)

Returns builder with resolution in x axis.

◆ WithTriangleMesh()

Builder& CubbyFlow::ImplicitTriangleMesh3::Builder::WithTriangleMesh ( const TriangleMesh3Ptr mesh)

Returns builder with triangle mesh.


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