extract all cell_names and names from the Cells in a Grid
group DVcell_data_labels {
group+Iparam &in{
group+opt cell_set {
string+opt cell_name;
string+opt labels;
};
};
string+Oparam labels[];
int+Oparam nsets => array_size(labels);
method+notify_val+notify_inst upd_cell_labels = "cell_labels";
};
DVcell_labels extracts all of the cell_names ("Tri," "Hex2," etc.) and names (user-defined strings) in all Cell_Sets in the Cells portion of a Grid. It stores them in a single string array. This string array (along with the nsets value) can be used as inputs to a UIoptionBoxLabel widget and DVselect_cells so that the user can pick which Cell_Sets, by cell_name (type) and name (user-defined label), he/she wants a downstream object to work on.
A reference to a field containing a Grid with Cells.
An string array object. The array is as long as the ncell_sets. The strings are stored: "cell_name name". If no cell_name is found, it is set to "Set". If no name is found, it is left empty.
An integer representing the length of the labels array (ncell_sets).
Libraries.Main.Filters.extract_component
Libraries.Main.Filters.threshold
Libraries.Main.Filters.clamp
Libraries.Main.Mappers.surf_plot
and many others