ItemModelAttributeFilter¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLABMLItemModelSupport
definition ItemModelAttributeFilter.def see also ItemModelItemFilter
keywords ItemModel
,item
,model
,proxy
,attribute
,filter
Purpose¶
This module allows to select the attributes of an ItemModel that are passed through.
Usage¶
Enter the attribute names to be filtered (or removed) in Attributes
and connect the ItemModel to be filtered to the inItemModel
input.
Input Fields¶
inItemModel¶
-
name:
inItemModel
, type:
AbstractItemModel(MLBase)
¶ Takes the ItemModel to be filtered.
For accessing this object via scripting see the Scripting Reference:MLAbstractItemModelWrapper
.
Output Fields¶
outItemModel¶
-
name:
outItemModel
, type:
AbstractItemModel(MLBase)
¶ Contains the filtered ItemModel. This will be the input ItemModel if no attributes were given.
For accessing this object via scripting see the Scripting Reference:MLAbstractItemModelWrapper
.
Parameter Fields¶
Visible Fields¶
Attributes¶
-
name:
attributes
, type:
String
¶ Set the list of attribute names (separated by spaces) that are to be passed through/removed from the input ItemModel.
This list is re-evaluated whenever the input ItemModel is replaced. If any attribute names could not be found in the input ItemModel, they are listed in
Unknown Attributes
.
Remove instead of select¶
-
name:
removeAttributes
, type:
Bool
, default:
FALSE
¶ If this flag is set, the attribute names given in
Attributes
are removed from the ItemModel instead of passed through.