<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: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";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.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;}
--></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:#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'>Infovis should be added to the cmakelists file of your project, not the cmakelists file of the Graphics folder.  See example below.  You should remove the infovis link in the graphics folder cmakelists file.<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'>PROJECT(your project)<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'>IF(NOT VTK_BINARY_DIR)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>FIND_PACKAGE(VTK REQUIRED)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>IF(NOT VTK_USE_RENDERING)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>  MESSAGE(FATAL_ERROR &quot;Example ${your project} requires VTK_USE_RENDERING.&quot;)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>ENDIF(NOT VTK_USE_RENDERING)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>INCLUDE(${VTK_USE_FILE})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>ENDIF(NOT VTK_BINARY_DIR)<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><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> FIND_PACKAGE(VTK)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> IF(VTK_FOUND)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>   INCLUDE (${USE_VTK_FILE})<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>   LINK_LIBRARIES( vtkHybrid vtkRendering  vtkGraphics vtkImaging vtkIO vtkFiltering vtkCommon </span><b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:red'>vtkInfovis</span></b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>   IF (${VTK_MAJOR_VERSION} GREATER 4)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>      LINK_LIBRARIES( vtkWidgets )<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>   ENDIF (${VTK_MAJOR_VERSION} GREATER 4)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'> ENDIF(VTK_FOUND)<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'>ADD_EXECUTABLE(your project your project.cxx )<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'>TARGET_LINK_LIBRARIES( vtkRendering )<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'>Hopefully this will fix your issue, I did not get the errors you described.  I am not familiar with ubuntu, so I am afraid I cannot comment on any issues that may be specific to that operating system.<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><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><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></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"'> Joćo Domingos [mailto:joao.sousa.domingos@gmail.com] <br><b>Sent:</b> Saturday, May 12, 2012 4:32 AM<br><b>To:</b> Bayliss, Chris (Chicago)<br><b>Subject:</b> Re: [vtkusers] medial line extraction<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Chris,<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Tried to do it again the same way, with a new vtk 5.8 folder, and I got this error (now without python wrapper and shared libraries - which can be set in ccmake - default cmake configuration):<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=MsoNormal>Building CXX object IO/CMakeFiles/vtkIO.dir/vtkRowQueryToTable.cxx.o<o:p></o:p></p></div><div><p class=MsoNormal>[ 54%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkArrayReader.cxx.o<o:p></o:p></p></div><div><p class=MsoNormal>[ 54%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkArrayWriter.cxx.o<o:p></o:p></p></div><div><p class=MsoNormal>[ 54%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkIOInstantiator.cxx.o<o:p></o:p></p></div><div><p class=MsoNormal>Linking CXX static library ../bin/libvtkIO.a<o:p></o:p></p></div><div><p class=MsoNormal>[ 54%] Built target vtkIO<o:p></o:p></p></div><div><p class=MsoNormal>make: *** [all] Error 2<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>What do you think it might be? To build vtk I am considering I do not have to include the folder Infovis in the&nbsp;CMakeLists.txt of the Graphics folder..<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><o:p>&nbsp;</o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On 12 May 2012 09:01, Joćo Domingos &lt;<a href="mailto:joao.sousa.domingos@gmail.com" target="_blank">joao.sousa.domingos@gmail.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal>Dear Chris,<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Thank you for your help. I knew about the filter but I was never able to rebuild VTK with it... and still haven't. I have vtk 5.8 on ubuntu, added the &nbsp;'tkPowerCrustSurfaceReconstruction.cxx' right after the line 'SET( Kit_SRCS' in the&nbsp;CMakeLists.txt. When I do sudo make install (after cmake) the following error appears:<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:1341:55: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:1341:55: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:1341:55: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:1341:55: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:1341:55: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx: In function &#8216;void adapted_main()&#8217;:<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:1554:66: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx: In function &#8216;simplex* build_convex_hull(Coord* (*)(), long int (*)(site), short int, short int)&#8217;:<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:4099:25: warning: deprecated conversion from string constant to &#8216;char*&#8217; [-Wwrite-strings]<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx: At global scope:<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:11404:46: error: declaration of &#8216;double erand48(short unsigned int*)&#8217; has a different exception specifier<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:11328:8: error: from previous declaration &#8216;double erand48(short unsigned int*) throw ()&#8217;<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx: In function &#8216;double erand48(short unsigned int*)&#8217;:<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:11430:32: error: declaration of &#8216;double erand48(short unsigned int*)&#8217; has a different exception specifier<o:p></o:p></p></div><div><p class=MsoNormal>/opt/VTK/Graphics/vtkPowerCrustSurfaceReconstruction.cxx:11404:15: error: from previous declaration &#8216;double erand48(short unsigned int*) throw ()&#8217;<o:p></o:p></p></div><div><p class=MsoNormal>make[2]: *** [Graphics/CMakeFiles/vtkGraphics.dir/vtkPowerCrustSurfaceReconstruction.cxx.o] Error 1<o:p></o:p></p></div><div><p class=MsoNormal>make[1]: *** [Graphics/CMakeFiles/vtkGraphics.dir/all] Error 2<o:p></o:p></p></div><div><p class=MsoNormal>make: *** [all] Error 2<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Did you have this error?<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Your help is much appreciated!<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Joao<o:p></o:p></p></div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>&nbsp;<o:p></o:p></p><div><p class=MsoNormal>On 11 May 2012 19:33, Bayliss, Chris (Chicago) &lt;<a href="mailto:cbayliss@gnresound.com" target="_blank">cbayliss@gnresound.com</a>&gt; wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif"'>I was able to resolve my issue with the vtkPowerCrustSurfaceReconstruction Filter.&nbsp; Following these steps suggested by Tim Hutton, in combination with linking vtkinfovis in the cmakelists file of my project fixed the problem.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p style='margin-left:69.95pt;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>1.</span><span style='font-size:7.0pt;line-height:150%'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>add the .cxx and .h files to the Graphics Library</span><o:p></o:p></p><p style='margin-left:69.95pt;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>2.</span><span style='font-size:7.0pt;line-height:150%'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>add the line vtkPowerCrustSurfaceReconstruction.cxx to the CMakeLists.txt in the Graphics directory.</span><o:p></o:p></p><p style='margin-left:69.95pt;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>3.</span><span style='font-size:7.0pt;line-height:150%'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>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><o:p></o:p></p><p style='margin-left:69.95pt;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>4.</span><span style='font-size:7.0pt;line-height:150%'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>Add vtkinfovis to the Link_Libraries line of the cmakelists file of your project.</span><o:p></o:p></p><p style='margin-left:69.95pt;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>5.</span><span style='font-size:7.0pt;line-height:150%'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>Re-build VTK, and&nbsp; re-build your project with cmake.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>I was able to get the medial sheet and axis of a polydata shape using the vtkPowerCrustSurfaceReconstruction filter and the vtkDijkstraGraphGeodesicPath filer.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:150%;background:white'><span style='font-size:11.0pt;line-height:150%;font-family:"Arial","sans-serif"'>Chris</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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"'> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <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; <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> Re: [vtkusers] medial line extraction</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Joao,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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; </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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; </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Regards,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Chris</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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"'> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <b>On Behalf Of </b>Joćo Domingos<br><b>Sent:</b> Friday, May 11, 2012 3:21 AM<br><b>To:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Subject:</b> [vtkusers] medial line extraction</span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Good morning everyone!<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Many thanks,<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Joao<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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></div><div><div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><span style='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></div></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div><p class=MsoNormal><o:p>&nbsp;</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><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>