[Paraview] Extract Block not working properly?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Feb 22 09:30:38 EST 2008


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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb.png
Type: image/png
Size: 14480 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/paraview/attachments/20080222/dfa2e4bb/mb-0001.png


More information about the ParaView mailing list