Hi,<br><br>I want to have two sphere widgets with the same interactor. The code I have written like this..<br><br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">iren-&gt;SetInteractorStyle(vtkInteractorStyleTerrain::New());</p>
<p style="margin: 0px; text-indent: 0px;">//      pointwidget1-&gt;SetInteractor(iren);</p>
<p style="margin: 0px; text-indent: 0px;">//    pointwidget1-&gt;PlaceWidget();</p>
<p style="margin: 0px; text-indent: 0px;">//     pointwidget2-&gt;SetInteractor(iren);</p>
<p style="margin: 0px; text-indent: 0px;">//    pointwidget2-&gt;PlaceWidget();</p>
<p style="margin: 0px; text-indent: 0px;">//    linewidget1-&gt;SetInteractor(iren);</p>
<p style="margin: 0px; text-indent: 0px;">//    linewidget1-&gt;PlaceWidget();</p>
<p style="margin: 0px; text-indent: 0px;">//    linewidget2-&gt;SetInteractor(iren);</p>
<p style="margin: 0px; text-indent: 0px;">//    linewidget2-&gt;PlaceWidget();</p>
<p style="margin: 0px; text-indent: 0px;">    spherewidget1-&gt;SetInteractor(iren);</p>
<p style="margin: 0px; text-indent: 0px;">    spherewidget1-&gt;PlaceWidget();</p>
<p style="margin: 0px; text-indent: 0px;">    spherewidget1-&gt;SetCenter(10,10,-100);</p>
<p style="margin: 0px; text-indent: 0px;">    spherewidget1-&gt;SetPriority(0.2);</p>
<p style="margin: 0px; text-indent: 0px;">     spherewidget2-&gt;SetInteractor(iren);</p>
<p style="margin: 0px; text-indent: 0px;">    spherewidget2-&gt;PlaceWidget();</p>
<p style="margin: 0px; text-indent: 0px;">    spherewidget2-&gt;SetCenter(0,0,-100);</p>
<p style="margin: 0px; text-indent: 0px;">spherewidget2-&gt;SetPriority(0.5);</p>
<p style="margin: 0px; text-indent: 0px;">    iren-&gt;Initialize();</p>
<p style="margin: 0px; text-indent: 0px;">    iren-&gt;Start();</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">Each sphere widget is working fine when used individually. But when I tried to have both of them only one is coming. And it is the same for point and line widgets also..</p>
<p style="margin: 0px; text-indent: 0px;">Some one plz help on this. Thanx in advance..</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">Regards,</p><p style="margin: 0px; text-indent: 0px;">
Satya..<br></p>