Skip to content
Snippets Groups Projects

Add assign colors operator and UI.

Merged David Thompson requested to merge dcthomp/smtk:assign-colors into master
  • Add an "assign colors" operator that associates with almost any entity type and assigns all the colors it is provided to the entities in round-robin fashion. Colors are specified using an extensible StringItem that holds HTML-formatted hexadecimal RGB (or RGBA) color specifiers. If no colors are provided, then the entities are marked with the "invalid" color so they will inherit the default color.
  • Add a new library, smtkPQOperatorViewsExt to hold custom ParaView operator views.
  • Add a new operator view for "assign colors" that uses ParaView's color and color palette choosers to populate the "colors" parameter of the operator with values. The view also uses Qt's settings object to remember the last color and palette chosen by the user across sessions.
  • This also fixes several issues discovered while debugging "assign colors."

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading