CubbyFlow::TriangleMesh3::Builder Class Referencefinal

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

#include <Core/Geometry/TriangleMesh3.hpp>

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

Public Member Functions

BuilderWithPoints (const PointArray &points)
 Returns builder with points. More...
 
BuilderWithNormals (const NormalArray &normals)
 Returns builder with normals. More...
 
BuilderWithUVs (const UVArray &uvs)
 Returns builder with uvs. More...
 
BuilderWithPointIndices (const IndexArray &pointIndices)
 Returns builder with point indices. More...
 
BuilderWithNormalIndices (const IndexArray &normalIndices)
 Returns builder with normal indices. More...
 
BuilderWithUVIndices (const IndexArray &uvIndices)
 Returns builder with uv indices. More...
 
TriangleMesh3 Build () const
 Builds TriangleMesh3. More...
 
TriangleMesh3Ptr MakeShared () const
 Builds shared pointer of TriangleMesh3 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 TriangleMesh3 objects step by step.

Member Function Documentation

◆ Build()

TriangleMesh3 CubbyFlow::TriangleMesh3::Builder::Build ( ) const

Builds TriangleMesh3.

◆ MakeShared()

TriangleMesh3Ptr CubbyFlow::TriangleMesh3::Builder::MakeShared ( ) const

Builds shared pointer of TriangleMesh3 instance.

◆ WithNormalIndices()

Builder& CubbyFlow::TriangleMesh3::Builder::WithNormalIndices ( const IndexArray normalIndices)

Returns builder with normal indices.

◆ WithNormals()

Builder& CubbyFlow::TriangleMesh3::Builder::WithNormals ( const NormalArray normals)

Returns builder with normals.

◆ WithPointIndices()

Builder& CubbyFlow::TriangleMesh3::Builder::WithPointIndices ( const IndexArray pointIndices)

Returns builder with point indices.

◆ WithPoints()

Builder& CubbyFlow::TriangleMesh3::Builder::WithPoints ( const PointArray points)

Returns builder with points.

◆ WithUVIndices()

Builder& CubbyFlow::TriangleMesh3::Builder::WithUVIndices ( const IndexArray uvIndices)

Returns builder with uv indices.

◆ WithUVs()

Builder& CubbyFlow::TriangleMesh3::Builder::WithUVs ( const UVArray uvs)

Returns builder with uvs.


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