[vtkusers] How to paint(colorwash) the surface of an object(vtkPolyData) using values from a vtkImageData

Bill Lorensen bill.lorensen at gmail.com
Thu Feb 28 15:02:59 EST 2008

You can use vtkProbeFilter to assign scalars to points. Specify the
image data as the source.

On Thu, Feb 28, 2008 at 2:36 PM, hdp203 <hdp203 at yahoo.com> wrote:
>  Hi,
>  I have a vtkPolyData object and a vtkImageData object.
>  The vtkPolyData object contains a set of triangles (polys) to makeup a
>  surface of an object in 3D.
>  The vtkImageData object (in the same coordinate system as vtkPolyData
>  object) contains a 3D array of floats.
>  I want to paint(color wash) the surface of vtkPolyData object using the
>  floating point values from the 3D array.
>  Is it doable in vtk?
>  Can someone please tell me which filter(s) to use to accomplish this?
>  Thank you,
>  hdp.
>  --
>  View this message in context: http://www.nabble.com/How-to-paint%28colorwash%29-the-surface-of-an-object%28vtkPolyData%29-using-values-from-a-vtkImageData-tp15744115p15744115.html
>  Sent from the VTK - Users mailing list archive at Nabble.com.
>  _______________________________________________
>  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