[vtkusers] Best vtkWriter Subclass to use

Peter F Bradshaw pfb at exadios.com
Wed Nov 23 10:01:04 EST 2005


Hi Mike;

On Mon, 21 Nov 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?

Seems to me that you need to be using a vtkStructuredPointsWriter with
integer data.

>
> 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.
>

Cheers

-- 
Peter F Bradshaw, http://www.exadios.com, ICQ 75431157 (exadios).
Public key at www.exadios.com/pfb.pgp.key and www.exadios.com/pfb.gpg.key
"I love truth, and the way the government still uses it occasionally to
 keep us guessing." - Sam Kekovich.



More information about the vtkusers mailing list