[Paraview] How to calculate camera parameters

樱空Sai§ 272586668 at qq.com
Sun May 25 23:15:04 EDT 2014


Hi,
When I use the "ResetCamera":



try: paraview.simple
 
except: from paraview.simple import *
 
paraview.simple._DisableFirstRenderCameraReset()
 


 
RenderView1 = GetRenderView()
 
RenderView1.CameraPosition = [639601.6875, 5129803.25, 50716.213308131235]
 
RenderView1.CameraFocalPoint = [639601.6875, 5129803.25, -1275.4727172851562]
 
RenderView1.CameraClippingRange = [50724.578457764765, 53712.12047259696]
 
RenderView1.CenterOfRotation = [639601.6875, 5129803.25, -1275.4727172851562]
 
RenderView1.CameraParallelScale = 13456.438530368343
 


 
Render()
 



How does paraview calculate the camera parameters like CameraPosition, CameraFocalPoint, CameraClippingRange ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140526/9f8b23b3/attachment.html>


More information about the ParaView mailing list