Re: [ITK-users] Combine Polydata
Dženan Zukić <[email protected]> Thu, 26 Jul 2018 11:51:10 -0400
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CAPf2UMTjrpvh7+gVgv6EAtYnCk+27ymMJN6QyCUsNMmc4DWA8g@mail.gmail.com> |
--===============0750104939== Content-Type: multipart/alternative; boundary="00000000000095a99c0571e8f7b6" --00000000000095a99c0571e8f7b6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable How about this <https://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TransformPolyData>? On Thu, Jul 26, 2018 at 11:49 AM Shrabani Ghosh <[email protected]> wrote: > Okay. Is there any similar kind of example given vtk? > > On Thu, Jul 26, 2018 at 11:43 AM D=C5=BEenan Zuki=C4=87 <[email protected]= m> wrote: > >> You probably need to supply the transform to have the proper alignment >> after merging the meshes. >> >> On Thu, Jul 26, 2018 at 11:37 AM Shrabani Ghosh <[email protected]> >> wrote: >> >>> Okay. I can post it in the VTK users. The code did not as I wanted. I >>> want the two polydata will overlap onto each other.. and fit together. >>> Like image 1, 2 combine together and created 3. >>> >>> >>> On Thu, Jul 26, 2018 at 11:29 AM D=C5=BEenan Zuki=C4=87 <dzenanz@gmail.= com> wrote: >>> >>>> Hi Shrabani, >>>> >>>> I think you might have posted to the wrong list. Perhaps you wanted >>>> vtk-users <https://www.vtk.org/mailman/listinfo/vtkusers>? >>>> >>>> Also, your question is not clear enough. Did that code work or not? If >>>> not, how was the result different from your expectation. >>>> >>>> Regards, >>>> D=C5=BEenan >>>> >>>> On Thu, Jul 26, 2018 at 10:47 AM Shrabani Ghosh <[email protected]= m> >>>> wrote: >>>> >>>>> I want to combine two vtk file together so that they can stick >>>>> together. But >>>>> after combining them I can see that they did stick together with same >>>>> world >>>>> coordinate. I used this code. How to do that? >>>>> >>>>> https://itk.org/Wiki/VTK/Examples/Cxx/Filtering/CombinePolyData >>>>> >>>>> < >>>>> http://itk-insight-users.2283740.n2.nabble.com/file/t396636/Capture.p= ng> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sent from: http://itk-insight-users.2283740.n2.nabble.com/ >>>>> The ITK community is transitioning from this mailing list to >>>>> discourse.itk.org. Please join us there! >>>>> ________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Kitware offers ITK Training Courses, for more information visit: >>>>> http://www.kitware.com/products/protraining.php >>>>> >>>>> Please keep messages on-topic and check the ITK FAQ at: >>>>> http://www.itk.org/Wiki/ITK_FAQ >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> https://itk.org/mailman/listinfo/insight-users >>>>> >>>> --00000000000095a99c0571e8f7b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,= sans-serif;font-size:small"> <span style=3D"background-color:rgb(255,255,255);text-decoration-style:init= ial;text-decoration-color:initial;float:none;display:inline">How about<span= >=C2=A0</span></span><a href=3D"https://www.vtk.org/Wiki/VTK/Examples/Cxx/F= iltering/TransformPolyData" target=3D"_blank" style=3D"color:rgb(17,85,204)= ;background-color:rgb(255,255,255)">this</a><span style=3D"background-color= :rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initi= al;float:none;display:inline">?</span><br></div></div><br><div class=3D"gma= il_quote"><div dir=3D"ltr">On Thu, Jul 26, 2018 at 11:49 AM Shrabani Ghosh = <<a href=3D"mailto:[email protected]">[email protected]</a>>= ; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .= 8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Okay. Is = there any similar kind of example=C2=A0 given vtk?</div><br><div class=3D"g= mail_quote"><div dir=3D"ltr">On Thu, Jul 26, 2018 at 11:43 AM D=C5=BEenan Z= uki=C4=87 <<a href=3D"mailto:[email protected]" target=3D"_blank">dzenan= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir= =3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,sans-ser= if;font-size:small">You probably need to supply the transform to have the p= roper alignment after merging the meshes.</div></div><br><div class=3D"gmai= l_quote"><div dir=3D"ltr">On Thu, Jul 26, 2018 at 11:37 AM Shrabani Ghosh &= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">srbn.ghosh99= @gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir= =3D"ltr"> <span style=3D"font-size:small;text-decoration-style:initial;text-decoratio= n-color:initial;float:none;display:inline">Okay. I can post it in the VTK u= sers. The code did not as I wanted. I want the two polydata will overlap on= to each other.. and fit together.=C2=A0=C2=A0</span>=C2=A0 Like image 1, 2 = combine together and created 3.=C2=A0<br><div><br></div></div><br><div clas= s=3D"gmail_quote"><div dir=3D"ltr">On Thu, Jul 26, 2018 at 11:29 AM D=C5=BE= enan Zuki=C4=87 <<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote"= style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d= iv dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,sa= ns-serif;font-size:small">Hi Shrabani,</div><div class=3D"gmail_default" st= yle=3D"font-family:verdana,sans-serif;font-size:small"><br></div><div class= =3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-size:small"= >I think you might have posted to the wrong list. Perhaps you wanted <a hre= f=3D"https://www.vtk.org/mailman/listinfo/vtkusers" target=3D"_blank">vtk-u= sers</a>?</div><div class=3D"gmail_default" style=3D"font-family:verdana,sa= ns-serif;font-size:small"><br></div><div class=3D"gmail_default" style=3D"f= ont-family:verdana,sans-serif;font-size:small">Also, your question is not c= lear enough. Did that code work or not? If not, how was the result differen= t from your expectation.</div><div class=3D"gmail_default" style=3D"font-fa= mily:verdana,sans-serif;font-size:small"><br></div><div class=3D"gmail_defa= ult" style=3D"font-family:verdana,sans-serif;font-size:small">Regards,</div= ><div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-= size:small">D=C5=BEenan</div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr">On Thu, Jul 26, 2018 at 10:47 AM Shrabani Ghosh <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>>= ; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .= 8ex;border-left:1px #ccc solid;padding-left:1ex">I want to combine two vtk = file together so that they can stick together. But<br> after combining them I can see that they did stick together with same world= <br> coordinate. I used this code. How to do that?<br> <br> <a href=3D"https://itk.org/Wiki/VTK/Examples/Cxx/Filtering/CombinePolyData"= rel=3D"noreferrer" target=3D"_blank">https://itk.org/Wiki/VTK/Examples/Cxx= /Filtering/CombinePolyData</a><br> <br> <<a href=3D"http://itk-insight-users.2283740.n2.nabble.com/file/t396636/= Capture.png" rel=3D"noreferrer" target=3D"_blank">http://itk-insight-users.= 2283740.n2.nabble.com/file/t396636/Capture.png</a>> <br> <br> <br> <br> <br> --<br> Sent from: <a href=3D"http://itk-insight-users.2283740.n2.nabble.com/" rel= =3D"noreferrer" target=3D"_blank">http://itk-insight-users.2283740.n2.nabbl= e.com/</a><br> The ITK community is transitioning from this mailing list to <a href=3D"htt= p://discourse.itk.org" rel=3D"noreferrer" target=3D"_blank">discourse.itk.o= rg</a>. Please join us there!<br> ________________________________<br> Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"= _blank">www.kitware.com</a><br> <br> Visit other Kitware open-source projects at<br> <a href=3D"http://www.kitware.com/opensource/opensource.html" rel=3D"norefe= rrer" target=3D"_blank">http://www.kitware.com/opensource/opensource.html</= a><br> <br> Kitware offers ITK Training Courses, for more information visit:<br> <a href=3D"http://www.kitware.com/products/protraining.php" rel=3D"noreferr= er" target=3D"_blank">http://www.kitware.com/products/protraining.php</a><b= r> <br> Please keep messages on-topic and check the ITK FAQ at:<br> <a href=3D"http://www.itk.org/Wiki/ITK_FAQ" rel=3D"noreferrer" target=3D"_b= lank">http://www.itk.org/Wiki/ITK_FAQ</a><br> <br> Follow this link to subscribe/unsubscribe:<br> <a href=3D"https://itk.org/mailman/listinfo/insight-users" rel=3D"noreferre= r" target=3D"_blank">https://itk.org/mailman/listinfo/insight-users</a><br> </blockquote></div> </blockquote></div> </blockquote></div> </blockquote></div> </blockquote></div> --00000000000095a99c0571e8f7b6-- --===============0750104939== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there! ________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: https://itk.org/mailman/listinfo/insight-users --===============0750104939==--