<div dir="ltr">Hi Dmitry,<div><br></div><div>What is wrong with the lookup tables that ParaView makes for you with the xdmf file? Regardless of the file format, once ParaView opens the data it just sees sets of arrays really and the GUI lets you create and assign lookup tables.<br></div><div><br></div><div>The .vtk file format's ability to store a lookup table near the data values is an anachronism in my opinion. I would be surprised if ParaView respects it actually. Instead ParaView's approach is to treat the data as data and give you ways to save off an restore lookup tables and other visualization parameters independently of the data (state files for example).</div><div><br></div><div>cheers</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Sun, May 24, 2015 at 3:58 PM, Dmitry Grebennikov <span dir="ltr"><<a href="mailto:dmitry.ew@gmail.com" target="_blank">dmitry.ew@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Droid Sans">Sorry for several messages in a row.<br>
Maybe you could also point me to another format which would
support color lookup tables, time-steps with unchanged grid.<br>
</font>
<div><br>
<br>
-------- Forwarded Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">Subject:
</th>
<td>Fwd: XDMF and Lookup Tables</td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">Date: </th>
<td>Sun, 24 May 2015 22:27:06 +0300</td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">From: </th>
<td>Dmitry Grebennikov <a href="mailto:dmitry.ew@gmail.com" target="_blank"><dmitry.ew@gmail.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">To: </th>
<td><a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></td>
</tr>
</tbody>
</table><div><div class="h5">
<br>
<br>
<font face="Droid Sans">Or maybe there is a way to program such a
filter, which would color the cells of the grid in a 'proper'
way?</font><br>
Instead of usage of LUT and categorical colormaps...<br>
<div><br>
<br>
-------- Forwarded Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">Subject:
</th>
<td>XDMF and Lookup Tables</td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">Date:
</th>
<td>Sun, 24 May 2015 22:05:44 +0300</td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">From:
</th>
<td>Dmitry Grebennikov <a href="mailto:dmitry.ew@gmail.com" target="_blank"><dmitry.ew@gmail.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">To: </th>
<td><a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<font face="Droid Sans">Hello!<br>
Could you please help me with the following problem:<br>
<br>
For my purposes I need to store unchanged Unstructured Grid
across several time steps.<br>
At each time step the Scalars array for CellData is modified.<br>
I found out that if I can use the XDMF format in order not to
have to write the same Grid at each time step into new .vtk
file.<br>
<br>
But unfortunately it seems to be that in XDMF it is impossible
to use Lookup Tables to color the Scalars array in the proper
way to build the desired animation...<br>
Am I right or may be I missed this possibility?..<br>
<br>
I think also that I might try to use the manually specify
color lookup table in Paraview using "Interpret Values as
Categories" in Color Map Editor.<br>
It would be brilliant if it worked, but I </font><font face="Droid Sans"><font face="Droid Sans">also </font>need to
specify the alpha (transparency) for colors of categories,
which seems to be unavailable feature...<br>
<br>
Could you please give me a hint on either 1) how to specify
Lookup Tables when using XDMF or 2) how to add transparency
for categorical colormaps in Paraview?<br>
<br>
Thanks in advance!<br>
<br>
Dmitry Grebennikov<br>
</font> <br>
</div>
<br>
<br>
</div></div></div>
<br>
</div>
<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>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>