[Paraview] How to color by Cell Data

Michael Jackson mike.jackson at bluequartz.net
Mon Mar 1 09:47:52 EST 2010


Here is a screen shot. I updated to latest cvs and recompiled. Still  
no joy. I even tried saving the data set to a new file, then loading  
the file. No luck there either. Any other suggestions are welcome. I  
do have the data file if you are interested.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: CellDataColor.jpg
Type: image/jpeg
Size: 37281 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100301/78fbc749/attachment-0001.jpg>
-------------- next part --------------


___________________________________________________________
Mike Jackson                      www.bluequartz.net


On Feb 28, 2010, at 2:01 PM, J?r?me wrote:

> Well, I just updated my worktree with the latest CVS. The problem  
> remains,
> both in debug and release. Note that Yum (package manager of Fedora)
> installs qt-4.6.2.
>
> I will trace the code tomorrow monday.
>
> Jerome
>
> 2010/2/28 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
> That is weird. I am on Mac with Qt 4.6.0, Cocoa and the latest CVS
> ParaView and I see both point "Ids" and cell "Ids" in the Color By
> menu. I'll test it out with my linux box at work tomorrow.
>
> Utkarsh
>
> On Sun, Feb 28, 2010 at 9:44 AM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
> >  Maybe it is Qt versions or ParaView versions? I am using Qt 4.6.1  
> compiled
> > for Cocoa on OS X 10.5.8 Intel. I am using ParaView from <url =
> > git://github.com/Kitware/ParaView.git> which was last updated  
> about a week
> > ago. When I get to the office on Monday I can try the same with  
> ParaView
> > 3.6.2 and see if the problem persists.
> >
> >  As far as Data, I _could_ share it, but like Jerome stated, you can
> > reproduce it with a simple sphere source, then "Generate Normals".  
> The
> > complete source code can be found here:
> >
> > <href=http://www.bluequartz.net/cgi-bin/gitweb/gitweb.cgi?p=PVMXADataModel.git;a=blob;f=Source/Server/CrystalInterfaceColoringFilter/vtkCrystalInterfaceColoringFilter.cpp;hb=de5d94a3a128a08a534230deca9057e4e57d0358 
> >
> >
> >
> > _________________________________________________________
> > Mike Jackson                  mike.jackson at bluequartz.net
> >
> > On Feb 28, 2010, at 7:51 AM, J?r?me wrote:
> >
> >> Hi,
> >>
> >> I confirm the problem: even with your script, CELL_DATA are not  
> enabled.
> >> They don't appear in the "Color by" combo box, but the cell Ids are
> >> present
> >> in the Information panel. It works as expected when I try with  
> POINT_DATA.
> >>
> >> I just had a doubt: Qt has been updated to 4.6 recently on my  
> computer,
> >> and
> >> I don't know if my ParaView is up-to-date according to this...
> >>
> >> Let's update, compile, wait and see.
> >>
> >> Jerome
> >>
> >> 2010/2/28 Favre Jean <jfavre at cscs.ch>
> >>
> >> Hi,
> >> I noted this problem a few days ago.
> >> A *really* simple example:
> >> - Add a SphereSource
> >> - Connect to a "Generate Ids" filter
> >> - Update: The information panel shows a 'Ids' array for points  
> and for
> >> cells, but
> >> the "Color by" doesn't give the choice of cell array.
> >>
> >> Jerome
> >> -----------------
> >>
> >> I cannot reproduce the problem. The following code works exactly as
> >> expected and enables the coloring by POINT_DATA or CELL_DATA
> >>
> >> sph1 = Sphere()
> >> genid1 = GenerateIds(Input=sph1)
> >> rep1 = Show(genid1)
> >> rep1.ColorArrayName = 'Ids'
> >> rep1.ColorAttributeType = 'CELL_DATA'
> >>
> >> ----------------
> >> Jean M. Favre
> >> Swiss National Supercomputing Center
> >
> > _______________________________________________
> > 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
>



More information about the ParaView mailing list