[Paraview] How to color by Cell Data

Jérôme jerome.velut at gmail.com
Wed Mar 3 10:30:06 EST 2010


By my side, yes: SphereSource -> GenerateIds. You are right: Information
tab shows the celldata and pointdata array, whereas "Color by" has only
point.

Jerome

2010/3/3 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>

> Mmm..not sure if that'd help, since you said you can reproduce the
> issue with GenerateIds filter as well, right?
>
> Utkarsh
>
> On Wed, Mar 3, 2010 at 9:51 AM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
> > Do you want my data file?
> >
> > Mike J.
> >
> > On 3/3/2010 9:28 AM, Utkarsh Ayachit wrote:
> >>
> >> Mike, but the cell data shows up correctly on the information tab,
> >> right? So the cell data is being loaded, and even reported to
> >> ParaView. It's hard to imagine why it would be doing what it's doing,
> >> esp. with the precompiled binaries on Mac, since they work fine for
> >> me, on my Mac 10.6  :).
> >>
> >> It cannot be a mere GUI issue since from the debugging report that
> >> Mike gave us before, ParaView indeed doesn't report those cell arrays
> >> to the client when rendering. I just wish I could reproduce it somehow
> >> somewhere so I could debug it  :). I am going to test on Os X 10.5 to
> >> see if we have any better luck.
> >>
> >> Utkarsh
> >>
> >> On Wed, Mar 3, 2010 at 9:23 AM, Eric E. Monson<emonson at cs.duke.edu>
> >>  wrote:
> >>
> >>>
> >>> Mike, is it possible that it's a problem related to OS X 10.5? I know
> >>> Jérôme is having some trouble with Fedora, but I can't reproduce the
> issue
> >>> on Snow Leopard or Ubuntu (both x86_64 builds). Which architecture are
> you
> >>> building PV and Qt for?
> >>>
> >>> -Eric
> >>>
> >>> On Mar 3, 2010, at 9:09 AM, Michael Jackson wrote:
> >>>
> >>>
> >>>>
> >>>> I have tried clean builds on ParaView CVS and ParaView 3.6.2 OS X with
> >>>> Qt versions 4.5.3 and Qt 4.6.2 both carbon and Cocoa and none of that
> >>>> alleviates the problem. Not even the precompiled binary from Kitware's
> web
> >>>> site works correctly. It does work perfectly fine on windows though.
> >>>>
> >>>>  I wonder where the loading of the file takes place. I have a feeling
> >>>> something is not loading the cell data correctly. Maybe.
> >>>>
> >>>> --
> >>>> Mike Jackson
> >>>>
> >>>> On 3/3/2010 3:01 AM, Jérôme wrote:
> >>>>
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> After full updates on 2 computers (personal and office) both running
> >>>>> fedora 12,
> >>>>> the problem persists... on one of them only! The sadness is that the
> >>>>> personal
> >>>>> one is concerned, so I cannot debug efficiently.
> >>>>>
> >>>>> The point is that I didn't perform a comprehensive clean on my built
> >>>>> tree. This
> >>>>> is the next step.
> >>>>>
> >>>>> Jerome
> >>>>>
> >>>>> 2010/3/1 Michael
> >>>>> Jackson<mike.jackson at bluequartz.net<mailto:
> mike.jackson at bluequartz.net>>
> >>>>>
> >>>>>    So I figured out where the problem lies, but not what the actual
> >>>>>    problem is:
> >>>>>
> >>>>>    QList<QString>  pqPipelineRepresentation::getColorFields()
> >>>>>    ....
> >>>>>    for(int i=0; i<cellinfo->GetNumberOfArrays(); i++)
> >>>>>
> >>>>>    that loop is 0 to 0 on OS X and 0 to 2 on Windows. But using the
> >>>>>    exact same data file. So for some reason the OS X version is NOT
> >>>>>    storing/updating something properly. Odd.
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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://www.paraview.org/mailman/listinfo/paraview
> >>>>
> >>>
> >>> _______________________________________________
> >>> 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://www.paraview.org/mailman/listinfo/paraview
> >>>
> >>>
> >
> > _______________________________________________
> > 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://www.paraview.org/mailman/listinfo/paraview
> >
> _______________________________________________
> 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://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100303/80b07f74/attachment-0001.htm>


More information about the ParaView mailing list