[vtkusers] How to create triangle strips?

Hugo Valdebenito hugo at maptek.cl
Fri Nov 19 08:39:31 EST 2010


Hi all,

Someone can help me to understand how to create a triangle strips on VTK.

for example on the follow mesh:

0 ------ 3 ------- 6
 |   /    |     /    |
1 ------ 4 ------- 7
 |   /    |    /     |
2 ------ 5 ------- 8


And then I can define for example the follow triangle strips:

Strip1:  0 - 1 - 3 - 4 - 6 - 7
Strip2.  1 - 2 - 4 - 5 - 7 - 8

I need to define a 3D mesh by triangle strips on VTK like as example and
show it?

I found no clear examples :(

Please, someone can give me an example to use vtk and show that simple
example?


Hugo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101119/60279c14/attachment.htm>


More information about the vtkusers mailing list