[Paraview] control comparative render in python?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Fri May 11 08:39:36 EDT 2018
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
More information about the ParaView
mailing list