[vtkusers] Rv: vtkTubefilter; how to increase thickness of lines

yadin Bocuma Rivas conra2004 at yahoo.com
Tue Sep 4 21:13:50 EDT 2007


hi can any one help me to fix the problem i am having with tubefilter...?
i cant manage to increse the thickness of my lines

----- Mensaje reenviado ----
De: yadin Bocuma Rivas <conra2004 at yahoo.com>
Para: Wes Turner <wes.turner at kitware.com>; vtkusers at vtk.org
Enviado: miércoles, 5 de septiembre, 2007 3:08:53
Asunto: vtkTubefilter

hi can any one help me to fix ma program so that  i can ajust the size of the Lines  that 
i am drawing between the given points
it looks like my problem may be with the vtkTubeFilter
when i change the radius of the tube nothing happens 
how can i add thikness to the lines???
thanks again


----- Mensaje original ----
De: Wes Turner <wes.turner at kitware.com>
Para: yadin Bocuma Rivas <conra2004 at yahoo.com>
CC: VTK <vtkusers at vtk.org>
Enviado: martes, 4 de septiembre, 2007 23:33:01
Asunto: Re: [vtkusers] I want various cylinders ant input points so that whole picture looks
 like a tube

Yadin,

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.  I don't use Python so I can't give you a program, but the algorithm is pretty simple.  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.  Create a vtkTubeFilter, called "t" for example.  Set the input of the tube filter to the output of the "l" "t->SetInputConnection(l->GetOutputPort())".  The output of t will be the tube you want.  You can adjust the radius and number of sides of the tube filter to get the appearance you need.  Look at "
http://www.vtk.org/doc/nightly/html/classvtkTubeFilter.html" for more details. Repeat for the lines you need.

- Wes


On 9/4/07, yadin Bocuma Rivas <conra2004 at yahoo.com> wrote:
no.
can you please help me to modify ma program and see how i can use it?

am new with vtk and i just need a plot of something that looks like an array antenna...
please help me !
all of the examples i could find with vtktubeflter are with tcl and i am using python
thank you


----- Mensaje original ----
De: Wes Turner <
wes.turner at kitware.com>
Para: yadin Bocuma Rivas <conra2004 at yahoo.com>
CC: 
vtkusers at vtk.org
Enviado: martes, 4 de septiembre, 2007 20:56:32
Asunto: Re: [vtkusers] I want various cylinders ant input points so that whole picture looks like a tube

Is there any reason why
 you can't use vtkTubeFilter?

- Wes

On 9/4/07, yadin Bocuma Rivas <
conra2004 at yahoo.com
> wrote: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 


 __________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - 

http://correo.espanol.yahoo.com/ 

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: 

http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:

http://www.vtk.org/mailman/listinfo/vtkusers






-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120





__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - 
http://correo.espanol.yahoo.com/ 




-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120





__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 




__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070904/d677c8d4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cylinders.py
Type: text/x-python
Size: 1964 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070904/d677c8d4/attachment.py>


More information about the vtkusers mailing list