[vtkusers] vtkDataArray to vtkDataSet?
David Gobbi
david.gobbi at gmail.com
Sat Jan 30 21:15:04 EST 2010
Hi Rhys,
A vtkPolyData is a vtkDataSet. You should be able to use your
polydata as the input to vtkTransformTextureCoords.
David
On Sat, Jan 30, 2010 at 5:34 PM, Rhys <swifteye at gmail.com> wrote:
> Hi
>
> Is there a way of converting from a vtkDataArray to a vtkDataSet? I have
> texture coord data in the form of a vtkDataArray
> (vtkPolyData()->GetPointData()->GetTCoords()) and want to use
> vtkTransformTextureCoords to alter the data, but it requires it in the
> vtkDataSet form.
>
> Thanks
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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