<pre><tt>    yadin&gt; hi can anyone tell me how can i change the dirrection of<br>    yadin&gt; arrow in VTK how can i get varius arrows to point to<br>    yadin&gt; specific dimensions?<br>   <br>    yadin&gt;   if it is imposible how can i plot lines depending on<br>    yadin&gt; theie end points that is i have 40 points and i want to<br>    yadin&gt; plot a line beween each two points like if i had 4 point<br>    yadin&gt; p1(1,0,0) p2(0,0,1) p3(1,0,1) p4(1,1,1) and i want a point<br>    yadin&gt; between point p1 to p2 and other p3 to p4 I want to do this<br>    yadin&gt; using python not c++ and on windows.<br>            thank You<br></tt></pre>  <br><br><b><i>JohnMark &lt;zhaojunxp@hotmail.com&gt;</i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">      <style>  .hmmessage P  {  margin:0px;  padding:0px  }  body.hmmessage  {  FONT-SIZE: 9pt;  FONT-FAMILY:Tahoma  }  </style>  <font
 size="3">Hi ,&nbsp;</font><br>  <font size="3">&nbsp;&nbsp; I compiled the example of  vtkImageTracerWidget in VC++ 6.0 : TestImageTracerWidget . and it  works&nbsp;very well . I can get any regions of the picture . but I  want to save the result , my code is as&nbsp;follows :<br><br>vtkImageCast * readerImageCast1 = vtkImageCast::New();<br>&nbsp;&nbsp;&nbsp; // its data from the output of vtkImageStencil<br>&nbsp;&nbsp;&nbsp; readerImageCast1-&gt;SetInput((vtkDataObject *)stencil-&gt;GetOutput()); <br>&nbsp;&nbsp;&nbsp; readerImageCast1-&gt;SetOutputScalarTypeToUnsignedChar();<br>vtkBMPWriter * bmp = vtkBMPWriter::New();<br>&nbsp;&nbsp;&nbsp; bmp-&gt;SetInput(readerImageCast1-&gt;GetOutput());<br>&nbsp;&nbsp;&nbsp; bmp-&gt;SetFileName("C:/test.bmp");&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <font color="#0000ff">bmp-&gt;Write(); // problem !!!! it does not work any more !</font>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; bmp-&gt;Update();<br><br>&nbsp;&nbsp;&nbsp;  I use
 vtkImageCast to change the image type before I save the result .  but what I get is just a black line ( even though I use the Update()  method ), I want save the result within a spline after I draw the  spline on the picture .maybe many writer classes , like vtkBMPWriter ,  couldn't save the dynamic result . because&nbsp;I think the widget  result is dynamic . but what can I do if I want to get the result like  so ?<br><br>&nbsp;&nbsp;&nbsp; waiting for your answer and thank you very much ! <br><br>&nbsp;&nbsp;&nbsp;&nbsp; Mark</font><br><br><hr>Windows Live Writer ÈÃÄú¸æ±ð¹êËÙÍøÂ磬ÇáËÉдÈÕÖ¾£¡ <a href="http://writer.live.com/" target="_new">Á¢¼´Ê¹Óã¡</a>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to
 subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></blockquote><br><p>&#32;__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/