Navigation
API > API/Plugins > API/Plugins/TetMeshing > API/Plugins/TetMeshing/Generate
Inheritance Hierarchy
- TTetMeshGenerator
- TIsosurfaceStuffing
References
| Module | TetMeshing |
| Header | /Engine/Plugins/Experimental/TetMeshing/Source/TetMeshing/Public/Generate/TetMeshGenerator.h |
| Include | #include "Generate/TetMeshGenerator.h" |
Syntax
template<typename RealType>
class TTetMeshGenerator
Remarks
Base class for tetrahedral mesh generators (eg like to generate sphere, cylinder, etc) Subclasses must implement Generate()
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCreateTetIDs | ||
| bool | bCreateTriangleIDs | ||
| bool | bReverseOrientation | If true, reverse orientation of created mesh | |
| TArray< int32 > | TetIDs | Optional array of tetrahedron IDs. If non-empty, should be same length as Tets array. | |
| TArray< FIntVector4 > | Tets | Array of tetrahedron corner positions, stored as tuples of indices into Vertices array | |
| TArray< int32 > | TriangleIDs | Optional array of ID tags for triangles. If non-empty, should be same length as Triangles array. | |
| TArray< FIntVector3 > | Triangles | Optional array of triangle corner indices, which should correspond to faces of existing tetrahedra. | |
| TArray< TVec3 > | Vertices | Array of vertex positions |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AppendTet
(
int32 A, |
||
| int32 | AppendTetOriented
(
FIntVector4 Tet, |
||
| void | ExtendBufferSizes
(
int32 AddVertices, |
Extends the various internal buffers to the correct sizes for the given additional element counts | |
| TTetMeshGenerator & | Generate () |
Subclasses implement this to generate mesh | |
| void | Reset () |
Clear arrays so that Generate() can be run again | |
| void | SetBufferSizes
(
int32 NumVertices, |
Set the various internal buffers to the correct sizes for the given element counts |
Typedefs
| Name | Description |
|---|---|
| TVec3 |