[vtkusers] Working with Vector Magnitudes

Peter Schmitt pschmitt at gmail.com
Tue Jul 19 11:34:15 EDT 2005


vtk users,
I find myself stumped on how to work with vector data (specificaly
vector magnitude) in vtk...  I would rather not store an extra scalar
array for vector magnitude, yet I want to:
-use vtkClipDataSet to remove all vectors with zero magnitude
-get the range of lengths (minimum length & maximum length) to help
with a colomap to my data via vector magnitude with
vtkDataSetMapper::SetScalarRange(float, float)

Any ideas?

Thanks!
Pete



More information about the vtkusers mailing list