Hi all,
I’m working on a custom 3-D widget and don’t understand how to make it display data using a colormap that PV users can edit.
-
The interactive widget inherits pqInteractivePropertyWidget and has proxy that owns a vtkWidgetRepresentation. Is there a way for it to use (and allow users to edit) a colormap? It appears that only pqPipelineSource objects are expected to have a pqDataRepresentation and that is the only place I see lookup tables being set.
-
Is there a way to fetch a colormap from the
pqColorMapEditor
instance? It doesn’t look like the editor panel provides a way to examine colormaps, so I don’t see a way for the widget to either request a lookup table from the panel nor ask the panel to present a colormap to users for editing. Is the only solution to have my widget create a pqPipelineSource and representation so the colormap editor can run?