title: Paraview: Store representation in VTK-XML
body: <p>I'm not 100% sure this belongs on SO, please move if not.</p>
  
  <p>Anyway, I have a program whose data I want to store as a VTK-XML, so that it can be viewed in ParaView. ParaView defaults to certain representations of data (Surface, Wireframe, Points, Slice, etc.) depending on the file type.
  Is there an attribute in the XML that I can set, which tells/forces ParaView to choose a certain representation?
  Specifically, my ParaView 5.2 defaults to "Slice" for ImageData, but I'd rather have "Surface With Edges", because at that stage, it's purely geometrical/topological data. Therefore, no CellData/PointData is available for texturing and that's the error ParaView outputs.</p>
  
  <p>Here's a very simple example XML which causes that issue:</p>
  
  <pre><code>&lt;VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"&gt;
      &lt;ImageData WholeExtent="0 3 0 3 0 0"
      Origin="0 0 0" Spacing="0.5 0.5 0"&gt;
      &lt;/ImageData&gt;
  &lt;/VTKFile&gt;
  </code></pre>