Re: [Paraview] Retrieving tuples from dataset

2009-04-23 Thread Natalie Happenhofer
2comp1); input2 -> GetPointData() -> GetArray(arr2) -> GetData(0,numOfTuples2,2,2, scalars2comp2); Then I´m working with those arrays. greetings, Natalie > Date: Mon, 20 Apr 2009 07:27:57 -0400 > Subject: Re: [Paraview] Retrieving tuples from dataset > From: berk.gev...@kitwar

Re: [Paraview] Retrieving tuples from dataset

2009-04-20 Thread Berk Geveci
- dataset, the values are wrong.. > > thx, > Natalie > > >> Date: Sat, 18 Apr 2009 16:51:49 -0400 >> Subject: Re: [Paraview] Retrieving tuples from dataset >> From: berk.gev...@kitware.com >> To: natalieh...@hotmail.com >> CC: paraview@paraview.org >> >&

Re: [Paraview] Retrieving tuples from dataset

2009-04-20 Thread Natalie Happenhofer
output - dataset, the values are wrong.. thx, Natalie > Date: Sat, 18 Apr 2009 16:51:49 -0400 > Subject: Re: [Paraview] Retrieving tuples from dataset > From: berk.gev...@kitware.com > To: natalieh...@hotmail.com > CC: paraview@paraview.org > > For sanity check, what do

Re: [Paraview] Retrieving tuples from dataset

2009-04-18 Thread Berk Geveci
For sanity check, what do these return? scalars->GetValue(i*3+1) scalars->GetValue(i*3+2) scalars->GetTuple(i)[1] scalars->GetTuple(i)[2] -berk On Fri, Apr 17, 2009 at 8:58 AM, Natalie Happenhofer wrote: > Hi! > I´m having trouble retrieving the data from a vector-valued vtkDoubleArray, > my c

[Paraview] Retrieving tuples from dataset

2009-04-17 Thread Natalie Happenhofer
Hi! I´m having trouble retrieving the data from a vector-valued vtkDoubleArray, my code looks like this: double tuple[3]; //tuple should be stored in this array scalars -> GetTupleValue(i,tuple); The first component, i.e. tuple[0] is retrieved properly, but tuple[1] and tuple[2] are definitely