[Insight-developers] Re: itkConstSmartNeighborhoodIterator.h

Joshua Cates cates@cs.utah.edu
Thu, 11 Oct 2001 13:33:18 -0600 (MDT)


Hi Bill,

This is very strange.  As far as I can tell from the cvs repository, line
153 in itkConstSmartNeighborhoodIterator.h has always read:

  const BoundaryConditionType &GetBoundaryCondition() const

which should be correct.   

I suspect that your local copy of this file has somehow gotten changed?

Thanks,

Josh.
______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@cs.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates


On Wed, 10 Oct 2001, Lorensen, William E (CRD) wrote:

> Josh,
> 
> Subject class has the following errors:
> 
> cc-1020 CC: ERROR File = /home/lorensen/Insight/Code/Common/itkConstSmartNeighborhoodIterator.h, Line
> = 153
>   The identifier "ImageBoundaryConditionType" is undefined.
> 
>     const ImageBoundaryConditionType &GetBoundaryCondition() const
>           ^
> 
> cc-1020 CC: ERROR File = /home/lorensen/Insight/Code/Common/itkConstSmartNeighborhoodIterator.h, Line
> = 153
>   The identifier "ImageBoundaryConditionType" is undefined.
> 
>     const ImageBoundaryConditionType &GetBoundaryCondition() const
>           ^
>           A template was detected during header processing.
>             instantiation of class
>                       "itk::ConstSmartNeighborhoodIterator<itk::Image<int, 2U,
>                       itk::DefaultImageTraits<int, 2U,
>                       itk::ValarrayImageContainer<unsigned long, int>>>,
>                       itk::ZeroFluxNeumannBoundaryCondition<itk::Image<int,
>                       2U, itk::DefaultImageTraits<int, 2U,
>                       itk::ValarrayImageContainer<unsigned long, int>>>>>" at
>                       line 127 of
>                       "/home/lorensen/Insight/Code/Common/itkSmartNeighborhoodI
>                       terator.h"
>             instantiation of class
>                       "itk::SmartNeighborhoodIterator<itk::Image<int, 2U,
>                       itk::DefaultImageTraits<int, 2U,
>                       itk::ValarrayImageContainer<unsigned long, int>>>,
>                       itk::ZeroFluxNeumannBoundaryCondition<itk::Image<int,
>                       2U, itk::DefaultImageTraits<int, 2U,
>                       itk::ValarrayImageContainer<unsigned long, int>>>>>" at
>                       line 187 of
>                       "/home/lorensen/Insight/Testing/Code/Common/itkSliceItera
>                       torTest.cxx"
> 
>