[vtkusers] Scalar field data on polydata

Nils H. Busch nilsb at cns.mpg.de
Sat Mar 2 12:26:42 EST 2002


Hi,

I would like to display/map  scalar data onto a polydata
surface(generated from vtkMarchingCubes).
I am reading in a vtkStructuredPoint set, extract the isosurface with
vtkMarchingCubes and write the vtkPolyData to file. Now, I would like to
read in another vtkStructuredPoint set and map that onto the polydata
surface (probably needs to be tri-linearly interpolated ).
I am not quite sure, where I should add this extra scalar field in my
pipeline.
Can I add a second scalar data set within vtkMarchingCubes, can I
somehow project the scalar data onto the output polydata  or do I need
to traverse the inner data structures of the respective vtk data sets
and set some associated data array ?

This has probably been done before, but I could not find any examples.
Any references or hints greatky appreciated.

--
    Nils H. Busch
    Max-Planck-Institute of Cognitive Neuroscience
    phone:  ++49 (341) 9940-335 fax:  ++49 (341) 9940-204
    e-mail: nilsb at cns.mpg.de






More information about the vtkusers mailing list