CubbyFlow::TriangleMesh3::Builder Class Referencefinal
Front-end to create TriangleMesh3 objects step by step. More...
#include <Core/Geometry/TriangleMesh3.h>
Inheritance diagram for CubbyFlow::TriangleMesh3::Builder:
Public Member Functions | |
Builder & | WithPoints (const PointArray &points) |
Returns builder with points. More... | |
Builder & | WithNormals (const NormalArray &normals) |
Returns builder with normals. More... | |
Builder & | WithUVs (const UVArray &uvs) |
Returns builder with uvs. More... | |
Builder & | WithPointIndices (const IndexArray &pointIndices) |
Returns builder with point indices. More... | |
Builder & | WithNormalIndices (const IndexArray &normalIndices) |
Returns builder with normal indices. More... | |
Builder & | WithUVIndices (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::SurfaceBuilderBase3< TriangleMesh3::Builder > | |
TriangleMesh3::Builder & | WithIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
TriangleMesh3::Builder & | WithTranslation (const Vector3D &translation) |
Returns builder with translation. More... | |
TriangleMesh3::Builder & | WithOrientation (const QuaternionD &orientation) |
Returns builder with orientation. More... | |
TriangleMesh3::Builder & | WithTransform (const Transform3 &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase3< TriangleMesh3::Builder > | |
bool | m_isNormalFlipped |
Transform3 | 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()
Returns builder with uvs.
The documentation for this class was generated from the following file:
- Core/Geometry/TriangleMesh3.h