diff --git a/Code/IO/otbImage.h b/Code/IO/otbImage.h index 7a751a27a75419d72455732990f1088c977bfd11..7f2169aa4e1bc6ccee2a678515066f53513183d2 100755 --- a/Code/IO/otbImage.h +++ b/Code/IO/otbImage.h @@ -169,7 +169,7 @@ public: virtual VectorType GetLowerLeftCorner( void ); virtual VectorType GetLowerRightCorner( void ); - void PrintSelf(std::ostream& os, Indent indent) const; + void PrintSelf(std::ostream& os, itk::Indent indent) const; protected: Image(); diff --git a/Code/IO/otbImage.txx b/Code/IO/otbImage.txx index 0c3c4c083cae0f372f3c204daf7b351ae2de5570..92730235bbec9853afb4cf353079adeb29a61104 100755 --- a/Code/IO/otbImage.txx +++ b/Code/IO/otbImage.txx @@ -130,7 +130,7 @@ ImageBase::VectorType Image<TPixel, VImageDimension>::GetLowerRightCorner( void template <class TPixel, unsigned int VImageDimension> void -Image<TPixel, VImageDimension>::PrintSelf(std::ostream& os, Indent indent) const +Image<TPixel, VImageDimension>::PrintSelf(std::ostream& os, itk::Indent indent) const { Superclass::PrintSelf(os,indent); diff --git a/Code/IO/otbImageBase.h b/Code/IO/otbImageBase.h index bcbed9f464b784b69369f24b387229e4670b74d1..64fca2ad18396aba05d5ddb19f8fa7bb3d3f119a 100755 --- a/Code/IO/otbImageBase.h +++ b/Code/IO/otbImageBase.h @@ -46,8 +46,6 @@ public: typedef MetaDataKey::VectorType VectorType; - typedef itk::Indent Indent; - /** Get the projection coordinate system of the image. */ std::string GetProjectionRef( MetaDataDictionaryType & dict ); @@ -104,7 +102,7 @@ public: VectorType GetLowerRightCorner( MetaDataDictionaryType & dict ); virtual VectorType GetLowerRightCorner() = 0; - void PrintSelf(std::ostream& os, Indent indent, const MetaDataDictionaryType & dict) const; + void PrintSelf(std::ostream& os, itk::Indent indent, const MetaDataDictionaryType & dict) const; protected: