[vtkusers] Structured Grid Reading

D.M.P.Davies dmpd at onetel.net.uk
Fri Nov 15 14:23:33 EST 2002


I seem to have a problem with vtkStructuredGridReader.

>From a pipeline using vtkPLOT3DReader I  created an ascii
STRUCTURED_GRID  file with some results.

Now using :

vtkStructuredGridReader  object
    object SetFileName  filename
    object SetScalarsName scalars
    object SetVectorsName vectors

I got the POINT_DATA but not the SCALAR (scalar) or VECTOR (vector)
values which I see stored in the ascii dataset.

i.e.   [[object GetOutput] GetPointData] GetScalars]  returns a null.

Probably something very trivial - would appreciate  suggestions.

Many Thanks

Dave Davies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021115/e846bf1f/attachment.htm>


More information about the vtkusers mailing list