[vtkusers] vtkContourFilter and vectors?

Charles Boivin Charles.Boivin at rwdiwest.com
Wed Sep 8 10:48:56 EDT 2004


Hi Malcom,

I saw those two later yesterday... I played around with vtkVectorNorm
but had some problems with it. I ended up writing my own filter object
that did just what I wanted (i.e. extracted a scalar from a vector, that
scalar being either a vector component or the magnitude). That was
actually a pretty simple thing to do. And I learned how to write custom
filters, to boot. :-)

Thanks for your suggestion,

Charles

>>> "Malcolm Drummond" <malcolm at geovision.co.za> 09/08/04 01:02am >>>
Hi Charles

How about vtkVectorNorm or vtkExtractVectorComponents before
contouring.

HTH
Malcolm

----- Original Message -----
From: "Charles Boivin" <Charles.Boivin at rwdiwest.com>
To: <vtkusers at vtk.org>
Sent: Tuesday, September 07, 2004 7:56 PM
Subject: [vtkusers] vtkContourFilter and vectors?


> 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 
>

_______________________________________________
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