<p>Hello,</p><p><br></p><p>Here is my code snippet <br></p><p><span class="Apple-tab-span" style="white-space:pre">                </span>m_pMarker = vtkSmartPointer<vtkOrientationMarkerWidget>::New();</p><p><span class="Apple-tab-span" style="white-space:pre">            </span>m_pMarker->SetOutlineColor( 0.6, 0.6, 0.8);</p><p><span class="Apple-tab-span" style="white-space:pre">           </span>m_pMarker->SetOrientationMarker(m_pCube.GetPointer());</p><p><span class="Apple-tab-span" style="white-space:pre">                </span>m_pMarker->SetInteractor(this->GetRenderWindow()->GetInteractor() );</p><p><span class="Apple-tab-span" style="white-space: pre;">          </span>m_pMarker->SetEnabled(1);</p><p><span class="Apple-tab-span" style="white-space:pre">     </span><span class="Apple-tab-span" style="white-space:pre">    </span>m_pMarker->InteractiveOff();</p><p><span class="Apple-tab-span" style="white-space:pre">          </span>m_pMarker->SetTolerance(1);</p><p><br></p><p>This is a preparation code before the scene is rendered.</p><p>Actual rendering happens later when the QVTKWidget2 is shown.</p><p><br></p><p>It was working codes when I was using it with Qt5, VTK6.1.</p><p>I am using QVTKWidget2, It was working with OpenGL1 with VTK 6.1 without problem. </p><p>After I upgraded it to VTK6.3, it crashes at m_pMarker->InteractiveOff(); which is actually </p><p>crash in "vtkOpenGLRenderWindow::OpenGLInitState();" called from vtkWidget2::Start();</p><p><br></p><p>I am suspecting the marker widget is calling rendering function although the render window is not yet</p><p>ready to render the scene. However, I could not pinpoint where it happened.</p><p><br></p><p>Initially, I thought it may be a problem of OpenGL2. Therefore, I upgraded VTK to 7.0.0.</p><p>However, the problem was the same.</p><p><br></p><p>Finally, I commented out "InteractiveOff()" and called it separately after the QVTKWidget2 is shown and</p><p>the initial rendering was performed. Can anybody explain this for me???</p><p><br></p><p>Thank you. </p><p><br></p><p align="justify" style="line-height:1.2;margin-top:0px;margin-bottom:0px"><font style="font-family:굴림;font-size:10pt">Samuel Byeongjun Park (朴炳俊), Ph.D<br>
-------------------------------<<< Better Diagnosis, Better Cure, Better Life<br>
Researcher, Department of Biomedical Engineering<br>
National Cancer Center, Korea (http://www.ncc.re.kr)  <br>
Tel: +82-31-920-2247,   Fax: +82-31-920-2242<br>
Mobile: +82-10-6773-7954,  Email: bpark@ncc.re.kr</font></p>

<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
</style><br/><br/><br/><p align="center"><img src='http://mail.ncc.re.kr/images/mail_banner2.gif'/></p><img style="display:none;" width=1 height=1 src="http://wbest.ncc.re.kr/wiseone-webmail-web/servlet/MailOutgoingConfirmUpdater.wogw?msgId=%3C297370647.2660.1471498435937.JavaMail.root%40gwweb2%3E&receiver=vtkusers@vtk.org">