[Paraview] Structured Files and Bounds?

oz dwwork at gmail.com
Thu Jun 12 14:36:40 EDT 2014


Yep. That's what I was missing. Thanks!

Dalon

P.S. How embarrassing. I spelled my own name wrong.

On 06/12/2014 12:31 PM, Insley, Joseph A. wrote:
> Daon,
>
> In the vti format, the Whole Extent and Piece Extent are integers, and refer to indices of the cells in each dimension, while Spacing refers to the spacing between each cell.  Looking at your vti file, your extents are 0 to 1, which results in one cell, which goes from 0.0 to 0.125.  If your intent is to have multiple cells, which have a total bounds of 0.0 to 1.0, with a spacing of 0.125 between cells, change your extents to be 0 8, rather than 0 1.
>
> Hope that helps,
> joe
>
>
>
> <?xml version="1.0"?>
> <VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
> <ImageData WholeExtent="0 1 0 1 0 1" Origin="0 0 0" Spacing="0.125 0.125 0.125">
> <Piece Extent="0 1 0 1 0 1">
> </Piece>
> </ImageData>
> </VTKFile>
>
>
> On Jun 12, 2014, at 1:08 PM, oz wrote:
>
>> Hi,
>>
>> I am attempting to write a structured mesh, which I've attached. When I open it in paraview, only the first cell is displayed. When I look in the information panel, the extent is correct, but the bounds only shows the bounds of the first cell, and only the first cell is displayed. This happens for ImageData, RectilinearGrids, and StructuredGrid. I am really at a loss as to what is going on. I am using Paraview 4.1.0. Any help will be greatly appreciated.
>>
>> Daon
>> <snapshot1.png><output11.vti>_______________________________________________
>> 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://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list