[vtkusers] filter that allows only cartesian connectivity?

Burlen burlen at apollo.sr.unh.edu
Wed Aug 23 12:25:26 EDT 2006


Hi Peter, I have run into various issues like yours when working with AMR data 
and VTK. To my knowledge there are no silver bullet classes that can handle 
AMR data appropriately, maybe someone can correct me on that if there is 
something new in 5.0, as I'm still using 4.4. In my experience how you 
convert your data to VTK format is key to getting accurate visualizations. 
You might have to build the connectivity list explicitly or need change the 
cell type being used. For instance, in my numerical code I used cell centered 
data types. In order to visualize I convert these to point data located at my 
cell centers. Then I remove overlaping coarse data retaining only the highest 
resolution data available. I triangulate the resulting point set, and write 
to disk as  vtkPollyData, which can then be visualized using paraview. I have 
had good results with this method, but know it can be improved in a number of 
ways. Take a look at the resulting images 
http://quaoar.sr.unh.edu/chhdf52FlatVtk/index.html#gallery

Hope that helps!

-- 

Burlen Loring
Space Science Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
39 College Road, Durham, NH 03824
Phone: 603-862-1140

On Tuesday 22 August 2006 06:50 pm, Peter J. Bismuti wrote:
> I made a plane cut through a volume grid that is hierarchical (like AMR),
> but when I did a cut through it the result didn't look correct as when it
> guessed how to do the connectivity it sometimes choose to connect two
> points diagonally, so there are lots of diagonal edges in the final image
> and there should be none.  Is there an existing filter that could fix this
> problem?
>
> Thanks
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list