Skip to content

WIP: Decorate two-level summary phrases

David Thompson requested to merge dcthomp/smtk:more-decorum into master

@tjcorona @bob.obara Here is some progress on editing default colors via the resource panel summary phrases when the "two-level" subphrase generator is selected. It should also illustrate how you might control visibility of all faces/edges.

What's left to get the coloring working:

  1. The vtkSMTKResourceRepresentation needs to use its DefaultFaceColor and DefaultEdgeColor ivars (automatically synced to the global color palette) when coloring by entity-color and the entity has no color.
  2. Figure out why the GET_VALUE method is not returning a usable color (and thus no background color is shown in the resource panel).

I'll do my best to finish this up, but have sensei fires to put out.

Merge request reports