<div dir="ltr">Your grid has 2x2x2 points which means it has 1x1x1 cells.<div>You'll need 3x3x3 points to get 2x2x2 cells.</div><div><br></div><div>Dan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 24, 2015 at 3:18 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">
Hello!<br>
<font face="Droid Sans"><br>
What I want to be displayed as an illustration of LUT usage is the
cube composed of 8 multicolored cubes...</font><br>
Could you please explain me the following error, which I get trying
to load the corresponding vtk file?<br>
<br>
> ERROR: In
/home/coincoin/build/paraview/src/ParaView-v4.3.1-source/VTK/IO/Legacy/vtkStructuredGridReader.cxx,
line 285<br>
> vtkStructuredGridReader (0x4d0f700): Number of cells don't
match!<br>
<br>
The file in ASCII format is the following:<br>
<font face="Droid Sans">
<br>
# vtk DataFile Version 2.0<br>
header<br>
ASCII<br>
DATASET STRUCTURED_GRID<br>
DIMENSIONS 2 2 2<br>
POINTS 8 int<br>
0 0 0<br>
1 0 0<br>
0 1 0<br>
1 1 0<br>
0 0 1<br>
1 0 1<br>
0 1 1<br>
1 1 1<br>
CELL_DATA 8<br>
SCALARS scalars int 1<br>
LOOKUP_TABLE mytable<br>
1 2 3 4 5 6 7 8<br>
LOOKUP_TABLE mytable 8<br>
0 0 0 1<br>
1 0 0 1<br>
0 1 0 1<br>
1 1 0 1<br>
0 0 1 1<br>
1 0 1 1<br>
0 1 1 1<br>
1 1 1 1<br>
<br>
Thank you in advance!<span class="HOEnZb"><font color="#888888"><br>
<br>
Dmitry Grebennikov<br>
</font></span></font>
</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>