<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:5981715;
        mso-list-type:hybrid;
        mso-list-template-ids:-282553234 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:259485989;
        mso-list-type:hybrid;
        mso-list-template-ids:-969105036 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:69.95pt;
        text-indent:-.25in;}
@list l2
        {mso-list-id:1304314678;
        mso-list-type:hybrid;
        mso-list-template-ids:1221251286 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:69.95pt;
        text-indent:-.25in;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoListParagraph style='margin-left:69.95pt;text-indent:-.25in;line-height:150%;mso-list:l1 level1 lfo3;background:white'><![if !supportLists]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>add the .cxx and .h files to the Graphics Library<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:69.95pt;text-indent:-.25in;line-height:150%;mso-list:l1 level1 lfo3;background:white'><![if !supportLists]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>add the line vtkPowerCrustSurfaceReconstruction.cxx to the CMakeLists.txt in the Graphics directory.</span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:69.95pt;text-indent:-.25in;line-height:150%;mso-list:l1 level1 lfo3;background:white'><![if !supportLists]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>If you have VTK 5.8 or later, you do not need to comment out the VTK_GRAPHICS_EXPORT line of the .h file.</span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:69.95pt;text-indent:-.25in;line-height:150%;mso-list:l1 level1 lfo3;background:white'><![if !supportLists]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><span style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>Add vtkinfovis to the Link_Libraries line of the cmakelists file of your project.</span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:69.95pt;text-indent:-.25in;line-height:150%;mso-list:l1 level1 lfo3;background:white'><![if !supportLists]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><span style='mso-list:Ignore'>5.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>Re-build VTK, and  re-build your project with cmake.</span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal style='line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>I was able to get the medial sheet and axis of a polydata shape using the vtkPowerCrustSurfaceReconstruction filter and the vtkDijkstraGraphGeodesicPath filer.<o:p></o:p></span></p><p class=MsoNormal style='line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'>Chris</span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of </b>Bayliss, Chris (Chicago)<br><b>Sent:</b> Friday, May 11, 2012 10:15 AM<br><b>To:</b> Joćo Domingos; vtkusers@vtk.org<br><b>Subject:</b> Re: [vtkusers] medial line extraction<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Joao,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>To my knowledge, the vtkPowerCrustSurfaceReconstruction filter can calculate the medial sheet of a shape.&nbsp; From the medial sheet, the medial axis can be found using vtkDijkstraGraphGeodesicPath.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>The Powercrust filter is not part of the standard VTK release, so you need to add this class to your library.&nbsp; I have not been able to successfully implement the Powercurst filter personaly.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>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.&nbsp; I have found some instructions on the mailing list and on some discussion boards, but so far it has not worked for me.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Chris<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of </b>Joćo Domingos<br><b>Sent:</b> Friday, May 11, 2012 3:21 AM<br><b>To:</b> vtkusers@vtk.org<br><b>Subject:</b> [vtkusers] medial line extraction<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Good morning everyone!<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Currently I find 3D deformable models (meshes)&nbsp;of slightly different shapes&nbsp;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)?<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Many thanks,<o:p></o:p></p></div><div><p class=MsoNormal>Joao<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:gray'>**** GN GROUP NOTICE - AUTOMATICALLY INSERTED **** <br>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. <br>******************** DISCLAIMER END ************************ </span><o:p></o:p></p><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:gray'>**** GN GROUP NOTICE - AUTOMATICALLY INSERTED **** <br>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. <br>******************** DISCLAIMER END ************************ </span><o:p></o:p></p><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:gray'>**** GN GROUP NOTICE - AUTOMATICALLY INSERTED **** <br>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. <br>******************** DISCLAIMER END ************************ </span><o:p></o:p></p></div><DIV>&nbsp;</DIV><BR/><body><font size="2" color="gray" face="calibri">**** GN GROUP NOTICE - AUTOMATICALLY INSERTED **** 
<BR/>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. <BR/>
******************** DISCLAIMER END ************************
 </font></body></body></html>