[vtkusers] XML format help

Brad King brad.king at kitware.com
Thu Mar 20 11:46:44 EST 2003


Hi Randy,

> ERROR: In
> /home/heiland/vtk_Dec17.02/VTK/IO/vtkXMLStructuredDataReader.cxx, line
> 71 vtkXMLRectilinearGridReader (0x824f4b0): RectilinearGrid element has
> no WholeExtent.
[snip]
>   <RectilinearGrid WholeExtent="0.0 30.0  0.0 30.0  0.0 10.0">
>     <Piece Extent="0.0 30.0  0.0 30.0  0.0 10.0">

The extents must be integer values, and do not have geometric meaning.
They are logical coordinates within the grid.  You probably want this:

<RectilinearGrid WholeExtent="0 2  0 2  0 1">
  <Piece Extent="0 2 0 2 0 1">

The geometry is inferred from the coordinate arrays.

-Brad




More information about the vtkusers mailing list