I believe the reader is missing the BlankCells( http://www.vtk.org/doc/nightly/html/classvtkAMRUtilities.html#a6656bada8c6d01b43e15299567af7657) call. If I remember correctly, the blanking cells generated by vtkImageToAMR.cxx get lost when the data is saved to disk (since we don't have a "true" vtkUniformGrid writer, we just write it out as vtkImageData in the vth writer. As a result the blanking arrays need to recomputed on reading back in.
Mind reporting a bug for this? Thanks. Utkarsh On Mon, Jul 21, 2014 at 9:59 AM, Henry Lehmann < henry.lehm...@informatik.tu-freiberg.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Paraview Users, > > i am recently working with vtkOverlappingAMR. i set up one of this > data sets using the "Image to AMR" filter in paraview, which basicly > creates an octree with 4 levels and 512 blocks on level 4 in my setup. > so i basicly converted mydata.vti into mydata.vth. > > now i want to use mydata.vth in order to quickly calculate the result > of an arbitrary pipeline and save time adjusting the parameters of the > pipeline. i want to adjust the parameters on level 0 and then increase > the level to see the full resolution result. > > for example i have the pipeline: mydata.vth (vtkOverlappingAMR) -> AMR > Cut Plane. now i move the cut plane and apply to see the result. when > increasing the level from 1 to 2 in the reader i get a strange result. > it looks like paraview doesnt remove the regions in which the amr > levels overlap. this means the amr cut plane cuts out the data on > level 0 and on level 1. Since Image to AMR creates an octree in which > all lower levels are overlapping with higher ones, the lower levels > always cover the higher resolution results when setting the level > above 1 in the amr reader. > > how can i fix this? > > Best regards, > Henry > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJTzRzaAAoJEM0zIsxevdB2dt0H/RoNtiBcpmvl8jmqqCdQXRm9 > PeUCcNw57sZHF3H8Wcl18vL8Vz/38h+T9JcpWEDEj33atElRHeKfXXkpMkaxz9qN > YJKvTgPh4i94v7mfg+LnQk4LvgiTIv/3cYwD5mz2ga5EMC/FflLuZluR46JllZLi > AS+arxbVEIW5yqEMFlrEtLoItqXkLIVUCjdfTbbfEmaBW1w73rA4/7tSVW7LaSKi > yMt8qPOgVTis89dSN1v/d750X7Rz0HLZGmFz0QdasLJy9PHBaFo6Uz8mjEH0hJ5t > kZdxZISIpxxl9GQNDKwZVRF6t1h8MqyOPwhQEjQHJOnHkbWS927xjyezn/8rDv0= > =K0aa > -----END PGP SIGNATURE----- > _______________________________________________ > 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://public.kitware.com/mailman/listinfo/paraview >
_______________________________________________ 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://public.kitware.com/mailman/listinfo/paraview