19 #ifndef __itkLevelSetContainer_h
20 #define __itkLevelSetContainer_h
38 template<
class TIdentifier,
class TLevelSet >
71 itkStaticConstMacro (
Dimension,
unsigned int, LevelSetType::Dimension );
96 template<
class TIdentifier,
class TImage >
109 itkNewMacro (
Self );
129 itkStaticConstMacro (
Dimension,
unsigned int, LevelSetType::Dimension );
145 void CopyInformationAndAllocate(
const Self * iOther,
const bool & iAllocate )
153 while( it != internalContainer.end() )
162 image->CopyInformation( otherImage );
163 image->SetBufferedRegion( otherImage->GetBufferedRegion() );
164 image->SetRequestedRegion( otherImage->GetRequestedRegion() );
165 image->SetLargestPossibleRegion( otherImage->GetLargestPossibleRegion() );
169 temp_ls->SetImage( image );
170 newContainer[ it->first ] = temp_ls;
175 newContainer[ it->first ] = temp_ls;
194 #endif // __itkLevelSetContainer_h