<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I'm using the vtk example here: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot</a><br>and I found out that the cosine line is not shown with the original code. Further debugging showed that the following line caused the problem:<br><pre class="de1">line<span class="sy2">-</span><span class="sy1">></span>GetPen<span class="br0">(</span><span class="br0">)</span><span class="sy2">-</span><span class="sy1">></span>SetLineType<span class="br0">(</span><span class="nu0">2</span><span class="br0">)</span><span class="sy4">;<br><br>It looked to me that any line type other than the default one will fail to draw correctly.<br>Can anyone give a solution?<br><br>Environment:<br>Win7 x64<br>vtk 5.10<br><br>Lewes<br></span></pre><br>                                            </div></body>
</html>