[vtkusers] Represent Grid as Points

Müller, Jan J.Mueller at vr.rwth-aachen.de
Mon Aug 14 09:57:31 EDT 2017


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170814/9bcfd4d6/attachment.html>


More information about the vtkusers mailing list