[Insight-developers] build error in BorderQuadEdgeMeshFilter

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Feb 25 18:08:48 EST 2011


Le 25 févr. 11 à 22:23, Arnaud GELAS a écrit :

> Gaetan,
>
> Can you just submit an experimental build with the new error please?
>
> Then I'll look at it!
>

The errors are visible at http://www.cdash.org/CDash/viewBuildError.php?buildid=878698

> ---
>
> my guess is that if you replace:
>
>    e_it->GetOrigin().EuclideanDistanceTo(    by     e_it.Value()- 
> >GetOrigin().EuclideanDistanceTo(
>
> and
>
>    e_it->GetDestinationination()         by     e_it.Value()- 
> >GetDestination()
>
>
> it would fix this error...

I'll try tomorrow!

Gaëtan



>
> Arnaud
>
> On 02/25/2011 03:30 PM, Gaëtan Lehmann wrote:
>>
>> 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/20110226/5abd3ccc/attachment.pgp>


More information about the Insight-developers mailing list