camera placement (paraview)


# 'renderView1' is the view name
# current camera placement for renderView1

renderView1.CameraPosition = [-0.22126314316421933, 0.12646846135388234, 1.0978252757245606]
renderView1.CameraFocalPoint = [-0.2082859046961596, 0.12646846135388234, 0.00012075157365905824]
renderView1.CameraParallelScale = 0.23481544622305758

# at xy plane, zoom change z value only as below:
left figure:

    renderView1.CameraPosition = [-0.21849990739250558, 0.0, *2.0711157783058827* ]

Right figure:

    renderView1.CameraPosition = [-0.21849990739250558, 0.0, *1.1690908629767092* ]

file:figures/python/cameraPosition.png

as seen in the above figure, the smaller is z value , the bigger is the figure

posted @ 2019-02-19 21:51  kaiming_ai  阅读(278)  评论(0编辑  收藏  举报