<pre><tt> yadin> hi can anyone tell me how can i change the dirrection of<br> yadin> arrow in VTK how can i get varius arrows to point to<br> yadin> specific dimensions?<br> <br> yadin> if it is imposible how can i plot lines depending on<br> yadin> theie end points that is i have 40 points and i want to<br> yadin> plot a line beween each two points like if i had 4 point<br> yadin> p1(1,0,0) p2(0,0,1) p3(1,0,1) p4(1,1,1) and i want a point<br> yadin> between point p1 to p2 and other p3 to p4 I want to do this<br> yadin> using python not c++ and on windows.<br> thank You<br></tt></pre> <br><br><b><i>JohnMark <zhaojunxp@hotmail.com></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 , </font><br> <font size="3"> I compiled the example of vtkImageTracerWidget in VC++ 6.0 : TestImageTracerWidget . and it works very well . I can get any regions of the picture . but I want to save the result , my code is as follows :<br><br>vtkImageCast * readerImageCast1 = vtkImageCast::New();<br> // its data from the output of vtkImageStencil<br> readerImageCast1->SetInput((vtkDataObject *)stencil->GetOutput()); <br> readerImageCast1->SetOutputScalarTypeToUnsignedChar();<br>vtkBMPWriter * bmp = vtkBMPWriter::New();<br> bmp->SetInput(readerImageCast1->GetOutput());<br> bmp->SetFileName("C:/test.bmp"); <br> <font color="#0000ff">bmp->Write(); // problem !!!! it does not work any more !</font> <br> bmp->Update();<br><br> 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 I think the widget result is dynamic . but what can I do if I want to get the result like so ?<br><br> waiting for your answer and thank you very much ! <br><br> 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> __________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/