<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Nice! Glad you found it.</div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Sankhesh</span></span><div> </div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jun 16, 2016 at 4:40 PM, Luis Vieira <span dir="ltr"><<a href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-CA" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi Sankhesh,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Got this, was missing those two highlighted yellow lines:<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkSmartPointer</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkOrientationMarkerWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">>::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetOrientationMarker</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetViewport</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.7, 0.0, 1.00, 0.3);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetInteractor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mainViewPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetInteractor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">())</span><span style="font-size:9.5pt;font-family:Consolas;color:black">;</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u><u></u></span></p></span><p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:yellow"> viewPortOMWidget</span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow">-></span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:yellow">SetEnabled</span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow">(1);</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <span style="color:#00b050">//missing</span></span><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow"><u></u><u></u></span></b></p><p class="MsoNormal"><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow"> </span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:yellow">viewPortOMWidget</span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow">-></span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:yellow">InteractiveOn</span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow">();</span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:#00b050">//</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050">missing</span><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thank you,<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><b>Luis Vieira</b>, Toronto<u></u><u></u></p><p class="MsoNormal">Consultant, Software Engineer<u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Vektore Exploration Consulting Corporation</span><u></u><u></u></p></span><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#66696a;border:none windowtext 1.0pt;padding:0cm;background:white"><a href="http://ca.linkedin.com/in/" target="_blank">ca.linkedin.com/in/</a></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#333333;border:none windowtext 1.0pt;padding:0cm;background:white">joaoluisvieira</span><u></u><u></u></p><div><div class="h5"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:luis.vieira@vektore.com" target="_blank"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">luis.vieira@vektore.com</span></a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="http://www.vektore.com/" target="_blank"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0563c1">www.vektore.com</span></a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Sankhesh Jhaveri [mailto:<a href="mailto:sankhesh.jhaveri@kitware.com" target="_blank">sankhesh.jhaveri@kitware.com</a>] <br><b>Sent:</b> June 16, 2016 9:54 AM<br><b>To:</b> Luis Vieira <<a href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a>><br><b>Cc:</b> vtk-developers <<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a>>; <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> Re: [vtk-developers] vtkAxesActor within VTK 7.0 and QVTKWidget<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#0b5394">Hi Luis,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#0b5394"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#0b5394">I don't see anything obvious but I noticed that you are initializing vtkRenderingOpenGL i.e. using the OpenGL backend. Mind trying the OpenGL2 backend to find out whether the issue is specific to the old backend.<u></u><u></u></span></p></div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:#0b5394">Sankhesh</span><u></u><u></u></p><div><p class="MsoNormal"><br> <u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Tue, Jun 14, 2016 at 3:20 PM, Luis Vieira <<a href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hello everyone,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I had migrated my VTK platform from 6.1 to 7.0. I had noticed some changes, and one of those is giving me a hard work to do that is to render vtkSmartPointer<vtkAxesActor>::New() within QVTWidget. Previously, was easily, with VTK 6.1. Now, I am trying that and I got the Cone working/rendering well and its interactions. However, I haven't gotten absolutely nothing on my viewport from my vtkAxesActor even been shown . Following my code (C++), regarding that this works outside QVTWidget viewport.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I appreciate any ideas and help.<u></u><u></u></p><p class="MsoNormal">……………………<u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkRenderWindow.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkRenderer.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkRenderWindowInteractor.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkEventQtSlotConnect.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkCommand.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkConeSource.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkSphereSource.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkPolyDataMapper.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkActor.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkActorCollection.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkCaptionActor2D.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkTextActor.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkTextProperty.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkActor2D.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkAxesActor.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkOrientationMarkerWidget.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkInteractorStyle.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkTDxInteractorStyleCamera.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkTDxInteractorStyleSettings.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkInteractorStyleRubberBandPick.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkInteractorStyleTrackballCamera.h"</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"vtkInteractorStyleTrackball.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"QVTKInteractorAdapter.h"</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"QVTKInteractor.h"</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">"QVTKApplication.h"</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">…….</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">.</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">#include</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white"><vtkAutoInit.h></span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:#6f008a;background:white">VTK_MODULE_INIT</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(vtkRenderingOpenGL);</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#6f008a;background:white">VTK_MODULE_INIT</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(vtkInteractionStyle);</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black">.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black">.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black">.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">Mainwindow.cpp</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Void procedure()<u></u><u></u></p><p class="MsoNormal">{<u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkRenderWindow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">* </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">renwin</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkRenderWindow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">renwin</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">StereoCapableWindowOn</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white">// Activate 3DConnexion device only on the left render window.</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white">// QVTKWidget</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mainViewPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetUseTDx</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">true</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white"> // QVTKWidget = mainViewPort.</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mainViewPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetRenderWindow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">renwin</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">renwin</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">Delete</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">const</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">double</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">angleSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = 0.02;</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">const</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">double</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">translationSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = 0.001;</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">QVTKInteractor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> *</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">iren</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mainViewPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetInteractor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkInteractorStyle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> *</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">s</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> =</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">static_cast</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkInteractorStyle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> *>(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">iren</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetInteractorStyle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">());</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkTDxInteractorStyleCamera</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> *</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">t</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> =</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">static_cast</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkTDxInteractorStyleCamera</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> *>(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">s</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetTDxStyle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">());</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">t</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetSettings</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetAngleSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">angleSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">t</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetSettings</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetTranslationXSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">translationSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">t</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetSettings</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetTranslationYSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">translationSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">t</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetSettings</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetTranslationZSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">translationSensitivity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white">// add a renderer</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">Ren1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkRenderer</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mainViewPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetRenderWindow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">AddRenderer</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">Ren1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white"> vtkConeSource</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">* </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">cone</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkConeSource</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkPolyDataMapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">* </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkPolyDataMapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetInputConnection</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">cone</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetOutputPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">());</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">* </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">actor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">actor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetMapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mapper</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">Ren1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">AddViewProp</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">actor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">actor</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">Delete</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mapper</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">Delete</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">cone</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">Delete</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white"> mainViewPort</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetRenderWindow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">Render</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkSmartPointer</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkAxesActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">>::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetXAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetCaptionTextProperty</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetColor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0, 0, 0);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetXAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetWidth</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.05);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetXAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetHeight</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.05);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetYAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetCaptionTextProperty</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetColor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0, 0, 0);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetYAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetWidth</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.05);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetYAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetHeight</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.05);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetZAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetCaptionTextProperty</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetColor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0, 0, 0);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetZAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetWidth</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.05);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetZAxisCaptionActor2D</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">()-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetHeight</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.05);</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> = </span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkSmartPointer</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#216f85;background:white">vtkOrientationMarkerWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">>::</span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">New</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">();</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetOrientationMarker</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortAxActor</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetViewport</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(0.7, 0.0, 1.00, 0.3);</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">viewPortOMWidget</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">SetInteractor</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:navy;background:white">mainViewPort</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">-></span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:#880000;background:white">GetInteractor</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black;background:white">())</span><span lang="PT-BR" style="font-size:9.5pt;font-family:Consolas;color:black">;</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="PT-BR"> </span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="PT-BR">.</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="PT-BR">.</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="PT-BR">.</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="PT-BR">.....</span><u></u><u></u></p><p class="MsoNormal"><span lang="PT-BR">}</span><u></u><u></u></p><p class="MsoNormal"><span lang="PT-BR"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="PT-BR">Any ideas?</span><u></u><u></u></p><p class="MsoNormal"><span lang="PT-BR"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="PT-BR">Thank you very much.</span><u></u><u></u></p><p class="MsoNormal"><span lang="PT-BR"> </span><u></u><u></u></p><p class="MsoNormal"><b><span lang="PT-BR">Luis Vieira</span></b><span lang="PT-BR">, Toronto</span><u></u><u></u></p><p class="MsoNormal">Consultant, Software Engineer<u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Vektore Exploration Consulting Corporation</span><u></u><u></u></p><p class="MsoNormal"><a href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a><u></u><u></u></p><p class="MsoNormal"><a href="http://www.vektore.com/" target="_blank"><span lang="EN-US" style="color:#0563c1">www.vektore.com</span></a><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br><br><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></blockquote></div><br></div></div>