[Paraview] Bug in Color Scale

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Wed Dec 3 19:00:45 EST 2008


Thanks for the guideline. I'll try your suggestion once I succeed to replicate the problem.
Indeed, the biggest problem is to replicate the problem :(

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


From: "Moreland, Kenneth" <kmorel at sandia.gov>
Subject: Re: [Paraview] Bug in Color Scale
Date: Wed, 3 Dec 2008 10:53:31 -0700

> OK.  It sounds like the range is properly being computed, but the range is not getting to
> the lookup table.  If you are able to replicate the problem and capable of running a debug
> version of ParaView in a debugger, you might be able to narrow this down a bit more by
> setting a breakpoint at pqPipelineRepresentation::resetLookupTableScalarRange().
> 
> Another possibility that occurred to me is that the rescale operation is performed on the
> selected variable for the selected object in the pipeline browser.  Furthermore, all
> variables with the same name are synchronized to the same color range.  Thus, you could
> see this kind of behavior if you have the wrong item selected in the pipeline browser.
> 
> -Ken
> 
> On 12/2/08 5:20 PM, "Takuya OSHIMA" <oshima at eng.niigata-u.ac.jp> wrote:
> 
>     Just for an additional info, here's what I got from the user in
>     response to my query. The array range seems to be set correctly.
>    
>     > "Do you have any additional information that may help the developers
>     > reproduce the problem (platform, specific procedure to reproduce the
>     > problem, etc)?" -
>     >
>     >  - Regarding the platform I copied the OS Information of sysinfo:
>     >
>     >   OS:  Linux 2.6.22.19-0.1-default x86_64
>     >   System:  openSUSE 10.3 (x86_64)
>     >   KDE:  3.5.7 "release 72.9"
>     >
>     >  - Regarding a specific procedure - I would say there is none
>     >       (-Selecting the *.foam file
>     >        -In Display switch to pressure "p"
>     >        -Show legend
>     >        -Rescale)
>     >
>     > But now back to the question in the current Email...
>     >
>     > The information panel shows a range of [56784.4, 84151.5] for p, hence
>     > the correct range. (While the color range is still showing [0;1]).
>    
>     Takuya OSHIMA, Ph.D.
>     Faculty of Engineering, Niigata University
>     8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>    
>     From: Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
>     Subject: Re: [Paraview] Bug in Color Scale
>     Date: Tue, 02 Dec 2008 23:19:40 +0900
>    
>     > I appreciate your response. I have just sent a query about the values
>     > repoted in the Information panel to the user. Meanwhile I skimmed
>     > through pqPipelineRepresentation and its relevant classes but haven't
>     > found anything suspicious so far.
>     >
>     > Takuya OSHIMA, Ph.D.
>     > Faculty of Engineering, Niigata University
>     > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>     >
>     > From: "Moreland, Kenneth" <kmorel at sandia.gov>
>     > Subject: Re: [Paraview] Bug in Color Scale
>     > Date: Mon, 1 Dec 2008 15:44:31 -0700
>     >
>     > > I’m running out of things to suggest.  The only problem I can think of (and
>     > > this is a stretch) is that somewhere the range in the data array is being
>     > > incorrectly set either by some rouge call to the information object or because
>     > > the data in the array changes without the vtkDataArray object being aware of
>     > > it.  Does anyone else have any ideas?  Berk?  Utkarsh?
>     > >
>     > > What range of values is reported in the Information panel?  Is it giving the
>     > > correct range, or the range used in the color scale?
>     > >
>     > > -Ken
>     _______________________________________________
>     ParaView mailing list
>     ParaView at paraview.org
>     http://www.paraview.org/mailman/listinfo/paraview
> 
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********  
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      web:   http://www.cs.unm.edu/~kmorel
> 


More information about the ParaView mailing list