]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Image/RegionGrow.hxx
5c8b76e01a57852c5ff3ae0afcbbe33eb98b66e2
[FrontAlgorithms.git] / lib / fpa / Image / RegionGrow.hxx
1 #ifndef __fpa__Image__RegionGrow__hxx__
2 #define __fpa__Image__RegionGrow__hxx__
3
4 // -------------------------------------------------------------------------
5 template< class _TInputImage, class _TOutputImage >
6 fpa::Image::RegionGrow< _TInputImage, _TOutputImage >::
7 RegionGrow( )
8   : Superclass( )
9 {
10 }
11
12 // -------------------------------------------------------------------------
13 template< class _TInputImage, class _TOutputImage >
14 fpa::Image::RegionGrow< _TInputImage, _TOutputImage >::
15 ~RegionGrow( )
16 {
17 }
18
19 // -------------------------------------------------------------------------
20 template< class _TInputImage, class _TOutputImage >
21 void fpa::Image::RegionGrow< _TInputImage, _TOutputImage >::
22 _BeforeGenerateData( )
23 {
24   this->m_InitResult = this->m_OutsideValue;
25   this->Superclass::_BeforeGenerateData( );
26   TGrowFunction* grow =
27     dynamic_cast< TGrowFunction* >( this->GetGrowFunction( ) );
28   if( grow != NULL )
29     grow->SetImage( this->GetInput( ) );
30 }
31
32 #endif // __fpa__Image__RegionGrow__hxx__
33
34 // eof - $RCSfile$