[Paraview] How to visualize multipart/multiblock models
Jacques Papper
jpapper at ara.co.uk
Fri Dec 19 05:00:01 EST 2008
Hi All,
I have been thinking of a potential improvement for visualization of
multipart models in ParaView.
I would really like to develop the following functionality :
Have support for multiple views where you can :
-> Select one or several blocks and move them to another view (maybe with a
keyboard shortcut like alt+numberofView)
-> flip between the views by just typing a number on the keyboard
-> Have a system where blocks can only be present in one view at a time
Would the structure of ParaView enable me to do this ? If so - where would I
start ? I know that the pipeline and the extract selections offer somewhat a
similar capability, but there are still a few things missing ?
Jacques
-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
On Behalf Of Berk Geveci
Sent: 18 December 2008 14:23
To: M. Nawijn
Cc: paraview at paraview.org
Subject: Re: [Paraview] How to visualize multipart/multiblock models
Hi Marco,
Which version of ParaView are you using? In 3.4, you can create a vtm file
that points to the individual vtu files. You can then color the blocks
separately using the vtkCompositeIndex array (just color by it). You can
control the color of each block by editing the color map.
Alternatively, you can add a cell-centered, 3 component, unsigned char array
(RGB) for each block to the file and then color by that array (make sure to
turn off the Map Scalar option).
As for turning on/off individual block, I am afraid you have to use the
Extract Block filter to achieve that. I hope that we will have that option
in the Display page in the future but it is not currently supported.
What I described here should also work with Xdmf.
-berk
On Wed, Dec 17, 2008 at 11:12 AM, M. Nawijn <nawijn at gmail.com> wrote:
> Hello,
>
> I am trying to find a way to subdivide a structural analysis model in
> several parts in such a way that I can post-process the results in
Paraview.
> The primary objective for me is to be able to hide and show different
> parts of the structure. The model itself is not too large (say 50.000
> cells). A bonus for me would be that I can assign a different color
> (or different properties in general) to each of the parts.
>
> I have tried a few things with Paraview:
> 1. Create a set of individual .VTU files and combine them in a
> .PVD file. This works very nice for building result sequences of the
> complete model.
> 2. Create a set of individual .VTU files and combine them in a
> .PVM file. This works in the sense that I can import a complete model
> build up from several pieces, but I cannot assign colors to each of
> the parts and are unable to hide and show individual parts (tried by
> using the "extract datasets" filter).
> 3. Create a XDMF XML file with 2 GRID elements in a single domain.
> This again allows me to import the model and show hide individual
> parts. I can still assign only 1 color to the complete model.
>
> Is subdivision into multiple showable/hideable parts, including
> individual color assignment, possible with either XDMF or VTK XML files?
> If so, can someone post a minimal example?
>
> Kind regards,
>
> Marco
>
>
>
>
> _______________________________________________
> 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
---------------------------
This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
More information about the ParaView
mailing list