[vtkusers] vtkWriter Subclass

Amy Squillacote amy.squillacote at kitware.com
Mon Nov 21 09:25:05 EST 2005


Hi Mike,

In ParaView, the default representation of a vtkImageData object is 
an outline cube.  If you've gotten this far, you have likely loaded 
your data correctly into ParaView.  To change to something other than 
the wireframe view, go to the Display tab, and change the value in 
the representation menu.  After you loaded your data (and got a 
wireframe cube), did you look at the Information tab to see if the 
meta-data for this vtkImageData object was correct (i.e., bounds, 
extents, spacing, range of values in data array)? Did you try running 
a filter on your data?

- Amy

At 12:28 AM 11/21/2005, Mike Jackson wrote:
>I would like to look at some data that has been given to me. The
>format is in ASCII and is a special format (gotta love researchers).
>We have written a parser to get it out of the file and into a
>vtkImageData object. The data represents voxels in a 256x256x256
>grid. The values are either 1 or 0.
>
>Once I get the data exported into some vtk specific file I would like
>to load it up into paraview. I have tried several of the vtk*writer
>classes all with no luck trying to load the file into paraview. The
>most I get is an outline of the model ( a wireframe cube). Could
>anyone offer some ideas on what I might use to accomplish this?
>
>Don't even suggest to write a paraview plugin. I am running OS X
>10.4.3 and I am lucky to just have paraview running, let alone build
>a module for it.
>---
>Mike Jackson
>mike _at_ bluequartz dot net
>
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages 
>on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list