[vtkusers] Visualise 2d polydata

Dan Lipsa dan.lipsa at kitware.com
Mon Jan 8 11:50:12 EST 2018


Charlie,
You'll need to generate a mesh from your points
https://lorensen.github.io/VTKExamples/site/Python/Modelling/DelaunayMesh/
add the array of colors to the mesh and then show the mesh

This example shows how to show a mesh colored by a scalar
https://lorensen.github.io/VTKExamples/site/Cxx/VisualizationAlgorithms/TubesFromSplines/


On Sat, Jan 6, 2018 at 2:26 PM, Charles Kind <charles.kind at bristol.ac.uk>
wrote:

> Dear All,
>
> I am having a VTK blank and need help. I have a polydata made up of 2d
> (512*512) points and an unsignedchar array of colors attached. I just want
> to generate a surface from this with the colors. How do I do this.
>
> I know the data is correct as I happily use a superset of it for various 3d
> interactive renderings.
>
> Charlie
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180108/baa23a46/attachment.html>


More information about the vtkusers mailing list