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