diff --git a/src/Application/Tools/Algorithm/GrowCutter.h b/src/Application/Tools/Algorithm/GrowCutter.h index e5752bc59..86486d3f3 100644 --- a/src/Application/Tools/Algorithm/GrowCutter.h +++ b/src/Application/Tools/Algorithm/GrowCutter.h @@ -35,7 +35,7 @@ //GrowCut #include -#include "itkFastGrowCut.hxx" +#include "itkFastGrowCut.h" namespace Seg3D { diff --git a/src/Application/Tools/Algorithm/itkFastGrowCut.h b/src/Application/Tools/Algorithm/itkFastGrowCut.h index f5ea1cba8..98506edf6 100644 --- a/src/Application/Tools/Algorithm/itkFastGrowCut.h +++ b/src/Application/Tools/Algorithm/itkFastGrowCut.h @@ -26,8 +26,8 @@ DEALINGS IN THE SOFTWARE. */ -#ifndef ITKFASTGROWCUT_H -#define ITKFASTGROWCUT_H +#ifndef itkFastGrowCut_h +#define itkFastGrowCut_h #include @@ -41,6 +41,7 @@ template class ITK_TEMPLATE_EXPORT FastGrowCut : public ImageToImageFilter { public: + ITK_DISALLOW_COPY_AND_MOVE(FastGrowCut); /** Standard class type aliases. */ using Self = FastGrowCut; @@ -126,4 +127,9 @@ class ITK_TEMPLATE_EXPORT FastGrowCut : public ImageToImageFilter #include "itkFastGrowCut.h" @@ -35,6 +38,7 @@ #include #include #include +#include namespace itk { @@ -140,7 +144,15 @@ template void FastGrowCut::PrintSelf(std::ostream& os, Indent indent) const { - std::cout << "This function has been found." << std::endl; // TODO: add printing of ivars + Superclass::PrintSelf(os, indent); + using namespace itk::print_helper; + os << indent << "InitializationFlag: " << m_InitializationFlag << std::endl; + os << indent << "imSeedVec: " << m_imSeedVec << std::endl; + os << indent << "imLabVec: " << m_imLabVec << std::endl; + os << indent << "imSrcVec: " << m_imSrcVec << std::endl; + os << indent << "imROI: " << m_imROI << std::endl; + os << indent << "FastGC: " << m_fastGC << std::endl; } } +#endif // ifndef itkFastGrowCut_hxx \ No newline at end of file