Glyph filter refactor
From #17304 (closed), here is a description of changes to be made to the Glyph filter:
Get rid of active attributes the way it is shown above. Instead, add properties "Orient Glyphs By" and "Scale Glyphs By" so it is clearer which array is used for which purpose. Both should have an option for "None". We will remove the "Orient" property and "Scale Mode" property as these are handled by the new properties. (Note: We will need to figure out how to handle the "vector_components" "Scale Mode").
Under "Scale Glyphs By", we will have a property showing the data range of the array chosen for "Scale Glyphs By" (let's call it "Data Range"). This will have buttons for resetting to data range or resetting to temporal range.
To control the glyph size, we will have another property that sets the minimum and maximum glyph size. Defaults for these sizes will be zero for the minimum size and a fraction of the current data bounding box size. The minimum data range value will map to the minimum glyph size. Similarly, the maximum data range will map to the maximum glyph size. Data values below/above the data range will be clamped to the data range.
Related issues to address during the refactor:
-
#17304 (closed) -
#18002 -
#17775 (closed) -
#16986 (closed) -
#15467 (closed) -
#17838 (closed) -
#15924 (maybe) -
#17566 (closed) (maybe) -
#14084 (maybe)