[vtkusers] vtkContourFilter and vectors?

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Sep 7 14:03:52 EDT 2004


Charles,

	You'll have to use:

vtkArrayCalculator

http://www.vtk.org/doc/nightly/html/classvtkArrayCalculator.html

This is currently the only way to do it in VTK. vtkContourFilter always 
use the first component.

HTH
Mathieu

Charles Boivin wrote:
> Hello all,
> 
> Is it possible to create contours using vtkContourFilter on vectors? I
> would like to be able to contour either the magnitude, or individual
> components of a vector. I know vtkLookupTable allows one to map colors
> based on vector magnitude or components... but I would like to get
> contours as well. 
> 
> In the event that this is not possible, are there filters that can
> either extract a component of a vector or its magnitude so that I could
> feed that to the contour filter? 
> 
> Thank you in advance,
> 
> Charles Boivin
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list