AW: AW: AW: [Paraview] Combine vect
Amy Henderson
amy.henderson at kitware.com
Thu, 13 May 2004 15:53:12 -0400
I just tried to reproduce this behavior on the ParaView 1.4 release, but I=
=20
did not get the same results you did. After I ran the data through the=20
Calculator filter, it was still being colored by the same scalar array as=20
before, but the array produced as a result of running the filter was a=20
3-component vector array.
- Amy
At 03:46 PM 5/13/2004, S=F6ren Freudiger wrote:
>We are using paraview 1.4 (the newest release)
>
>
>--
>Dipl.-Ing. Soeren Freudiger
>Institut fuer ComputerAnwendungen im Bauingenieurwesen
>TU Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
>Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
>email: freud at cab.bau.tu-bs.de
>http://www.cab.bau.tu-bs.de/
>-----Urspr=FCngliche Nachricht-----
>Von: Amy Henderson [mailto:amy.henderson at kitware.com]
>Gesendet: Donnerstag, 13. Mai 2004 21:42
>An: S=F6ren Freudiger
>Cc: paraview at paraview.org
>Betreff: Re: AW: AW: [Paraview] Combine vect
>
>Please keep the discussion on the ParaView mailing list. Also, what=
version
>of ParaView are you using?
>
>- Amy
>
>At 03:32 PM 5/13/2004, you wrote:
> >Ahh.. Now I think I've got the problem...
> >I really need a vector for the streamlines... But after "calc" I only
> >get a scalar value again...
> >
> >
> >--
> >Dipl.-Ing. Soeren Freudiger
> >Institut fuer ComputerAnwendungen im Bauingenieurwesen TU Braunschweig,
> >Pockelsstr. 3, D-38106 Braunschweig
> >Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> >email: freud at cab.bau.tu-bs.de
> >http://www.cab.bau.tu-bs.de/
> >-----Urspr=FCngliche Nachricht-----
> >Von: Amy Henderson [mailto:amy.henderson at kitware.com]
> >Gesendet: Donnerstag, 13. Mai 2004 20:58
> >An: paraview at paraview.org
> >Cc: freud at cab.bau.tu-bs.de
> >Betreff: Re: AW: [Paraview] Combine vect
> >
> >S=F6ren,
> >
> >I'm copying this to the paraview mailing list so others can benefit
> >from the answers.
> >
> >- Amy
> >
> > >Date: Thu, 13 May 2004 14:56:25 -0400
> > >To: S=F6ren Freudiger <freud at cab.bau.tu-bs.de>, "'Amy Henderson'"
> > ><amy.henderson at kitware.com>
> > >From: Amy Henderson <amy.henderson at kitware.com>
> > >Subject: Re: AW: [Paraview] Combine vect
> > >
> > >At 02:52 PM 5/13/2004, S=F6ren Freudiger wrote:
> > >>Hello again...
> > >>Thanks for that very quick answer.
> > >>But this does ot seem to work...
> > >>I only got absolutly straight streamlines by doing this.
> > >>
> > >>iHat * x1-vel + jHat * x3-vel + kHat * x3-vel
> > >>
> > >>If I write
> > >>
> > >>(iHat * x1-vel) + (jHat * x3-vel) + (kHat * x3-vel)
> > >>
> > >>I'll get totaly differnet results...
> > >
> > >If you want the components of your vector to be x1-vel, x2-vel, and
> > >x3-vel, then your equation should be:
> > >iHat * (x1-vel) + jHat * (x2-vel) + kHat * (x3-vel)
> > >
> > >The standard mathematical order of operations applies. In your
> > >expressions, things in parentheses are computed first, followed by
> > >multiplication, followed by addition and subtraction.
> > >
> > >- Amy
> > >
> > >>--
> > >>Dipl.-Ing. Soeren Freudiger
> > >>Institut fuer ComputerAnwendungen im Bauingenieurwesen TU
> > >>Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
> > >>Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> > >>email: freud at cab.bau.tu-bs.de
> > >>http://www.cab.bau.tu-bs.de/
> > >>-----Urspr=FCngliche Nachricht-----
> > >>Von: Amy Henderson [mailto:amy.henderson at kitware.com]
> > >>Gesendet: Donnerstag, 13. Mai 2004 19:28
> > >>An: S=F6ren Freudiger; paraview at paraview.org
> > >>Betreff: Re: [Paraview] Combine vect
> > >>
> > >>Hi S=F6ren,
> > >>
> > >>Yes, it is possible. Run the Calculator filter on your data. iHat,
> > >>jHat, and kHat are unit vectors in each of the i, j, and k
> > >>directions, so your expression you want to enter would look like:
> > >>iHat * scalars1 + jHat * scalars2 + kHat * scalars3 (Substitute the
> > >>3 scalar arrays you want to use for X, Y, and Z in your vector for
> > >>scalars1, scalars2, and scalars3, respectively.) The array specified
> > >>in the "Result Array Name" entry will contain your new vector array.
> > >>
> > >>- Amy
> > >>
> > >>At 01:07 PM 5/13/2004, S=F6ren Freudiger wrote:
> > >> >Hello
> > >> >Is it possible to combine scalars to a vector?
> > >> >I only have got scalars and want to visualise streamlines...
> > >> >Best regards,
> > >> >
> > >> >--
> > >> >Dipl.-Ing. Soeren Freudiger
> > >> >Institut fuer ComputerAnwendungen im Bauingenieurwesen TU
> > >> >Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
> > >> >Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> > >> >email: freud at cab.bau.tu-bs.de
> > >> >http://www.cab.bau.tu-bs.de/
> > >> >
> > >> >_______________________________________________
> > >> >ParaView mailing list
> > >> >ParaView at paraview.org
> > >> >http://www.paraview.org/mailman/listinfo/paraview