<div dir="ltr">Try p0 = {0.0, 0.0, <span style="color: rgb(255, 0, 0);">100.0</span>},p1 = {0.0, 100.0, <span style="color: rgb(255, 0, 0);">100.0</span>} or -100 make sure your z corodinate of the line is always greater such that the line is always above the image actor.<br>
<br><br>Jothy<br><br><div class="gmail_quote">2010/10/20 myaqua1982 <span dir="ltr"><<a href="mailto:myaqua1982@163.com">myaqua1982@163.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="margin: 10px; font-family: verdana; font-size: 10pt;">
<div><font face="Verdana" size="2">Hi, </font></div>
<div> </div>
<div>I have shown Dicom images in vtkImageViewer2. And now I want to add lines
in the viewer . Such as , I click left button to select two point ,and then show
the line defined by these two points. The problem is that the line can not show
above the image. When I set p0 = {0.0, 0.0, 0.0},p1 = {0.0, 100.0, 0.0},the line
can be shown in the leftmost of the image (it looks like Y axes). But when
I change p1 = {20.0, 100.0, 0.0}, the line can not show. What is the
problem? Please give me some help. Thank you very much!</div>
<div><font face="Verdana" size="2"></font> </div>
<div align="left"><font color="#c0c0c0" face="Verdana" size="2">2010-10-20
</font></div><font face="Verdana" size="2">
<hr style="width: 122px; min-height: 2px;" align="left" size="2">
<div><font color="#c0c0c0" face="Verdana" size="2"><span>myaqua1982</span>
</font></div></font></div>
<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">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" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>