[vtkusers] Scalar field data on polydata

Bill Lorensen wlorens1 at nycap.rr.com
Sat Mar 2 14:16:55 EST 2002


Nils,
I just found the script in vtk4.0. It's in Examples/VisualizationAlgorithms/Tcl/ColorIsoSurface.tcl

Bill

At 02:11 PM 3/2/02 -0500, Bill Lorensen wrote:
>Nils,
>There was an example in vtk3.x, combColorIso.tcl that generated an isosurface and then sampled another grid with the extracted isosurface.
>
>If you can't find it, let me know and I send it to you,
>
>Bill
>
>At 06:26 PM 3/2/02 +0100, Nils H. Busch wrote:
>>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
>>
>>
>>
>>_______________________________________________
>>This is the private VTK discussion list. 
>>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://public.kitware.com/mailman/listinfo/vtkusers 
>
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers 





More information about the vtkusers mailing list