Is this working?
Gavin Tabor
G.R.Tabor at exeter.ac.uk
Mon Apr 3 12:35:01 EDT 2000
Matthieu Ferrant wrote:
>
> hi gavin,
>
> > I'm still stuck with trying to produce contours on a plane from a
> > vtkUnstructuredGrid. My pipeline looks like this :
> Do you just want to visualize the cuts through your unstructured grid ?
> Then you don't need the probefilter, you need a vtkCutter with the
> planesource as cutting function. The output is a polydata.
I hadn't thought of that. I was trying to use the visualisation method
used
in the combustor example probeComb.tcl, where data is sampled on a
finite plane
within the domain. What you suggest is closer to what I want at the
moment,
and works well. Thanks! (I'm still trying to work out what is wrong with
my
original pipeline, as a subsample might be quite useful as a
visualisation
technique in the future).
My thanks to everyone who answered. One can't expect always to get
something
from a voluntary forum such as this, but it is good to know that my
messages
are being received.
Gavin
>
> Is this what you want to do ?
>
> matt
>
> >
> > vtkPlaneSource
> > V
> > vtkTransformPolyDataFilter
> > V
> > vtkUnstructuredGrid > vtkProbeFilter
> > V
> > vtkContourFilter
> > V
> > vtkPolyDataMapper
> > V
> > vtkActor
> >
> > When I connect the actor to the renderer all I get is a completely black
> > screen : its like the code is jammed. (Yes, I should be getting a white
> > screen...). The probing I think works : I've used something similar to
> > probe the data for vectors. What am I doing wrong? I would be _so_
> > grateful for any help : this is driving me up the wall :-(
> >
> > Gavin
> >
> > --
> >
> > Dr. Gavin Tabor
> > School of Engineering and Computer Science
> > Department of Engineering
> > University of Exeter
> > --------------------------------------------------------------------
> > This is the private VTK discussion list. Please keep messages on-topic.
> > Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > <majordomo at public.kitware.com>. For help, send message body containing
> > "info vtkusers" to the same address.
> > --------------------------------------------------------------------
>
> --
> M.Ferrant - Ph.D. Student
> UCL/TELE Room A-157 Place du Levant, 2 B-1348LLN - Belgium
> Tel. +32-10-478073 Fax. : +32-10-472089
> http://www.tele.ucl.ac.be/MEMBERS/Ferrant_Matthieu_e.html
--
Dr. Gavin Tabor
School of Engineering and Computer Science
Department of Engineering
University of Exeter
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list