<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Yumin,<br><br>Thank you very much for your e-mail. After I change the following:<br><br>display1[2] = 0 ;<br><br>the problem still exists. After I click mouse, a line will be drawn, but it isn't perpendicular to the screen; and each time the length is different. Any other suggestions? Many thanks.<br><br>Best regards,<br>Pengdong <br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Wed, 9 Jan 2013 10:31:29 -0500<br>> Subject: Re: [vtkusers] 3D line and coordinate system<br>> From: yumin.yuan@kitware.com<br>> To: xiaopd@hotmail.com<br>> CC: vtkusers@vtk.org; vtk-developers@vtk.org<br>> <br>> The VTK display coordinates' z range is 0 to 1, try this:<br>> <br>>  display1[2] = 0 ;<br>> <br>> HTH,<br>> Yumin<br>> <br>> On Mon, Jan 7, 2013 at 9:16 PM, Pengdong Xiao <xiaopd@hotmail.com> wrote:<br>> > display1[2] = -1 ;<br></div>                                      </div></body>
</html>