[Insight-developers] build error in BorderQuadEdgeMeshFilter

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Feb 25 15:30:49 EST 2011


Alex, Arnaud,

I fixed some build errors in itkBorderQuadEdgeMeshFilter.txx, in  
ComputeLargestBorder() and ComputeLongestBorder(), but one of them is  
beyond my skills.
I have simply commented the two offending lines for now to make  
WrapITK build.

Could you please look at that problem?

Thanks,

Gaëtan




diff --git a/Code/Algorithms/itkBorderQuadEdgeMeshFilter.txx b/Code/ 
Algorithms/itkBorderQuadEdgeMeshFilter.txx
index 9972732..429a28e 100644
--- a/Code/Algorithms/itkBorderQuadEdgeMeshFilter.txx
+++ b/Code/Algorithms/itkBorderQuadEdgeMeshFilter.txx
@@ -106,12 +106,12 @@ BorderQuadEdgeMeshFilter< TInputMesh,  
TOutputMesh >::ComputeLongestBorder()
      {
      length = 0.;

-    for ( InputIteratorGeom e_it = b_it->BeginGeomLnext();
-          e_it != b_it->EndGeomLnext();
+    for ( InputIteratorGeom e_it = (*b_it)->BeginGeomLnext();
+          e_it != (*b_it)->EndGeomLnext();
            ++e_it )
        {
-      length += e_it->GetOrigin().EuclideanDistanceTo(
-        e_it->GetDestinationination() );
+//      length += e_it->GetOrigin().EuclideanDistanceTo(
+//        e_it->GetDestinationination() );
        }
      if ( length > max_length )
        {


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110225/ec8ea220/attachment.pgp>


More information about the Insight-developers mailing list