[Paraview-developers] Access to the color legend and its modification
Maxim Glibin
maxim.glibin at gmail.com
Fri Dec 12 10:03:30 EST 2014
I mean that if you use simple plugin that was sent by you earlier, the
button is not shown.
And moreover, constructor of CustomColorEditorPropertyWidget widget is not
even called.
Did I miss out something?
2014-12-12 17:30 GMT+03:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:
> > This plugin doesn't display the button and even doesn't create it until
> this widget will not be defined in the proxy group representation of
> plugin, does it?
>
> My apologies, but I don't follow what you mean by this statement.
>
> Any case, you're extending "UnstructuredGridRepresentation", so when
> showing a vtkUnstructuredGrid dataset, your "MyRepresentation" would
> be created and you'll see a "Annotation" option available under the
> "Representation" combo-box. Now, the <ExposedProperty> section you
> have is not necessary (and is indeed written incorrectly) since your
> representation is sharing are several properties with
> "SurfaceRepresentation", including those for coloring. The
> "UnstructuredGridRepresentation" is already exposing appropriate
> properties from "SurfaceRepresentation" with property PropertyGroup
> declaration so the "ColorEditor" widget will indeed be created just
> fine.
>
--
Yours Sincerely,
*GLIBIN Maxim O.* - Developer
Phone : +7 (987) 533 00 55
Email: maxim.glibin at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20141212/c4269e1e/attachment.html>
More information about the Paraview-developers
mailing list