[Paraview] Extract cells by region and colors

David E DeMarle dave.demarle at kitware.com
Thu Dec 2 22:27:42 EST 2010


Look at the information tab for both the reader, and the extract filter. Is
the three component scalar (color) array present for both? If so, go the the
Display tab for the extract filter and try turning off "Map Scalars". I
believe that will allow the colors array to be used directly as the color of
the object.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109


On Tue, Nov 30, 2010 at 4:44 PM, Panagiotis Foteinos <pafotein at gmail.com>wrote:

> Hello.
>
> I use Paraview to open a VTK ASCII tetrahedral unstructured grid file which
> has color scalars assigned per cell (tetrahedron). Everything is correct so
> far: I am able to see the different colors on the surface of the
> unstructured grid. That is, the boundary triangles are colored as they ought
> to be according to the scalars of the file.
>
> The problem occurs when I apply the Extract cells by region filter. The
> different colors disappear and only one color is displayed for all cells. Is
> there a way to preserve the different colors per cell after the filter is
> applied?
>
> Regards,
> Panagiotis Foteinos
>
> _______________________________________________
> 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/20101202/06e2df22/attachment.htm>


More information about the ParaView mailing list