class MAGES::MeshDeformations::Editor::TetrahedralizationEditorWindow¶
Overview¶
An editor window that runs a registered Tetrahedralization implementation over a Mesh and writes the result to a .msh asset (which the TetrahedralMeshImporter then imports as a TetrahedralMesh). More…
class TetrahedralizationEditorWindow: public EditorWindow
{
public:
// methods
static void OpenWindow();
static void OpenWindowFromAsset();
static bool ValidateOpenWindowFromAsset();
};
Detailed Documentation¶
An editor window that runs a registered Tetrahedralization implementation over a Mesh and writes the result to a .msh asset (which the TetrahedralMeshImporter then imports as a TetrahedralMesh).
Methods¶
static void OpenWindow()
Opens an empty tetrahedralization window from the top menu.
static void OpenWindowFromAsset()
Opens the window from an asset right-click, pre-filling the mesh field with the selected mesh.
static bool ValidateOpenWindowFromAsset()
Validates the asset right-click item: only enabled when a Mesh is selected.
Returns:
true when the active selection is a mesh.