<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Jothy,<div><br></div><div>I think you just don't need the last call to Interactor->Start(). Try it without and see if the interactor still behaves properly. I don't understand it completely, but the QVTKWidget seem to want to control the initial render window rendering and interactor start without you calling them explicitly.</div><div><br></div><div>Talk to you later,</div><div>-Eric</div><div><br></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><span class="Apple-style-span" style="font-size: medium;"><br></span></div></span>
</div>
<br><div><div>On Aug 10, 2010, at 10:16 AM, Jothy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><span style="color: rgb(192, 192, 192); font-family: courier new,monospace;"><span style="color: rgb(51, 51, 255);">Hi all,</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">I am getting "ERROR: In C:\vtk-5.6.0\GUISupport\Qt\QVTKWidget.cxx, line 968<br>
QVTKInteractor (0x3626430): QVTKInteractor cannot control the event loop." error when I try to render the images with a checkerwidget.<br><br>Here is the code, I use QtCreator for this<br> </span><br><br><br> </span><span style="font-family: courier new,monospace;">vtkSmartPointer</span><span style="color: rgb(0, 0, 0); font-family: courier new,monospace;"><</span><span style="font-family: courier new,monospace;">vtkJPEGReader</span><span style="color: rgb(0, 0, 0); font-family: courier new,monospace;">></span><span style="color: rgb(192, 192, 192); font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">jPEGReader1</span><span style="color: rgb(192, 192, 192); font-family: courier new,monospace;"> </span><span style="color: rgb(0, 0, 0); font-family: courier new,monospace;">=</span>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkJPEGReader<span style="color: rgb(0, 0, 0);">>::</span>New<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkStdString<span style="color: rgb(192, 192, 192);"> </span>fname1<span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 128, 0);">"C:<a href="smb://BlueHills.jpg">\\BlueHills.jpg</a>"</span><span style="color: rgb(0, 0, 0);">;</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span> jPEGReader1<span style="color: rgb(0, 0, 0);">-></span>SetFileName<span style="color: rgb(0, 0, 0);">(</span>fname1<span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkJPEGReader<span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(192, 192, 192);"> </span>jPEGReader2<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkJPEGReader<span style="color: rgb(0, 0, 0);">>::</span>New<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkStdString<span style="color: rgb(192, 192, 192);"> </span>fname2<span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 128, 0);">"C:<a href="smb://Sunset.jpg">\\Sunset.jpg</a>"</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">;</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>jPEGReader2<span style="color: rgb(0, 0, 0);">-></span>SetFileName<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">(</span>fname2<span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkImageCheckerboard<span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(192, 192, 192);"> </span>checkerboardFilter<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkImageCheckerboard<span style="color: rgb(0, 0, 0);">>::</span>New<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerboardFilter<span style="color: rgb(0, 0, 0);">-></span>SetInput<span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 128);">0</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(192, 192, 192);"> </span>jPEGReader1<span style="color: rgb(0, 0, 0);">-></span>GetOutput<span style="color: rgb(0, 0, 0);">());</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerboardFilter<span style="color: rgb(0, 0, 0);">-></span>SetInput<span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 128);">1</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(192, 192, 192);"> </span>jPEGReader2<span style="color: rgb(0, 0, 0);">-></span>GetOutput<span style="color: rgb(0, 0, 0);">());</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerboardFilter<span style="color: rgb(0, 0, 0);">-></span>SetNumberOfDivisions<span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 128);">3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 128);">3</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 128);">1</span><span style="color: rgb(0, 0, 0);">);<br>
<br></span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">Create</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">RenderWindow,</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">Renderer</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">and</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">both</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">Actors</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkRenderer<span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(192, 192, 192);"> </span>ren1<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkRenderer<span style="color: rgb(0, 0, 0);">>::</span>New<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkRenderWindow<span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(192, 192, 192);"> </span>renWin<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>ui<span style="color: rgb(0, 0, 0);">-></span>qvtkWidget<span style="color: rgb(0, 0, 0);">-></span>GetRenderWindow<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>renWin<span style="color: rgb(0, 0, 0);">-></span>AddRenderer<span style="color: rgb(0, 0, 0);">(</span>ren1<span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkImageActor<span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(192, 192, 192);"> </span>checkerActor<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkImageActor<span style="color: rgb(0, 0, 0);">>::</span>New<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerActor<span style="color: rgb(0, 0, 0);">-></span>SetInput<span style="color: rgb(0, 0, 0);">(</span>checkerboardFilter<span style="color: rgb(0, 0, 0);">-></span>GetOutput<span style="color: rgb(0, 0, 0);">());<br>
<br></span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">VTK</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">widgets</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">consist</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">of</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">two</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">parts:</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">widget</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">part</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">that</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">handles</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">event</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">processing;</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">and</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">widget</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">representation</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">that</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">defines</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">how</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">widget</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">appears</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">in</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">scene</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">(i.e.,</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">matters</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">pertaining</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">to</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">geometry).</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkCheckerboardWidget<span style="color: rgb(0, 0, 0);">></span><span style="color: rgb(192, 192, 192);"> </span>checkerWidget<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkSmartPointer<span style="color: rgb(0, 0, 0);"><</span>vtkCheckerboardWidget<span style="color: rgb(0, 0, 0);">>::</span>New<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerWidget<span style="color: rgb(0, 0, 0);">-></span>SetInteractor<span style="color: rgb(0, 0, 0);">(</span>ui<span style="color: rgb(0, 0, 0);">-></span>qvtkWidget<span style="color: rgb(0, 0, 0);">-></span>GetInteractor<span style="color: rgb(0, 0, 0);">());</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>vtkCheckerboardRepresentation<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">*</span>checkerWidgetRep<span style="color: rgb(0, 0, 0);">=</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(128, 128, 0);">static_cast</span><span style="color: rgb(0, 0, 0);"><</span>vtkCheckerboardRepresentation<span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">*></span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 0);">(</span>checkerWidget<span style="color: rgb(0, 0, 0);">-></span>GetRepresentation<span style="color: rgb(0, 0, 0);">());</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerWidgetRep<span style="color: rgb(0, 0, 0);">-></span>SetImageActor<span style="color: rgb(0, 0, 0);">(</span>checkerActor<span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerWidgetRep<span style="color: rgb(0, 0, 0);">-></span>SetCheckerboard<span style="color: rgb(0, 0, 0);">(</span>checkerboardFilter<span style="color: rgb(0, 0, 0);">);<br>
<br></span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">Add</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">actors</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">to</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">renderer,</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">set</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">background</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">and</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">size</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>ren1<span style="color: rgb(0, 0, 0);">-></span>AddActor<span style="color: rgb(0, 0, 0);">(</span>checkerActor<span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>ren1<span style="color: rgb(0, 0, 0);">-></span>SetBackground<span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 128);">0.1</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 128);">0.2</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 128);">0.4</span><span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>renWin<span style="color: rgb(0, 0, 0);">-></span>SetSize<span style="color: rgb(0, 0, 0);">(</span><span style="color: rgb(0, 0, 128);">300</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 0, 128);">300</span><span style="color: rgb(0, 0, 0);">);</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>renWin<span style="color: rgb(0, 0, 0);">-></span>SetInteractor<span style="color: rgb(0, 0, 0);">(</span>ui<span style="color: rgb(0, 0, 0);">-></span>qvtkWidget<span style="color: rgb(0, 0, 0);">-></span>GetInteractor<span style="color: rgb(0, 0, 0);">());<br>
<br></span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">render</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">the</span><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">image</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span><span style="color: rgb(0, 128, 0);">//</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>ui<span style="color: rgb(0, 0, 0);">-></span>qvtkWidget<span style="color: rgb(0, 0, 0);">-></span>GetInteractor<span style="color: rgb(0, 0, 0);">()-></span>Initialize<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>ui<span style="color: rgb(0, 0, 0);">-></span>qvtkWidget<span style="color: rgb(0, 0, 0);">-></span>show<span style="color: rgb(0, 0, 0);">();//or Render();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span>checkerWidget<span style="color: rgb(0, 0, 0);">-></span>On<span style="color: rgb(0, 0, 0);">();</span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><span style="color: rgb(192, 192, 192);"> </span> ui<span style="color: rgb(0, 0, 0);">-></span>qvtkWidget<span style="color: rgb(0, 0, 0);">-></span>GetInteractor<span style="color: rgb(0, 0, 0);">()-></span>Start<span style="color: rgb(0, 0, 0);">();<br>
<br><br>Thank you,<br><br>Jothy<br></span></pre>
<pre style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;"><br></pre></div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>