<div dir="ltr"><div>Sorry for another email. Except adding two macros using vtk 6.0, I change a function SetInput() in vtk 5.7 to SetInputData() in vtk 6.0 as <a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput">http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput</a> said. I think this should not be the issue. Anyway, there are only these places I make changes from vtk 5.7 to vtk 6.0.<br>
<br></div>Thanks again.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 5:42 PM, Chao Liang <span dir="ltr"><<a href="mailto:chaolian@mtu.edu" target="_blank">chaolian@mtu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
Please attached files. The same code, it works in vtk 5.7 but not in vtk<br>
6.0.<br>
I don't know what the problem is.<br>
<br>
Here is what I did in my code:<br>
----------------------<br>
| | |<br>
| | |<br>
| | |<br>
----------------------<br>
As shown above, the data set is two cubes and they share the same surface.<br>
I made a vtkMultiBlockDataSet like this:<br>
<br>
along x dir, 4 lines, each line I set it to be a block;<br>
along y dir, 6 lines, each line I set it to be a block;<br>
along z dir, 6 lines, each line I set it to be a block.<br>
<br>
Then just as normal, set up renderWindow, renderer, actor etc. Note: I did<br>
add macros in vtk 6.0, and FYI, I did successfully show up another<br>
vtkMultiBlockDataSet, i.e., 2 cubes, but they don't share any surface.<br>
<br>
So, my question is : Why it shows up in vtk 5.7 but not in vtk 6.0? Is it<br>
possible somehow vtk 6.0 does not support this kind of vtkMultiBlockDataSet<br>
(i.e., have shared surfaces, points) rendering ?<br>
<br>
Any help is appreciated. Thanks.<br>
<span class="HOEnZb"><font color="#888888"><br>
Chao<br>
</font></span></blockquote></div><br></div>