<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">hi can any one help me to fix ma program so that&nbsp; i can ajust the size of the Lines&nbsp; that <br>i am drawing between the given points<br>it looks like my problem may be with the vtkTubeFilter<br>when i change the radius of the tube nothing happens <br>how can i add thikness to the lines???<br>thanks again<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: Wes Turner &lt;wes.turner@kitware.com&gt;<br>Para: yadin Bocuma Rivas &lt;conra2004@yahoo.com&gt;<br>CC: VTK &lt;vtkusers@vtk.org&gt;<br>Enviado: martes, 4 de septiembre, 2007 23:33:01<br>Asunto: Re: [vtkusers] I want various cylinders ant input points so that whole picture looks
 like a tube<br><br>Yadin,<br><br>It helps to keep this online as others may be able to offer help when I cannot, and responses to the list get archived for future reference.&nbsp; I don't use Python so I can't give you a program, but the algorithm is pretty simple.&nbsp; To get a tube, create a vtkLineSource called "l" for example, use the SetPoint1(x, y, z) and SetPoint2(x, y, z) member routines of the line source to define the endpoints of your structure.&nbsp; Create a vtkTubeFilter, called "t" for example.&nbsp; Set the input of the tube filter to the output of the "l" "t-&gt;SetInputConnection(l-&gt;GetOutputPort())".&nbsp; The output of t will be the tube you want.&nbsp; You can adjust the radius and number of sides of the tube filter to get the appearance you need.&nbsp; Look at "
<a rel="nofollow" target="_blank" href="http://www.vtk.org/doc/nightly/html/classvtkTubeFilter.html">http://www.vtk.org/doc/nightly/html/classvtkTubeFilter.html</a>" for more details. Repeat for the lines you need.<br><br>- Wes<br><br><div><span class="gmail_quote">
On 9/4/07, <b class="gmail_sendername">yadin Bocuma Rivas</b> &lt;<a rel="nofollow" target="_blank" href="mailto:conra2004@yahoo.com">conra2004@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">no.<br>can you please help me to modify ma program and see how i can use it?
<br>am new with vtk and i just need a plot of something that looks like an array antenna...<br>please help me !<br>all of the examples i could find with vtktubeflter are with tcl and i am using python<br>thank you<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: Wes Turner &lt;<a rel="nofollow" target="_blank" href="mailto:wes.turner@kitware.com">
wes.turner@kitware.com</a>&gt;<br>Para: yadin Bocuma Rivas &lt;<a rel="nofollow" target="_blank" href="mailto:conra2004@yahoo.com">conra2004@yahoo.com</a>&gt;<br>CC: <a rel="nofollow" target="_blank" href="mailto:vtkusers@vtk.org">
vtkusers@vtk.org</a><br>Enviado: martes, 4 de septiembre, 2007 20:56:32<br>Asunto: Re: [vtkusers] I want various cylinders ant input points so that whole picture looks like a tube<span class="q"><br><br>Is there any reason why
 you can't use vtkTubeFilter?<br><br>- Wes<br><br><div><span class="gmail_quote">On 9/4/07, <b class="gmail_sendername">yadin Bocuma Rivas</b> &lt;<a rel="nofollow" target="_blank" href="mailto:conra2004@yahoo.com">
conra2004@yahoo.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi i have this program working...inside the program as you can see in the atached file i have afunction the funtion takes an input various points an plots cylinders at the respective input points which is great. but only one thing is wrong the cylinders point in the wrong direction(rotated 90 degres ). please look at the program and see...i want my cylinders one mounted on top of another...i they are looked at(not zoom) one may see them as one tube...please help 
<br><span><br><p> __________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - <a rel="nofollow" target="_blank" href="http://correo.espanol.yahoo.com/">

http://correo.espanol.yahoo.com/</a> </p></span><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">

http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>R&amp;D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x120
</span></div><br></div></div><span class="q"><br>__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - <a rel="nofollow" target="_blank" href="http://correo.espanol.yahoo.com/">
http://correo.espanol.yahoo.com/</a> </span></div></blockquote></div><br><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>R&amp;D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x120
</div><br></div></div><br>__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/ </body></html>