[Paraview-developers] Get the colorArrayName in CustomRenderView

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Mar 13 13:33:59 EDT 2012


Views don't have access to the coloring arrays. The array names are
specified on the representations. Your view will have to look at the
representations to determine what arrays they are coloring with.

Utkarsh

On Tue, Mar 13, 2012 at 1:32 PM, Pandu tech <pandu4tech at gmail.com> wrote:
>
> Hi All,
>
> In my customRenderview, I would like to get the text of ColorByArray that is
> changed.
>
> I observed that in pqDisplayColorWidget class, we have
> onVariableChanged(pqVariableType type,  const QString& name) slot which gets
> executed whenever the arrayname is changed.
>
> pqDisplayColorWidget class has getCurrentText() method which returns the
> currentText( ) of the comboBox.
>
> I tried the same but unable to fetch the Arrayname in my customRenderView.
>
> Please let me know your suggestions.
>
> Appreciate your help in this regard.
>
> Thanks in Advance,
> Pandu
>
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>


More information about the Paraview-developers mailing list