title: Reading vtk dataset dimensions without loading it
body: <p>I'm looking for a way to read the dimensions of a STRUCTURED_GRID vtk dataset without loading its contents (the file is large and it takes time). I could actually read the first lines of the file and access that information, but there must be a cleaner way that uses vtk readers, right?</p>
  <p>Python code that shows what I'm trying to obtain but is slow for large files:</p>
  <pre><code>from vtk import vtkDataSetReader
  
  reader = vtkDataSetReader()
  reader.SetFileName('file.vtk')
  reader.Update()
  vtk_output = reader.GetOutput()
  print(vtk_output.GetDimensions())
  </code></pre>