[Paraview] Losing data when clip multi-block

Scott, W Alan wascott at sandia.gov
Tue Feb 10 15:33:32 EST 2009


Eric,
Sorry for taking time to get back to you - I wanted to verify with the developers that this isn't expected behavior.  You have correctly found a bug. 

I wrote this up as bug number 8494 in the Kitware bug tracker.  I used your very simple, excellent Point and Sphere source example listed below.  If I missed anything, please feel free to modify the bug appropriately.

Alan

-----Original Message-----
From: Berk Geveci [mailto:berk.geveci at kitware.com] 
Sent: Tuesday, February 10, 2009 10:59 AM
To: Eric E. Monson
Cc: Scott, W Alan; ParaView List
Subject: Re: [Paraview] Losing data when clip multi-block

Eric,

I think we dealt with this problem since 3.4. I can't reproduce the problem with your first set of instructions on cvs head. Do you mind trying the cvs version?

-berk

On Fri, Feb 6, 2009 at 2:57 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hey Alan,
>
> Are you seeing both the point and cell Ids arrays? When I do this I 
> end up with only the cell Ids array -- the points one is missing.
>
> Here's another one that loses a data array consistently:
>
> Create a Point Source (100 pts, 10 radius) Apply Elevation filter to 
> points Create a Sphere Source Apply Curvature filter to sphere Select 
> Elevation then Curvature Group Clip Gauss_Curvature is missing in Clip 
> Information (only see Elevation &
> Normals)
> (or, after deleting clip and group filters) Select Curvature then 
> Elevation Group Clip Elevation is missing in Clip Information (only 
> see Gauss_Curvature &
> Normals)
>
> Any luck with that one? (I'd just like to hear that someone can 
> reproduce the problem before I file a bug report...)
>
> Thanks,
> -Eric
>
>
> On Feb 6, 2009, at 1:47 PM, Scott, W Alan wrote:
>
>> Eric,
>> I was trying to replicate this bug, and cannot.   Please give me detailed
>> instructions on how to replicate it, and I will put it in the bug tracker.
>>  Better yet would be you putting it in the bug tracker.
>>
>> I tried:
>> ParaView CVS trunk from late January, XP, non client/server.
>> Source/Box
>> Source/Wavelet
>> (Highlight Box) Filters/ Generate Ids (Highlight GenerateId and 
>> Wavelet) Filters/ Group Datasets Clip I then see the Ids points data 
>> as follows: Ids (partial)
>>
>> alan
>>
>> -----Original Message-----
>> From: paraview-bounces at paraview.org 
>> [mailto:paraview-bounces at paraview.org]
>> On Behalf Of Eric E. Monson
>> Sent: Friday, February 06, 2009 7:09 AM
>> To: ParaView List
>> Subject: Re: [Paraview] Losing data when clip multi-block
>>
>> Hey Utkarsh,
>>
>> No, I've never seen the clip lose data on one dataset by itself.
>>
>> The other interesting thing is that I can't always get this data loss 
>> to happen if the data was generated as part of a source from the Sources menu.
>> It's much more likely to disappear when the data was generated by a 
>> filter or brought in by a reader.
>>
>> For example, if you generate a Box and a Wavelet source, grouping and 
>> clipping them won't lose any data, but if you run Generate IDs on one 
>> of them, then select GenerateIds1 second before grouping, then clip, the "Ids"
>> point data disappears...
>>
>> Thanks,
>> -Eric
>>
>>
>> On Feb 6, 2009, at 7:37 AM, Utkarsh Ayachit wrote:
>>
>>> Eric,
>>>
>>> Does the loss of arrays happen even if you clip the orginal dataset 
>>> by itself (without grouping it using the group filter)?
>>>
>>> Utkarsh
>>>
>>> On Wed, Feb 4, 2009 at 3:53 PM, Eric E. Monson <emonson at cs.duke.edu>
>>> wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm creating a multi-block data set using the group filter and then 
>>>> clipping it. The results of the clip are always missing one of the 
>>>> scalars associated with the second data set that I highlighted 
>>>> before applying the group filter. This only seems to happen if one 
>>>> of the data sets has multiple scalars or vectors associated with it 
>>>> -- if they each only have one, nothing is lost in the clip. 
>>>> (ParaView 3.4 and CVS, OS X 10.5.6 and Windows XP 32-bit, no MPI)
>>>>
>>>> I originally saw this with my own data, but I am able to easily 
>>>> replicate this by creating two point sources. I apply the Elevation 
>>>> filter to the first. Then, to the second I apply Brownian Vectors, 
>>>> plus a Calculator that computes the magnitude of those vectors. If 
>>>> I highlight Elevation and then Calculator, then Group and Clip, I 
>>>> lose the vector magnitude scalar at the Clip stage. If I highlight 
>>>> the Calculator and then the Elevation, then Group and Clip, I lose 
>>>> the elevation scalar.
>>>>
>>>> Please let me know if anyone has any ideas about where this could 
>>>> be coming from.
>>>>
>>>> Thanks a lot,
>>>> -Eric
>>>>
>>>> ------------------------------------------------------
>>>> Eric E Monson
>>>> Duke Visualization Technology Group
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>




More information about the ParaView mailing list