]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Image/RegionGrow.hxx
b1f5da02b5b775e10b157ed782b7a47cd1a1a71f
[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->Superclass::_BeforeGenerateData( );
25
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$