Class: LayerSelection

MLJ.gui.Param. LayerSelection

Layer selection widget, allows to pass an arbitrary layer as a filter paramter.

Constructor

new LayerSelection(flags)

Parameters:
Name Type Description
flags flags
Source:

Methods

getSelectedLayer() → {MLJ.core.Layer}

Returns a reference to the MLJ.core.Layer object of the layer currently selected from the widget.

Source:
Returns:
Type
MLJ.core.Layer

getSelectedPtrMesh() → {Module.CppMesh}

Returns a pointer to the cppMesh corresponding to the layer currently selected from the widget. Useful to pass this value in plugins when calling the module cpp functions.

Source:
Returns:
Type
Module.CppMesh