Discussion:
[ITK-users] Combine Polydata
Shrabani Ghosh
2018-07-26 14:47:51 UTC
Permalink
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

<Loading Image...>




--
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
Dženan Zukić
2018-07-26 15:29:03 UTC
Permalink
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ÅŸenan
Post by Shrabani Ghosh
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.png>
--
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Dženan Zukić
2018-07-26 15:42:49 UTC
Permalink
You probably need to supply the transform to have the proper alignment
after merging the meshes.
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.
Post by Dženan Zukić
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ÅŸenan
Post by Shrabani Ghosh
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.png>
--
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Dženan Zukić
2018-07-26 15:51:10 UTC
Permalink
How about this
<https://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TransformPolyData>?
Okay. Is there any similar kind of example given vtk?
Post by Dženan Zukić
You probably need to supply the transform to have the proper alignment
after merging the meshes.
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.
Post by Dženan Zukić
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ÅŸenan
Post by Shrabani Ghosh
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.png>
--
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
http://www.kitware.com/products/protraining.php
http://www.itk.org/Wiki/ITK_FAQ
https://itk.org/mailman/listinfo/insight-users
Loading...