<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Hi Sankhesh,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Got this, was missing those two highlighted yellow lines:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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'>();<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-size:9.5pt;font-family:Consolas;color:navy;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'> viewPortOMWidget</span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>-></span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:#880000;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>SetEnabled</span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>(1);</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> <span style='color:#00B050'>//missing</span></span><b><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'> </span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:navy;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>viewPortOMWidget</span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>-></span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:#880000;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>InteractiveOn</span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US'>();</span></b><b><span style='font-size:9.5pt;font-family:Consolas;color:#00B050;mso-fareast-language:EN-US'>//</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00B050;mso-fareast-language:EN-US'>missing</span><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Thank you,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b>Luis Vieira</b>, Toronto<o:p></o:p></p><p class=MsoNormal>Consultant, Software Engineer<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Vektore Exploration Consulting Corporation</span><o:p></o:p></p><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'>ca.linkedin.com/in/</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><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><a href="mailto:luis.vieira@vektore.com"><span style='font-size:12.0pt;font-family:"Times New Roman",serif'>luis.vieira@vektore.com</span></a></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><a href="http://www.vektore.com/"><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0563C1'>www.vektore.com</span></a></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></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:sankhesh.jhaveri@kitware.com] <br><b>Sent:</b> June 16, 2016 9:54 AM<br><b>To:</b> Luis Vieira <luis.vieira@vektore.com><br><b>Cc:</b> vtk-developers <vtk-developers@vtk.org>; vtkusers@vtk.org<br><b>Subject:</b> Re: [vtk-developers] vtkAxesActor within VTK 7.0 and QVTKWidget<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:#0B5394'>Hi Luis,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:#0B5394'><o:p> </o:p></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.<o:p></o:p></span></p></div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:#0B5394'>Sankhesh</span><o:p></o:p></p><div><p class=MsoNormal><br> <o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></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:<o:p></o:p></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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello everyone,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I appreciate any ideas and help.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>……………………<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:#A31515'>…….</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:#A31515'>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:#A31515'>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:#A31515'>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:black'>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:black'>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:black'>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:#A31515'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:#A31515'>Mainwindow.cpp</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Void procedure()<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>{<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=PT-BR style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt;font-family:Consolas;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt'><span lang=PT-BR> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt'><span lang=PT-BR>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt'><span lang=PT-BR>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt'><span lang=PT-BR>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:72.0pt'><span lang=PT-BR>.....</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=PT-BR>}</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=PT-BR> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=PT-BR>Any ideas?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=PT-BR> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=PT-BR>Thank you very much.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=PT-BR> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=PT-BR>Luis Vieira</span></b><span lang=PT-BR>, Toronto</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Consultant, Software Engineer<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Vektore Exploration Consulting Corporation</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://www.vektore.com/" target="_blank"><span lang=EN-US style='color:#0563C1'>www.vektore.com</span></a><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>