[vtkusers] How to sample points from data set, for visualizing glyphs?
Bryn Lloyd
lloyd at itis.ethz.ch
Tue Nov 22 03:29:35 EST 2011
http://www.vtk.org/doc/nightly/html/classvtkMaskPoints.html
selectively filter points
vtkMaskPoints is a filter that passes through points and point attributes
from input dataset. (Other geometry is not passed through.) It is possible
to mask every nth point, and to specify an initial offset to begin masking
from. It is possible to also generate different random selections (jittered
strides, real random samples, and spatially stratified random samples) from
the input data. The filter can also generate vertices (topological
primitives) as well as points. This is useful because vertices are rendered
while points are not.
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of Bryn Lloyd
Sent: Tuesday, November 22, 2011 9:29 AM
To: vtkusers at vtk.org
Subject: [vtkusers] How to sample points from data set, for visualizing
glyphs?
Hi
I would like to plot vectors (or other glyphs) of a simulation result.
Typically the result will be a vtkRectilinearGrid with vector valued arrays,
but could also be any other type of vtkDataSet.
If I plot one glyph per point the visualization will be crowded and not
interactive. In paraview only a subset of points are used. Is there any
class, which obtains this subset?
Thanks
Bryn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111122/97d33e0d/attachment.htm>
More information about the vtkusers
mailing list