[Paraview] Bad proxy for lookup table

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Dec 23 10:33:55 EST 2014


Anton,

In 3.98.1, pqPipelineRepresentation::setDefaultPropertyValues() made the
decisions about scalar coloring. Stepping through that code for the case
where not coloring is picked by default, may shed some light on it.

Utkarsh

On Tue, Dec 23, 2014 at 10:31 AM, <Anton.Piccardo-Selg at tessella.com> wrote:

>
> Hi Utkarsh,
>
> The version I am using is ParaView 3.98.1. Note that this behaviour is not
> consistent across different data sets. For some data sets the lookup table
> is being loaded, yet the code itself is identical.
>
> I will have a deeper look into what you have said. Thanks for you help
>
> Anton
>
>
> -----Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote: -----
> To: Anton.Piccardo-Selg at tessella.com
> From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
> Date: 12/20/2014 02:24AM
> Cc: ParaView <paraview at paraview.org>
> Subject: Re: [Paraview] Bad proxy for lookup table
>
>
> Anton,
>
> The lookup table would be setup only if scalar coloring was employed.
> Some reason the code is deciding to pick scalar coloring for the
> dataset when being shown in render view, but not so for
> pqMultiSliceView. What version of ParaView is this?
>
> Utkarsh
>
>
>
> On Fri, Dec 19, 2014 at 4:32 AM,  <Anton.Piccardo-Selg at tessella.com>
> wrote:
> > Dear all,
> >
> > When I ask for a lookup table from my representation
> >
> > pqScalarsToColors *lut = repr->getLookupTable();
> >
> > I get a NULL pointer for lut for some data sets. It seems that the proxy
> to
> > get the lookup table does not exist in this case. The same type of data
> set,
> > yet with different entries does not show these issues. I should mention
> that
> > this only happens when the view is a  pqMultiSliceView, not in the
> > pqRenderView.
> >
> > Has anyone seen such a behaviour or knows what the cause of this could
> be?
> >
> > Many thanks and best regards,
> >
> > Anton
> >
> > This message is commercial in confidence and may be privileged. It is
> > intended for the
> > addressee(s) only. Access to this message by anyone else is unauthorized
> and
> > strictly prohibited.
> > If you have received this message in error, please inform the sender
> > immediately. Please note that
> > messages sent or received by the Tessella e-mail system may be monitored
> and
> > stored in an
> > information retrieval system.
> >
> >
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> > http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
>
> This message is commercial in confidence and may be privileged. It is
> intended for the
> addressee(s) only. Access to this message by anyone else is unauthorized
> and strictly prohibited.
> If you have received this message in error, please inform the sender
> immediately. Please note that
> messages sent or received by the Tessella e-mail system may be monitored
> and stored in an
> information retrieval system.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20141223/7b8d51ab/attachment.html>


More information about the ParaView mailing list