]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/SingleSeedInterface.hxx
...
[FrontAlgorithms.git] / lib / fpa / Base / SingleSeedInterface.hxx
index c669618552e7b66eaaec344aac06f2cda44d5e52..63cc629284b923acb1072e733b94128e2d238dc2 100644 (file)
@@ -7,31 +7,26 @@
 #define __fpa__Base__SingleSeedInterface__hxx__
 
 // -------------------------------------------------------------------------
-template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare >
-typename
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
-TSeeds&
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
+template< class _TTraits >
+typename fpa::Base::SingleSeedInterface< _TTraits >::
+TSeeds& fpa::Base::SingleSeedInterface< _TTraits >::
 GetSeeds( )
 {
   return( this->m_Seeds );
 }
 
 // -------------------------------------------------------------------------
-template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare >
-const typename
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
-TSeeds&
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
+template< class _TTraits >
+const typename fpa::Base::SingleSeedInterface< _TTraits >::
+TSeeds& fpa::Base::SingleSeedInterface< _TTraits >::
 GetSeeds( ) const
 {
   return( this->m_Seeds );
 }
 
 // -------------------------------------------------------------------------
-template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare >
-void
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
+template< class _TTraits >
+void fpa::Base::SingleSeedInterface< _TTraits >::
 SetSeed( const TVertex& seed )
 {
   TSeed s;
@@ -43,9 +38,8 @@ SetSeed( const TVertex& seed )
 }
 
 // -------------------------------------------------------------------------
-template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare >
-void
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
+template< class _TTraits >
+void fpa::Base::SingleSeedInterface< _TTraits >::
 SetSeed( const TPoint& seed )
 {
   TSeed s;
@@ -57,8 +51,8 @@ SetSeed( const TPoint& seed )
 }
 
 // -------------------------------------------------------------------------
-template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare >
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
+template< class _TTraits >
+fpa::Base::SingleSeedInterface< _TTraits >::
 SingleSeedInterface( itk::ProcessObject* filter )
   : m_Filter( filter )
 {
@@ -66,8 +60,8 @@ SingleSeedInterface( itk::ProcessObject* filter )
 }
 
 // -------------------------------------------------------------------------
-template< class _TVertex, class _TPoint, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare >
-fpa::Base::SingleSeedInterface< _TVertex, _TPoint, _TInputValue, _TOutputValue, _TFrontId, _TCompare >::
+template< class _TTraits >
+fpa::Base::SingleSeedInterface< _TTraits >::
 ~SingleSeedInterface( )
 {
   this->m_Seeds.clear( );