<div dir="ltr">Leo,<div><br></div><div>You can't access it in Python since the Python script is not run on the server side. If your goal is to debug what thet camera is set to, you can put cout's to print the camera in `vtkCaveSynchronizedRenderers::HandleStartRender`. That's where the local camera on each rank is "prepped" for rendering a frame.</div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 9:20 AM, Léo Pessanha <span dir="ltr"><<a href="mailto:leonardopessanha74@gmail.com" target="_blank">leonardopessanha74@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi!<br><br></div>I would like to know if there's a way to acess the information/attributes of the cameras there are created trough a .pvx file<br><br></div>To acess the attributes in the camera of the active Layout/RenderView  I do:<br><br></div>1 - Open Python Shell<br>2 -<span style="font-family:"Courier";font-size:9pt;color:rgb(0,0,0)"> </span>camera = GetActiveCamera()<div><div><div><div><div><div><div>3 -<span style="font-family:"Courier";font-size:9pt;color:rgb(0,0,0)"> </span>print(camera)</div><div><br></div><div>And the output is:</div><div><br></div><div>

<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">vtkOpenGLCamera (0x4a45e80)</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Debug: Off</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Modified Time: 405029</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Reference Count: 5</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Registered Events: </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Registered Observers:</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">      (none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ClippingRange: (1.63277, 5.56498)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  DirectionOfProjection: (0.526409, 0.492965, -0.692733)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Distance: 3.37001</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  EyeAngle: 2</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  FocalDisk: 1</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  FocalPoint: (0, 0, 0)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ViewShear: (0, 0, 1)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ParallelProjection: Off</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ParallelScale: 0.872667</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Position: (-1.77401, -1.6613, 2.33452)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Stereo: Off</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Left Eye: 1</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  Thickness: 3.93221</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ViewAngle: 30</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  UseHorizontalViewAngle: 0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  UserTransform: (none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">(none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  FreezeFocalPoint: (none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ViewPlaneNormal: (-0.526409, -0.492965, 0.692733)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ViewUp: (-0.0865543, 0.841596, 0.533127)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  WindowCenter: (0, 0)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  UseOffAxisProjection: (0)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ScreenBottomLeft: (-0.5, -0.5, -0.5)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ScreenBottomRight: (0.5, -0.5, -0.5)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ScreenTopRight: (0.5, 0.5, -0.5)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  EyeSeparation: (0.06)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  WorldToScreenMatrix: (0x4a457c0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Modified Time: 155883</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Elements:</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        1 0 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 1 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 0 1 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 0 0 1</span><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  EyeTransformMatrix: (0x4a458b0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Modified Time: 155885</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Elements:</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        1 0 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 1 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 0 1 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 0 0 1 </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  )</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ModelTransformMatrix: (0x4a459a0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Modified Time: 155887</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Elements:</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        1 0 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 1 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 0 1 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0 0 0 1 </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  )</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  ProjectionTransform: (0x4a46280</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Modified Time: 405415</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Inverse: (0)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Matrix: (0x4a46330)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">      Debug: Off</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">      Modified Time: 405416</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">      Reference Count: 1</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">      Registered Events: (none)</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">      Elements:</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">            3.76067 0 0 0 </span></p><div style="margin-left:160px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">            0 3.73205 0 0 </span></p><div style="margin-left:160px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">            0 0 -1.83046 -4.62147 </span></p><div style="margin-left:160px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">            0 0 -1 0 </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    Input: (0)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    InverseFlag: 0</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">    NumberOfConcatenatedTransforms<wbr>: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">        0: vtkSimpleTransform at 0x6ecdae0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">  )</span></p><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;text-indent:0px"><b>How to get these informations of the cameras created from a .pvx file?</b><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p></div><div>Thanks in advance,<br></div><div><span style="font-family:"Courier";font-size:9pt;color:rgb(0,0,0)"></span></div><div><div><div><div class="m_-1047999801825129401gmail_signature"><div dir="ltr"><div dir="ltr"><div><div><div><div><div><span><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Leonardo Pessanha<br>Laboratory of Computational Methods in Engineering </div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Federal University of Rio de Janeiro - COPPE</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Rio de Janeiro, RJ, Brasil</div><div><br></div></span></div></div></div></div></div></div><div><div style="font-size:12.8px"></div><div style="font-size:12.8px"></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>