[vtkusers] Converting vtkPolyData to vtkImageData

Manoj Mohadikar manoj_mohadikar at persistent.co.in
Mon Mar 27 23:42:14 EST 2006


Hi

    I have data in vtkPolyData data structure and I used
vtkGreedyTerrainDecimation algorithm. Now I want to render it. At the run
time I am getting the error 

"Input for connection index 0 on input port index 0 for algorithm
vtkGreedyTerrainDecimation(0x09146DE8) is of type vtkPolyData, but a
vtkImageData is required." 

 

Now I need to convert vtkPolydata to vtkImageData. How can I convert this???


Thanks in advance

 

Regards

Manoj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060328/0f445f3b/attachment.htm>


More information about the vtkusers mailing list