[vtkusers] medial line extraction
Bayliss, Chris (Chicago)
cbayliss at gnresound.com
Fri May 11 14:33:07 EDT 2012
I was able to resolve my issue with the vtkPowerCrustSurfaceReconstruction Filter. Following these steps suggested by Tim Hutton, in combination with linking vtkinfovis in the cmakelists file of my project fixed the problem.
1. add the .cxx and .h files to the Graphics Library
2. add the line vtkPowerCrustSurfaceReconstruction.cxx to the CMakeLists.txt in the Graphics directory.
3. If you have VTK 5.8 or later, you do not need to comment out the VTK_GRAPHICS_EXPORT line of the .h file.
4. Add vtkinfovis to the Link_Libraries line of the cmakelists file of your project.
5. Re-build VTK, and re-build your project with cmake.
I was able to get the medial sheet and axis of a polydata shape using the vtkPowerCrustSurfaceReconstruction filter and the vtkDijkstraGraphGeodesicPath filer.
Chris
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Bayliss, Chris (Chicago)
Sent: Friday, May 11, 2012 10:15 AM
To: João Domingos; vtkusers at vtk.org
Subject: Re: [vtkusers] medial line extraction
Joao,
To my knowledge, the vtkPowerCrustSurfaceReconstruction filter can calculate the medial sheet of a shape. From the medial sheet, the medial axis can be found using vtkDijkstraGraphGeodesicPath.
The Powercrust filter is not part of the standard VTK release, so you need to add this class to your library. I have not been able to successfully implement the Powercurst filter personaly.
Perhaps, someone who has used it could provide some detailed instructions, such as: the folder they added it to, exact modifications to the cmake.lists files, and any additional steps required to implement this filter. I have found some instructions on the mailing list and on some discussion boards, but so far it has not worked for me.
Regards,
Chris
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of João Domingos
Sent: Friday, May 11, 2012 3:21 AM
To: vtkusers at vtk.org
Subject: [vtkusers] medial line extraction
Good morning everyone!
Currently I find 3D deformable models (meshes) of slightly different shapes in my datasets. What I need now, is a way to extract the central line/medial axis of those meshes or surfaces (I have both). From your knowledge what is out there already implemented that can do this (preferably in a quick way)?
Many thanks,
Joao
**** GN GROUP NOTICE - AUTOMATICALLY INSERTED ****
The information in this e-mail (including attachments, if any) is considered confidential and is intended only for the recipient(s) listed above. Any review, use, disclosure, distribution or copying of this e-mail is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify me immediately by reply e-mail, delete this e-mail, and do not disclose its contents to anyone. Any opinions expressed in this e-mail are those of the individual and not necessarily the GN group. Thank you.
******************** DISCLAIMER END ************************
**** GN GROUP NOTICE - AUTOMATICALLY INSERTED ****
The information in this e-mail (including attachments, if any) is considered confidential and is intended only for the recipient(s) listed above. Any review, use, disclosure, distribution or copying of this e-mail is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify me immediately by reply e-mail, delete this e-mail, and do not disclose its contents to anyone. Any opinions expressed in this e-mail are those of the individual and not necessarily the GN group. Thank you.
******************** DISCLAIMER END ************************
**** GN GROUP NOTICE - AUTOMATICALLY INSERTED ****
The information in this e-mail (including attachments, if any) is considered confidential and is intended only for the recipient(s) listed above. Any review, use, disclosure, distribution or copying of this e-mail is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify me immediately by reply e-mail, delete this e-mail, and do not disclose its contents to anyone. Any opinions expressed in this e-mail are those of the individual and not necessarily the GN group. Thank you.
******************** DISCLAIMER END ************************
**** GN GROUP NOTICE - AUTOMATICALLY INSERTED ****
The information in this e-mail (including attachments, if any) is considered confidential and is intended only for the recipient(s) listed above. Any review, use, disclosure, distribution or copying of this e-mail is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify me immediately by reply e-mail, delete this e-mail, and do not disclose its contents to anyone. Any opinions expressed in this e-mail are those of the individual and not necessarily the GN group. Thank you.
******************** DISCLAIMER END ************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120511/07afe2d2/attachment.htm>
More information about the vtkusers
mailing list