Loading...
Searching...
No Matches
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.
 
BuilderWithNormals (const NormalArray &normals)
 Returns builder with normals.
 
BuilderWithUVs (const UVArray &uvs)
 Returns builder with uvs.
 
BuilderWithPointIndices (const IndexArray &pointIndices)
 Returns builder with point indices.
 
BuilderWithNormalIndices (const IndexArray &normalIndices)
 Returns builder with normal indices.
 
BuilderWithUVIndices (const IndexArray &uvIndices)
 Returns builder with uv indices.
 
TriangleMesh3 Build () const
 Builds TriangleMesh3.
 
TriangleMesh3Ptr MakeShared () const
 Builds shared pointer of TriangleMesh3 instance.
 
- Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >
DerivedBuilderWithIsNormalFlipped (bool isNormalFlipped)
 Returns builder with flipped normal flag.
 
DerivedBuilderWithTranslation (const Vector< double, N > &translation)
 Returns builder with translation.
 
DerivedBuilderWithOrientation (const Orientation< N > &orientation)
 Returns builder with orientation.
 
DerivedBuilderWithTransform (const Transform< N > &transform)
 Returns builder with transform.
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, DerivedBuilder >
bool m_isNormalFlipped = false
 
Transform< Nm_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: