Hi,<br>I noted this problem a few days ago.<br>A *really* simple example:<br>- Add a SphereSource<br>- Connect to a "Generate Ids" filter<br>- Update: The information panel shows a 'Ids' array for points and for cells, but<br>
the "Color by" doesn't give the choice of cell array.<br><br>Jerome<br><br><div class="gmail_quote">2010/2/28 Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That's weird, your cell array should have been listed in the Color By<br>
menu. Is it possible to share the data or a small sample to reproduce<br>
the issue?<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Sat, Feb 27, 2010 at 11:09 AM, Michael Jackson<br>
<<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
> I have a triangle surface mesh that contains Cell based RGB attribute array.<br>
> I would like to color by that array, ie, not using a Lookup table or<br>
> interpolation. When I load my data set the cell data is listed, but in the<br>
> "color by" drop down list the scalar array is not listed as a choice.<br>
><br>
> On a "whim" I then ran the "Cell Data to Point Data" filter on the data. At<br>
> that point I was able to select the scalar array to "Color By" and the<br>
> surface mesh now has the correct colors.<br>
><br>
> I know if I were to code this up in straight VTk I can set the rendering to<br>
> be by Cells:<br>
><br>
> vtkPolyDataMapper *cubeMapper = vtkPolyDataMapper::New();<br>
> cubeMapper->SetInput(filter->GetOutput());<br>
> cubeMapper->SetScalarVisibility(1);<br>
> cubeMapper->SetScalarModeToUseCellData();<br>
><br>
> How do I get the same effect in ParaView?<br>
><br>
> Thanks<br>
> _________________________________________________________<br>
> Mike Jackson <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
> BlueQuartz Software <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
> Principal Software Engineer Dayton, Ohio<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>