[Paraview] Extract Block not working properly?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Fri Feb 22 11:20:28 EST 2008
Hi Takuya,
I've just committed a fix for this bug in the CVS. Feel free to give it
a try and post back if you see some issues.
Thanks,
Utkarsh
Utkarsh Ayachit wrote:
> Hi Takuya,
>
> That is a bug. However, the bug is not in the filter -- the code you
> pointed out is there to pass the entire tree if the root node was indeed
> the block that the user choose to extract. The problem is that the GUI
> marks the root node as selected when a dataset under its only child node
> is selected. I am looking into it. I will post something as soon as I
> have a solution.
>
> Thanks,
> Utkarsh
>
> OSHIMA Takuya wrote:
>> Hi,
>>
>> The recent major changes in composite datasets for the CVS head looks
>> very intersting. However I have a problem: the Extract Block filter
>> for a single node with multiple datasets doesn't work as intended.
>>
>> That is, when I only have Node 0 under Root, even if I deselct some of
>> the datasets under the node I still see the complete detasets as
>> output. But if I have 2 nodes under Root and deselect some of the
>> datasets under Node 0, Extract Block works exactly as intended
>> (removes deselcted datasets).
>>
>> Further, I found by removing the following code at lines 109-114 of
>> ParaView3/VTK/Graphics/vtkExtractBlock.cxx the filter works as
>> intended for a single node composite dataset.
>>
>> if (this->Indices->find(0) != this->Indices->end())
>> {
>> // trivial case.
>> output->ShallowCopy(input);
>> return 1;
>> }
>>
>> I wonder what is the intension of this piece of code...?
>>
>> Regards,
>> Takuya
>> _______________________________________________
>> 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