[vtkusers] Represent Grid as Points

Dan Lipsa dan.lipsa at kitware.com
Mon Aug 14 11:57:01 EDT 2017


Does this help?
https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/ColoredPoints/

On Mon, Aug 14, 2017 at 9:57 AM, Müller, Jan <J.Mueller at vr.rwth-aachen.de>
wrote:

> Hi All,
>
> I am new to VTK and I have trouble visualising just the points of a
> "vtkUniformGrid". I create a grid and attach Scalars to its points. So far
> so good but when it comes to visualising the points of the grid im having
> problems.
>
>
> I found "SetRepresentationToPoints"sadly  this only visualises the
> surface of my Grid but i want ALL points of the grid.
>
> The next promising thing I found is "vtkVertexGlyphFilter" but I didnt
> manage to find a comfortable way of connecting my Grid to it ,
> without creating "vtkPolyData" by iterating through all points of the grid
> one by one.
>
>
> I am pretty sure there must be an easy way to visualise a Grid as Points
> but im unable to find it.
> Any help is very much appreciated!
>
> Greetings
> Jan
>
>
>
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170814/fe45485b/attachment.html>


More information about the vtkusers mailing list