[Paraview] Carpet plots in paraview

Charles Law charles.law at kitware.com
Mon, 23 Feb 2004 09:47:23 -0500


There is no need to write you own structured grid conversion filter.
The filter CleanToGrid will convert image data or rectilinear grid to 
structured grid.
Warp can then be used to create the carpet plot.

Charles.


At 02:29 PM 2/20/2004, Berk Geveci wrote:
>Load the 2D grid  as a structured grid and warp it (not WarpVector,
>WarpScalar). If the data is image data or rectilinear grid, you have to
>convert it to a structured grid. Currently there is no filter that does
>this but it is easy to write one.
>
>On Fri, 2004-02-20 at 14:10, Wylie, Brian wrote:
> > All,
> >
> > Anyone know how to do carpet plots in ParaView?  (By this I mean a 2
> > dimensional grid, and then displacing in the z direction based on a scalar
> > variable).
> >
> >       Brian Wylie
> >       Sandia National Laboratories
> >       MS 0822 - Org 9227 - Building 880/A1-J
> >      (505) 844-2238   FAX (505) 845-0833
> >
> >
> > -----Original Message-----
> > From: Hari Sundar [mailto:hsundar at caip.rutgers.edu]
> > Sent: Thursday, February 19, 2004 6:20 PM
> > To: Luis Ibanez
> > Cc: ParaView at paraview.org
> > Subject: Re: [Paraview] Re: Visualizing Vector Fields ...
> >
> >
> > Hi Luis,
> >
> > thanks, it works. I was wondering if it was possible to visualize the
> > deformation field as a deformed grid., i.e., zero deformation means a 
> normal
> > structured grid, and to this I apply my deformation field.
> >
> > Is this possible in Paraview ?
> >
> > thanks,
> > -Hari
> >
> > On Thu, 19 Feb 2004, Luis Ibanez wrote:
> >
> > >
> > > Hi Hari,
> > >
> > >
> > > You probably are using now ParaView 1.2.1
> > > (which is an updated release).
> > >
> > >        http://www.paraview.org
> > >
> > >
> > > A couple of things have changed in ParaView since
> > > the message below was posted in december 2003.
> > >
> > >
> > > For example:
> > >
> > >
> > > 1) Now you can read MetaImage fileformat directly
> > >     (they can contain scalar or vector images)
> > >
> > > 2) ExtractVOI is now called ExtractGrid
> > >     (as you already noticed)
> > >
> > >
> > > The simple way of visualizing deformation fields now is to load your
> > > MetaImage file containing the vector image and directly select the
> > > filter "Glyph", and in the options of the glyph filter set:
> > >
> > >    a) Orient Mode = Vector
> > >    b) Scale Mode  = Vector Magnitude
> > >    c) Scale Factor = play with this value to scale your vectors
> > >
> > >
> > > The reason for using ExtractGrid is to subsample the original vector
> > > image. This is only needed if your deformation field has a large
> > > number of pixels (~ high resolution). Otherwise you can simply use the
> > > Glyph filter connected directly at the output of the reader.
> > >
> > >
> > >
> > > Please let us know if you find any problems.
> > >
> > >
> > >
> > > Thanks
> > >
> > >
> > >     Luis
> > >
> > >
> > >
> > > -------------------------
> > >
> > >
> > > Hari Sundar wrote:
> > >
> > >  > Hi,
> > >  >
> > >  > I have been using ITK to output some deformation fields and tried
> > > to use  > paraview to visualize the deformation vectors. I based this
> > > on this post  > by Luis Ibanez  >
> > >  > http://www.itk.org/pipermail/insight-users/2003-December/005865.html
> > >  >
> > >  > However, I have been unable to get this to work properly. Firstly, 
> I do
> > >  > not get an option to set the scale mode to scalar. I tried all the
> > other
> > >  > options and still don't see anything. If I set the scale to "Dat
> > Scaling
> > >  > Off", I can see the allows, but they are all aligned in the same
> > > direction
> > >  > (+ve X axis). My deformation fields are all right, because I wrote it
> > out
> > >  > like and image (x,y,z = r,g,b) and it does display something ...
> > >  >
> > >  > What do I need for the glyph to display properly.
> > >  >
> > >  > thanks,
> > >  > -Hari
> > >  >
> > >  > PS: I used ExtractGrid in place of ExtractVOI.
> > >  >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > ParaView mailing list
> > > ParaView at paraview.org
> > > http://www.paraview.org/mailman/listinfo/paraview
> > >
> >
> > -----------------------------------------------------------------------
> >        Home                                  Work
> > -----------------------------------------------------------------------
> >  375-C Buell Apartments,                 Dept. of ECE
> >  23909 BPO Way,                                  Rutgers University
> >  Rutgers University,                     96 Frelinghuysen Road
> >  Piscataway, NJ 08854                    Piscataway, NJ 08854
> >  ph: (732)878 0424                       ph: (732)445 0564
> > -----------------------------------------------------------------------
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org http://www.paraview.org/mailman/listinfo/paraview
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
>--
>Berk Geveci <berklist at nycap.rr.com>
>
>_______________________________________________
>ParaView mailing list
>ParaView at paraview.org
>http://www.paraview.org/mailman/listinfo/paraview