return( ( inside )? this->m_InsideValue: this->m_InitValue );
}
-// -------------------------------------------------------------------------
-template< class _TAlgorithm >
-void fpa::Base::RegionGrow< _TAlgorithm >::
-_QueueInit( )
-{
- typedef typename Superclass::TSeedsInterface::TSeeds::iterator _TIt;
-
- this->Superclass::_QueueInit( );
- for( _TIt sIt = this->BeginSeeds( ); sIt != this->EndSeeds( ); ++sIt )
- sIt->Value = this->m_InsideValue;
-}
-
// -------------------------------------------------------------------------
template< class _TAlgorithm >
void fpa::Base::RegionGrow< _TAlgorithm >::
return( this->m_Queue.size( ) );
}
+// -------------------------------------------------------------------------
+template< class _TAlgorithm >
+void fpa::Base::RegionGrow< _TAlgorithm >::
+_PrepareSeeds( TNodes& nodes )
+{
+ typename TNodes::iterator nIt = nodes.begin( );
+ for( ; nIt != nodes.end( ); ++nIt )
+ nIt->Value = this->m_InsideValue;
+}
+
#endif // __fpa__Base__RegionGrow__hxx__
// eof - $RCSfile$