- this->Superclass::_InitResults( );
- this->m_GrowingFunction->SetSpace( this->GetInput( ) );
- this->GetOutput( )->FillBuffer( this->m_OutsideValue );
+ this->Superclass::_BeforeGenerateData( );
+
+ TGrowFunction* grow =
+ dynamic_cast< TGrowFunction* >( this->GetGrowFunction( ) );
+ if( grow != NULL )
+ grow->SetImage( this->GetInput( ) );