X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=itk%2FclitkSliceBySliceRelativePositionFilter.h;h=35b3b8d88afefefa7edba6a1b96eeea29637ffc4;hb=70138676c09cc565c9909cb617e900cc11a53269;hp=0da64dc76179a67f10746f2c615d88a627a6e157;hpb=c76f12777dc452f96a762a7f86bfca982010dd46;p=clitk.git diff --git a/itk/clitkSliceBySliceRelativePositionFilter.h b/itk/clitkSliceBySliceRelativePositionFilter.h index 0da64dc..35b3b8d 100644 --- a/itk/clitkSliceBySliceRelativePositionFilter.h +++ b/itk/clitkSliceBySliceRelativePositionFilter.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ #ifndef CLITKSLICEBYSLICERELATIVEPOSITIONFILTER_H #define CLITKSLICEBYSLICERELATIVEPOSITIONFILTER_H @@ -82,6 +82,10 @@ namespace clitk { itkSetMacro(IgnoreEmptySliceObjectFlag, bool); itkBooleanMacro(IgnoreEmptySliceObjectFlag); + itkGetConstMacro(UseASingleObjectConnectedComponentBySliceFlag, bool); + itkSetMacro(UseASingleObjectConnectedComponentBySliceFlag, bool); + itkBooleanMacro(UseASingleObjectConnectedComponentBySliceFlag); + protected: SliceBySliceRelativePositionFilter(); virtual ~SliceBySliceRelativePositionFilter() {} @@ -97,6 +101,7 @@ namespace clitk { bool m_UniqueConnectedComponentBySlice; int m_Direction; bool m_IgnoreEmptySliceObjectFlag; + bool m_UseASingleObjectConnectedComponentBySliceFlag; private: SliceBySliceRelativePositionFilter(const Self&); //purposely not implemented