title: How to represent voxel volume in VTK file format?
body: <p>I have 3D binary array which represents a volume, where <code>a[x,y,z] = 0</code> indicates no object and <code>a[x,y,z] = 1</code> indicates the object region.</p>
  
  <p>I want to save this as a VTK file and view it in <a href="http://www.paraview.org/" rel="nofollow">ParaView</a>.  What is the simplest way to achieve this? Suggestions for other approaches are welcome.  </p>
  
  <p>I looked through the <a href="http://www.vtk.org/VTK/img/file-formats.pdf" rel="nofollow">VTK file format</a>, but I have not found direct way to achieve what I need, just via other structures.</p>