[Paraview] control comparative render in python?
Sgouros, Thomas
thomas_sgouros at brown.edu
Fri May 11 09:05:21 EDT 2018
Hi Utkarsh:
I understand, perhaps you're right that comparative render is not what I'm
after. What I want is just to see two different data sets using the same
visualization side by side, with cameras linked as they are with the
comparative view. I can create the visualizations I want in the Qt client
or in python. But apparently I could just use some direction on the best
approach to link the cameras and make the views appear side-by-side.
Thank you,
-Tom
On Fri, May 11, 2018 at 8:39 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> Tom,
>
> > The Trace functionality seems indifferent to whatever I do on the
> comparative view inspector window, and I can't find any more than a mention
> in the Guide.
>
> That is indeed a bug. I've reported it as an issue here:
> https://gitlab.kitware.com/paraview/paraview/issues/18164
>
> > I want to have two windows, side by side, rendering different views of
> the same data, or the same view of two different data sources, side by
> side, ideally always with the same camera position. This seems like exactly
> what the comparative render view was built for.
>
> My hunch is comparative view is not what you want. All you want is simply
> two views with linked cameras. Are you able to setup the visualizations you
> need in the ParaView Qt client? If so, I can provide you hints on how to
> convert that to the corresponding Python script.
>
> > What is the python that corresponds to setting the MxN size of the
> comparison
>
> the view has a "Dimensions" parameter that you change e.g.
> view = CreateComparativeRenderView()
> view.Dimensions = [ 3, 1]
>
> > and how do I assign a render to some given sector of my comparison? Is
> there more to it than that?
>
> you simple use `Show`. You can't assign a dataset to show in a specific
> view, that's not what the comparative view is intended for. You show data
> in all views and you vary one or more parameters on the pipelines in the
> view using the animation tracks in the comparative panel.
>
> Utkarsh
>
> > Thank you,
>
> > -Tom
>
>
>
> > _______________________________________________
> > 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
>
> > Search the list archives at: http://markmail.org/search/?q=ParaView
>
> > Follow this link to subscribe/unsubscribe:
> > https://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180511/5fcb035b/attachment.html>
More information about the ParaView
mailing list