<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:微软雅黑
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi everyone,I want to position a point in the model,then i use the codes like this:<div><br><div><div><span class="Apple-tab-span" style="white-space: pre;">        </span>vtkSmartPointer&lt;vtkPointWidget&gt; pointWidget = vtkSmartPointer&lt;vtkPointWidget&gt;::New();</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>pointWidget-&gt;SetPosition(center.x, center.y, 0);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>pointWidget-&gt;SetInteractor(iren);</div><div><span class="Apple-tab-span" style="white-space: pre;">        </span>pointWidget-&gt;On();</div><div><br></div><div><span style="font-size: 12pt;">But the point always appear at the corner of the outline of the model.</span></div><div>So i search the answer in the examples and google, and tried:</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; vtkSmartPointer&lt;vtkPointWidget&gt; pointWidget = vtkSmartPointer&lt;vtkPointWidget&gt;::New();</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="font-size: 12pt;">pointWidget-&gt;</span>PlaceWidget();</div><div><span class="Apple-tab-span" style="white-space: pre;">        </span>pointWidget-&gt;SetPosition(center.x, center.y, 0);</div><div><span class="Apple-tab-span" style="white-space: pre;">        </span>pointWidget-&gt;SetInteractor(iren);</div><div><span class="Apple-tab-span" style="white-space: pre;">        </span>pointWidget-&gt;On();</div></div><div><br></div><div>or some other codes but the problem still. So i wanna know what codes should i use to achieve my goal?</div><div>Thanks!</div><div><br></div>DawnWind.Chen<div>CSU</div><div id="haloword-lookup" class="ui-widget-content ui-draggable"><div id="haloword-title"><span id="haloword-word"></span><a herf="#" id="haloword-pron" class="haloword-button" title="发音"></a><audio id="haloword-audio"></audio><div id="haloword-control-container"><a herf="#" id="haloword-add" class="haloword-button" title="加入单词表"></a><a herf="#" id="haloword-remove" class="haloword-button" title="移出单词表"></a><a href="#" id="haloword-open" class="haloword-button" title="查看单词详细释义" target="_blank"></a><a herf="#" id="haloword-close" class="haloword-button" title="关闭查询窗"></a></div><br style="clear: both;"></div><div id="haloword-content"></div></div></div></div>                                               </div></body>
</html>