![]() |
![]() |
![]() |
![]() |
DVcell_labels
Synopsis
extract all cell_names and names from the Cells in a Grid
module DVcell_data_labels {
group+Iparam &in{
group+opt cell_set {
group+opt cell_data {
string+opt labels;
};
};
};
string+Oparam labels[];
int+OPort2+nonotify ncomp =>array_size(labels);
double+Oparam min_data[ncomp];
double+Oparam max_data[ncomp];
method+notify_val+notify_inst upd_cell_data_labels<weight=0>
= "DVcell_data_labels_update";
};Description
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.
Input
Output
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.
Example
Libraries.Main.Filters.extract_component Libraries.Main.Filters.threshold Libraries.Main.Filters.clamp Libraries.Main.Mappers.surf_plot and many others
File
See also
![]() |
![]() |
![]() |
![]() |