[vtkusers] Re: Regarding surface reconstruction from point cloud in VTK

Wei Woo weiwoo11 at yahoo.com
Thu Nov 1 03:58:24 EDT 2007


Hello,
         Thanks for the tips regarding deleting an element from vtkArray.
   I have another question regarding construction of the surface.I have some points which are organised into stripes- may not be parallel. Points are not organized, when combined they may represent objects with holes inside or any irregular data structures. Now my question is what is the best way to construct surface from this kind of structures. Creating polys manully works well for simple data but when data is a bit complex, this does not work and I did not find any generalised way to do this for complex data. I tried with vtkSurfaceReconstructionFilter, but not satisfied as point clouds and constructed surface sometimes do not look alike. What about vtkPowerCrust? Can anyone tell me which way fiits the best for this case?
  Regards,
  Wei.

Anka Kochanowska <anka at bic.mni.mcgill.ca> wrote:
  Do not be afraid of TCL. Reading the code is very easy, just look at it. 
Maybe compare code of an example that is both in C++ and TCL, you will 
very soon get used to it.
Grab any TCL download from the WEB, follow the installation 
instructions.You should build vtk wrapping TCL, so just do 
(...)/bin/vtk file.tcl.
Anka

saipritham wrote:

>Dear All,
> Iam very new to VTK and I have a similar problem. Could some one
>please direct a working example in C++.
>
>The example mentioned is in TCL.I am presently working on VS and i am
>looking for a working example in C++
>
>Also, could some one help me in converting TCL code to C++ analogy. How do i
>run TCL?
>
>
>Thanks a lot
>Sai 
>
>
>
>
>
>
>
>Ismail Elkhrachy wrote:
> 
>
>>murali kuna wrote:
>> 
>>
>>>Dear Ismail,
>>> 
>>> Can you please help me in the surface reconstruction 
>>>problem.I am having a point cloud (x,y,z) locations in 3D. I have to 
>>>create a surface from that point cloud. Can you please help me how to 
>>>do this in VTK. I am attaching the text document that contains the 3D 
>>>locations of the points with columns specify the x,y,z coordinates.
>>> 
>>> Thanks in advance.
>>> 
>>> 
>>>with regards
>>>murali.kuna
>>> 
>>> 
>>>
>>>------------------------------------------------------------------------
>>>Find out what India is talking about on - Yahoo! Answers India 
>>>
>>>Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. 
>>>Get it NOW 
>>> 
>>>
>>>------------------------------------------------------------------------
>>>
>>>-15.3132 -48.5375 -19.1005
>>>-24.6927 -58.7607 -51.0201
>>>-53.5381 -40.99 -47.7895
>>>-60.4989 -37.0847 -48.692
>>>-62.5269 -36.1658 -48.4515
>>>-53.7276 -35.8801 -44.3306
>>>-49.0656 -27.8981 -44.6875
>>>-46.4507 -21.0743 -44.8395
>>>-23.2007 -37.5067 -44.9793
>>>-23.254 -58.2916 -54.2331
>>>-24.3897 -55.4968 -54.6207
>>>-19.983 -63.2913 -54.438
>>>-22.664 -55.581 -55.7141
>>>-18.9579 -53.335 -54.3466
>>>-25.1648 -68.3347 -45.3731
>>>-21.7973 -66.4332 -46.8981
>>>-21.9081 -4.60033 -20.1566
>>>-19.3826 -10.9609 -11.7261
>>>-19.6212 -11.0188 -11.9289
>>>-20.3589 -11.8816 -21.9849
>>>-22.3951 -13.1618 -29.4319
>>>-17.5942 -18.293 -29.7664
>>>-14.0529 -28.2816 -32.2194
>>>-15.9832 -24.8981 -34.9349
>>>-16.5951 -32.2236 -39.7626
>>>-11.7985 -39.1311 -37.4521
>>>-15.095 -58.2294 -40.4553
>>>-25.6018 -81.8494 -33.4189
>>>-28.3902 -83.2021 -32.679
>>>-27.3883 -84.8447 -30.7829
>>>-52.3082 -75.3201 -43.1788
>>>-51.9746 -73.1331 -43.3878
>>>-59.9665 -68.4687 -44.4879
>>>-63.9401 -68.3036 -43.575
>>>-62.935 -64.1225 -45.287
>>>-69.3292 -52.4423 -46.9391
>>>-69.014 -49.2838 -48.539
>>>-71.5849 -44.2272 -49.5366
>>>-64.5873 -44.0273 -47.5144
>>>-73.4874 -38.6268 -46.9221
>>>-73.2674 -36.8797 -46.8127
>>>-60.3645 -35.5447 -43.5398
>>>-41.0401 -22.7522 -44.0808
>>>-40.0059 -20.1561 -43.7947
>>>-37.931 -75.7198 -14.6184
>>>-38.3014 -75.8031 -14.4249
>>>-39.5708 -80.2093 -11.5211
>>>-79.0023 -36.865 -31.4773
>>>-79.2889 -38.0171 -30.9088
>>>-76.5653 -41.7737 -25.3504
>>>-35.923 -71.2614 -11.2483
>>>-41.1814 -66.8657 -11.8254
>>>-51.9656 -46.7162 -15.8561
>>>-55.5637 -37.2839 -17.6058
>>>-56.2011 -35.3109 -18.877
>>>-54.9298 -36.4001 -16.9508
>>>-49.6226 -37.8879 -14.6085
>>>-26.1596 -15.6745 -13.5708
>>>-21.0667 -21.1972 -6.62659
>>>-25.4906 -16.6626 -13.0677
>>>-29.0853 -18.9612 -13.9734
>>>-21.2948 -29.2704 -8.00803
>>>-26.221 -23.1836 -9.9903
>>>-27.1278 -15.6761 -8.15604
>>>-47.3306 -40.9087 -13.1216
>>>-15.6826 -27.3042 -19.9435
>>>-34.2624 -19.0843 -19.5786
>>>-26.2104 -68.4784 -48.6368
>>>-62.5659 -40.8889 -49.6636
>>>-39.9545 -55.0922 -52.6696
>>>-48.0532 -73.9058 -42.7232
>>>-70.538 -71.7311 -42.552
>>>-70.8902 -71.6452 -42.4364
>>>-65.206 -76.9467 -39.8191
>>>-67.1722 -74.2311 -41.781
>>>-74.717 -62.7898 -50.011
>>>-74.717 -62.7898 -50.011
>>>-74.717 -62.7898 -50.011
>>>-74.717 -62.7898 -50.011
>>>-75.357 -61.62 -50.5794
>>>-63.0021 -54.8026 -48.326
>>>-73.3099 -51.5001 -50.7797
>>>-24.1063 -67.8018 -43.5822
>>>-36.9065 -22.5993 -39.5359
>>>-35.0599 -15.5504 -36.287
>>>-34.7649 -15.235 -35.2104
>>>-33.2899 -18.0444 -33.5633
>>>-34.1381 -15.9839 -34.9431
>>>-65.7059 -34.4236 -24.3274
>>>-60.9207 -37.9851 -20.2702
>>>-58.6644 -41.1217 -17.4352
>>>-75.3023 -49.2172 -46.5947
>>>-73.1916 -52.292 -46.3261
>>>-73.4857 -52.8462 -45.9416
>>>-80.6646 -43.3094 -37.0158
>>>-83.1769 -45.6942 -46.0363
>>>-84.1087 -46.186 -33.0227
>>>-85.6682 -55.885 -29.8012
>>>-84.6544 -67.2023 -27.116
>>>-85.527 -60.4318 -26.3543
>>>-79.8501 -71.3924 -36.0193
>>>-73.8632 -53.2026 -47.0972
>>>-70.8058 -60.6018 -44.966
>>>-73.6307 -68.9364 -45.3029
>>>-71.775 -73.397 -43.1312
>>>-45.01 -55.737 -50.6109
>>>-52.3519 -47.6041 -51.5004
>>>-85.6606 -53.0533 -27.7787
>>>-82.5662 -47.8126 -23.4433
>>>-83.7273 -47.664 -27.3021
>>>-80.2751 -42.5674 -40.177
>>>-76.5365 -38.8288 -24.7853
>>>-72.2973 -38.4002 -19.557
>>>-75.5021 -69.8566 -44.8403
>>>-74.5438 -67.6697 -46.2483
>>>-74.8959 -58.9295 -50.3162
>>>-79.9985 -73.3512 -38.6937
>>>-83.4004 -64.8501 -34.0624
>>>-85.2287 -58.3869 -33.0872
>>>-87.873 -54.2097 -31.9646
>>>-81.5342 -45.8635 -44.3582
>>>-80.9885 -52.6827 -47.0506
>>>-76.9498 -63.7505 -50.5776
>>>-81.1036 -72.6023 -44.1744
>>>-82.1153 -68.1152 -43.4155
>>>-82.2892 -66.5327 -31.7747
>>>-81.5806 -47.7003 -30.3421
>>>-76.1493 -41.3394 -35.3434
>>>-78.949 -45.1089 -42.0359
>>>-78.6424 -45.1904 -44.388
>>>-75.3888 -42.6605 -34.2269
>>>-41.5656 -33.7628 -50.1509
>>>-39.3532 -29.8831 -48.5824
>>>-37.4289 -29.5859 -48.5824
>>>-32.7079 -30.9484 -49.0895
>>>-27.6917 -32.7229 -48.9474
>>>-27.9246 -29.8606 -48.6352
>>>-29.2154 -28.0166 -47.2388
>>>-33.4301 -38.8709 -48.7533
>>>-29.2633 -33.2829 -47.5575
>>>-14.1426 -26.2842 -43.0246
>>>-12.0658 -32.5148 -40.384
>>>-13.8539 -39.0849 -45.2996
>>>-15.0614 -45.2048 -47.3178
>>>-26.3783 -18.9156 -38.6158
>>>-22.2158 -20.9171 -32.5338
>>>-24.8937 -14.1927 -36.8927
>>>-18.6357 -22.9622 -33.0949
>>>-37.6972 -24.3467 -41.3484
>>>-34.2343 -24.474 -42.2725
>>>-44.0477 -47.9314 -50.3285
>>>-38.2135 -47.9461 -50.1335
>>>-38.5531 -57.987 -50.706
>>>-18.7201 -58.0683 -46.3044
>>>-14.8541 -45.9524 -33.0264
>>>-42.3023 -55.5904 -51.1085
>>>-43.1293 -49.3323 -50.015
>>>-34.1596 -33.5507 -47.9661
>>>-28.4857 -39.2014 -44.8762
>>>-35.1931 -54.4481 -47.2349
>>>-42.7083 -55.6583 -48.7628
>>>-37.4512 -57.4793 -47.7379
>>>-33.7594 -65.1592 -44.9046
>>>-27.7403 -62.7486 -44.5149
>>>-36.3341 -27.4112 -43.2645
>>>-23.9813 -35.8812 -41.8482
>>>-30.822 -48.3199 -48.3565
>>>-31.1229 -52.0986 -51.3021
>>>-30.9119 -58.6207 -50.4914
>>>-41.2731 -62.3421 -49.2255
>>>-34.9644 -70.4158 -46.9936
>>>-44.0569 -37.236 -45.2383
>>>-30.1168 -28.1227 -44.4972
>>>-36.3116 -41.4595 -50.866
>>>-44.9187 -45.3819 -52.3119
>>>-48.8089 -47.8788 -51.8262
>>>-51.1864 -39.726 -50.6524
>>>-45.3048 -34.3323 -48.8416
>>>-34.9685 -30.5372 -48.2668
>>>-29.7542 -43.7687 -47.224
>>>-31.1238 -51.1637 -48.3063
>>>-29.1083 -61.9127 -45.6304
>>>-30.7722 -42.3342 -49.837
>>>-31.3412 -35.9524 -46.4553
>>>-26.9857 -34.8879 -46.6803
>>>-29.4396 -49.5558 -47.8927
>>>-31.5993 -53.4932 -49.8133
>>>-29.8134 -44.3027 -45.865
>>>-29.95 -47.3311 -47.6491
>>>-34.4382 -44.009 -48.3298
>>>-29.7824 -57.6831 -44.9023
>>>-33.9699 -60.4387 -47.8645
>>>-30.7376 -41.335 -54.3404
>>>-30.8674 -41.7893 -52.798
>>>-32.2062 -59.3381 -50.6543
>>>-31.9438 -43.4262 -53.1648
>>>-31.4696 -51.8199 -52.7129
>>>-32.9053 -55.642 -53.0324
>>> 
>>> 
>>>
>>Look at \VTK\Examples\Modelling\Tcl\ reconstructSurface.tcl
>>
>>-- 
>>M.Sc. Ismail Elkhrachy
>>PhD student
>>
>>Institut für Geodäsie und Photogrammetrie
>>Technische Universität Braunschweig
>>Gaußstr. 22 
>>38106 Braunschweig 
>>Germany
>>
>>Mob. : 0049 0163 3623486
>>Tel. : 0049 0531 3917497
>>Fax : 0049 0531 3917499
>>E-mail : I.Elkhrachy at tu-bs.de, I.Elkhrachy at 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
>>
>>
>> 
>>
>
> 
>
_______________________________________________
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


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071101/072064da/attachment.htm>


More information about the vtkusers mailing list