This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Functions to replicate renderViews in ParaView. | |
v1: Theodore Baltis (https://discourse.paraview.org/u/theodorebaltis) | |
https://discourse.paraview.org/t/feature-request-clone-renderview/2370/3 | |
v2: Bastian Loehrer (https://discourse.paraview.org/u/bastian) | |
- merged the separate scripts into one file with the dedicated functions split_right() and split_down() | |
- added function clone_to_new_layout | |
v3: Lutz Hofmann (https://github.com/lhofmann/) | |
- support sources with multiple output ports | |
- use vtkSMProxyClipboard for copying properties |