Thanks, Paul...The name part has been done according to your
suggestion... The other question still remains:
The scenario is that: I have a reader which reads a multiple block data.
Each of the data block is a unstructured grid. After i load the data and press
the Apply button. The meshes are displayed in the view window which is not what
i want. I just want the reader to store the data and a subsequent filter will
be used to retrieve the data block by block and display them. The grid needs to
be constructed in the reader since all corresponding functions are in the
reader. The filter knows nothing about these. Another option is "eyeball" icon
in the pipeline browser, is it possible to "turn off" by default?
What should I do? Setting the block name is for the filter to display the
options that the user can choose. Is this the right way to do it?
Thanks in advance.
Regards,
zhigao
-----Original Message-----
From: Paul Edwards [mailto:[email protected]]
Sent: Mon 3/30/2009 4:08 PM
To: #CHENG ZHIGAO#
Cc: [email protected]
Subject: Re: [Paraview] Dataset name in a MultiBlock dataset and display of
unstructured grid
Hi Zhigao,
If you are writing a reader or filter that returns a multi-block data set
you can name a block with the following:
MULTI_BLOCK_DATA_SET->GetMetaData(BLOCK_NUMBER)->Set(vtkCompositeDataSet::NAME(),
"PUT_NAME_HERE");
If you are just using ParaView you can use the "Extract Block" filter and
select the blocks you are interested in. In the pipeline browser you can
change the name from "ExtractBlock1" to something more meaningful.
Regards,
Paul
2009/3/29 #CHENG ZHIGAO# <[email protected]>
>
> hey,
>
> As a beginner in paraview, please forgive my silly questions. :<)
>
> I have a multiblock datasets which contains several unstructured grid.
> If there a way to set a different name for each block? And What should i do
> if i do not want to display some of the datasets while displaying the
> others? Or how can I hidden them all if i can not display parts of it?
>
> Thanks for your help in advance.
>
> Regards,
> zhigao
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview